variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, ts, reading, type
Sensor: rainfall | fields: depth, ts, qc, type
Task: Fetch level from drought_index where reading is greater than the average of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039400 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, ts, lat, qc
Sensor: rainfall | fields: value, type, unit, level
Task: Retrieve value from visibility that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"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
} | sensor_fixed_v1_train_039401 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, type, reading, unit
Sensor: uv_index | fields: depth, reading, lat, level
Task: Retrieve reading from frost with depth above the AVG(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039402 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, reading, level, ts
Sensor: sunlight | fields: reading, depth, lon, level
Task: Retrieve level from cloud_cover whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"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
} | sensor_fixed_v1_train_039403 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, unit, value
Sensor: evaporation | fields: depth, unit, level, lon
Task: Get level from cloud_cover where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"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
} | sensor_fixed_v1_train_039404 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lon, type, ts, lat
Sensor: cloud_cover | fields: value, qc, reading, unit
Task: Retrieve lat from visibility with depth above the COUNT(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039405 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, lat, type, level
Sensor: humidity | fields: unit, qc, depth, type
Task: Get level from evaporation where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"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
} | sensor_fixed_v1_train_039406 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, reading, level, type
Sensor: temperature | fields: value, depth, type, level
Task: Fetch reading from sunlight where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039407 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, unit, value, ts
Sensor: lightning | fields: type, depth, reading, qc
Task: Get lat from dew_point where reading exceeds the minimum depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039408 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, unit, ts, value
Sensor: cloud_cover | fields: reading, value, depth, ts
Task: Retrieve lon from uv_index whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039409 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, reading, depth, unit
Sensor: pressure | fields: ts, level, qc, lat
Task: Get reading from drought_index where reading exceeds the minimum value from pressure for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039410 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, reading, lon, depth
Sensor: wind_speed | fields: unit, type, qc, value
Task: Retrieve value from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_039411 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, reading, unit, lat
Sensor: wind_speed | fields: depth, ts, level, lon
Task: Fetch lat from sunlight where qc exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039412 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, unit, value, level
Sensor: dew_point | fields: lat, value, ts, depth
Task: Retrieve value from air_quality whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039413 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, level, lon, type
Sensor: visibility | fields: ts, value, type, depth
Task: Retrieve level from wind_speed that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039414 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, unit, ts, level
Sensor: evaporation | fields: ts, reading, unit, depth
Task: Fetch reading from drought_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"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
} | sensor_fixed_v1_train_039415 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, value, qc, reading
Sensor: sunlight | fields: ts, value, depth, qc
Task: Fetch value from humidity where value is greater than the average of reading in sunlight for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039416 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: depth, value, lon, lat
Sensor: air_quality | fields: value, ts, reading, level
Task: Get reading from visibility where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"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
} | sensor_fixed_v1_train_039417 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, ts, unit, lon
Sensor: frost | fields: type, unit, qc, value
Task: Retrieve level from wind_speed whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039418 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: reading, type, qc, value
Sensor: dew_point | fields: unit, lon, lat, level
Task: Fetch reading from turbidity where type exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039419 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, qc, depth, lat
Sensor: turbidity | fields: ts, qc, reading, value
Task: Retrieve lon from uv_index whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"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
} | sensor_fixed_v1_train_039420 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, level, qc, reading
Sensor: frost | fields: reading, type, lat, value
Task: Retrieve reading from visibility whose depth is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039421 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, ts, type, value
Sensor: visibility | fields: lat, unit, type, value
Task: Retrieve lon from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"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
} | sensor_fixed_v1_train_039422 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, ts, reading, lat
Sensor: snow_depth | fields: depth, type, value, qc
Task: Retrieve level from visibility whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"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
} | sensor_fixed_v1_train_039423 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, level, reading, depth
Sensor: evaporation | fields: qc, lat, level, ts
Task: Retrieve value from cloud_cover whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039424 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, unit, lon, value
Sensor: air_quality | fields: reading, depth, qc, value
Task: Get reading from lightning where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039425 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, value, qc, depth
Sensor: visibility | fields: depth, level, lat, value
Task: Get reading from uv_index where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039426 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, depth, reading, level
Sensor: temperature | fields: qc, reading, ts, unit
Task: Retrieve reading from dew_point that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"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
} | sensor_fixed_v1_train_039427 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, depth, lat, ts
Sensor: pressure | fields: value, lon, type, ts
Task: Get lat from visibility where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039428 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, type, lon, unit
Sensor: air_quality | fields: depth, lon, qc, unit
Task: Fetch lon from drought_index where depth is greater than the minimum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039429 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, depth, reading, type
Sensor: soil_moisture | fields: level, depth, value, ts
Task: Get value from dew_point where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039430 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, level, lon, unit
Sensor: humidity | fields: value, reading, ts, lat
Task: Get value from lightning where reading exceeds the average reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039431 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: reading, lat, lon, qc
Sensor: rainfall | fields: value, type, lat, level
Task: Fetch reading from visibility where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039432 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: depth, type, value, ts
Sensor: lightning | fields: level, ts, unit, lon
Task: Get depth from uv_index where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039433 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, reading, lon, unit
Sensor: soil_moisture | fields: unit, ts, type, qc
Task: Fetch depth from snow_depth where depth is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039434 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, unit, depth, qc
Sensor: humidity | fields: lat, depth, reading, type
Task: Fetch lon from snow_depth where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039435 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, ts, lon, unit
Sensor: cloud_cover | fields: qc, unit, level, lon
Task: Fetch lat from turbidity that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"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
} | sensor_fixed_v1_train_039436 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, reading, value, lon
Sensor: temperature | fields: type, depth, level, value
Task: Get depth from wind_speed where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"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
} | sensor_fixed_v1_train_039437 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, lat, unit, reading
Sensor: visibility | fields: depth, lon, reading, qc
Task: Get lon from snow_depth where value exceeds the count of value from visibility for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039438 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, reading, qc, lon
Sensor: drought_index | fields: depth, lat, ts, reading
Task: Fetch level from turbidity where depth is greater than the maximum of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039439 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, depth, ts, type
Sensor: frost | fields: unit, reading, level, depth
Task: Get lat from sunlight where depth appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039440 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: level, type, lat, lon
Sensor: dew_point | fields: level, lat, qc, value
Task: Get level from temperature where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039441 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, reading, level, type
Sensor: uv_index | fields: level, unit, lon, lat
Task: Retrieve reading from turbidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"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
} | sensor_fixed_v1_train_039442 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, lat, type, qc
Sensor: sunlight | fields: ts, level, qc, lon
Task: Get lon from humidity where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039443 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: type, depth, unit, lon
Sensor: pressure | fields: unit, lon, ts, reading
Task: Fetch reading from dew_point where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"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
} | sensor_fixed_v1_train_039444 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, ts, value, lon
Sensor: air_quality | fields: reading, level, type, lat
Task: Retrieve value from frost that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039445 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lat, ts, unit
Sensor: frost | fields: value, type, depth, level
Task: Get value from snow_depth where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"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
} | sensor_fixed_v1_train_039446 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, ts, qc, level
Sensor: uv_index | fields: unit, lon, type, depth
Task: Fetch lat from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039447 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, ts, unit, qc
Sensor: snow_depth | fields: lon, depth, reading, value
Task: Retrieve value from rainfall that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_039448 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, type, lat, level
Sensor: snow_depth | fields: ts, unit, level, depth
Task: Retrieve reading from air_quality that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039449 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, lat, value, qc
Sensor: lightning | fields: level, depth, lat, lon
Task: Fetch lon from temperature that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"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
} | sensor_fixed_v1_train_039450 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, reading, level, value
Sensor: drought_index | fields: lon, reading, ts, value
Task: Retrieve reading from uv_index whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039451 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, value, ts, type
Sensor: frost | fields: value, depth, lon, ts
Task: Get value from sunlight where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"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
} | sensor_fixed_v1_train_039452 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: level, lat, type, unit
Sensor: uv_index | fields: type, lon, reading, unit
Task: Get level from wind_speed where reading exceeds the minimum reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"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
} | sensor_fixed_v1_train_039453 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: qc, reading, ts, value
Sensor: drought_index | fields: lat, ts, qc, unit
Task: Retrieve lat from sunlight with value above the MAX(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039454 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, reading, depth, lon
Sensor: visibility | fields: ts, lon, depth, qc
Task: Get lon from frost where reading exceeds the average value from visibility for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039455 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lon, unit, depth, qc
Sensor: dew_point | fields: type, reading, ts, lat
Task: Fetch depth from uv_index that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039456 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: unit, type, lat, value
Sensor: cloud_cover | fields: lon, value, reading, unit
Task: Get reading from drought_index where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039457 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, depth, lon, type
Sensor: turbidity | fields: value, qc, type, depth
Task: Fetch lon from air_quality where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039458 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, type, lat, value
Sensor: air_quality | fields: unit, lat, qc, level
Task: Retrieve value from cloud_cover whose unit is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039459 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lat, lon, level, unit
Sensor: evaporation | fields: depth, lon, lat, unit
Task: Retrieve value from temperature with value above the SUM(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"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
} | sensor_fixed_v1_train_039460 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, ts, value, lat
Sensor: sunlight | fields: value, ts, lon, qc
Task: Retrieve lat from lightning whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039461 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, depth, type, reading
Sensor: dew_point | fields: value, qc, reading, depth
Task: Fetch depth from turbidity that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"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
} | sensor_fixed_v1_train_039462 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, qc, reading, lat
Sensor: pressure | fields: lat, reading, level, qc
Task: Retrieve reading from wind_speed whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"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
} | sensor_fixed_v1_train_039463 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: value, qc, ts, reading
Sensor: wind_speed | fields: type, ts, lon, value
Task: Retrieve level from visibility with value above the MIN(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039464 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, value, ts, qc
Sensor: sunlight | fields: lat, reading, unit, value
Task: Retrieve level from snow_depth that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039465 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, level, unit, qc
Sensor: turbidity | fields: value, lat, depth, qc
Task: Get reading from lightning where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039466 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, value, level, depth
Sensor: drought_index | fields: unit, value, lat, depth
Task: Fetch value from snow_depth where reading is greater than the total of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039467 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, type, qc, value
Sensor: sunlight | fields: type, reading, unit, qc
Task: Get depth from pressure where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039468 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: value, level, qc, reading
Sensor: pressure | fields: ts, lat, reading, level
Task: Get lon from wind_speed where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039469 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: level, lat, depth, type
Sensor: rainfall | fields: depth, reading, unit, lon
Task: Fetch depth from pressure where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039470 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, level, reading, ts
Sensor: temperature | fields: reading, value, lon, level
Task: Get lon from turbidity where depth exceeds the maximum value from temperature for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039471 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, value, lon, depth
Sensor: turbidity | fields: depth, qc, unit, level
Task: Get reading from drought_index where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"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
} | sensor_fixed_v1_train_039472 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: depth, lat, reading, type
Sensor: cloud_cover | fields: depth, reading, type, qc
Task: Get reading from temperature where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"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
} | sensor_fixed_v1_train_039473 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: level, depth, reading, lon
Sensor: pressure | fields: qc, unit, reading, type
Task: Fetch reading from turbidity where depth is greater than the average of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039474 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, qc, level, unit
Sensor: air_quality | fields: depth, value, ts, lon
Task: Retrieve value from humidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"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
} | sensor_fixed_v1_train_039475 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, lon, unit, reading
Sensor: rainfall | fields: qc, ts, reading, depth
Task: Fetch level from soil_moisture that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"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
} | sensor_fixed_v1_train_039476 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lat, type, depth
Sensor: drought_index | fields: type, qc, lat, unit
Task: Fetch depth from soil_moisture that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"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
} | sensor_fixed_v1_train_039477 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lon, depth, lat
Sensor: rainfall | fields: lon, type, level, value
Task: Retrieve value from snow_depth that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"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
} | sensor_fixed_v1_train_039478 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: value, ts, lon, reading
Sensor: soil_moisture | fields: ts, value, type, lat
Task: Get reading from temperature where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039479 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, ts, lon, reading
Sensor: pressure | fields: level, unit, lat, type
Task: Fetch reading from uv_index where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039480 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, value, reading, type
Sensor: wind_speed | fields: reading, value, qc, ts
Task: Get level from drought_index where depth exceeds the count of reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"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
} | sensor_fixed_v1_train_039481 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, ts, type
Sensor: evaporation | fields: depth, lon, lat, reading
Task: Get depth from dew_point where value exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"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
} | sensor_fixed_v1_train_039482 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: ts, lat, qc, unit
Sensor: cloud_cover | fields: lat, unit, qc, lon
Task: Get depth from turbidity where depth exceeds the count of reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039483 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, ts, reading, lat
Sensor: frost | fields: level, unit, value, lon
Task: Fetch lon from snow_depth where depth is greater than the average of value in frost for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039484 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, value, level
Sensor: drought_index | fields: reading, qc, unit, type
Task: Get lat from pressure where value exceeds the average reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039485 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lat, level, reading
Sensor: turbidity | fields: type, reading, level, lat
Task: Fetch lon from evaporation where value is greater than the maximum of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"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
} | sensor_fixed_v1_train_039486 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, ts, qc, unit
Sensor: sunlight | fields: qc, depth, lon, lat
Task: Retrieve depth from pressure with value above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"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
} | sensor_fixed_v1_train_039487 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, lon, ts
Sensor: lightning | fields: ts, level, reading, type
Task: Retrieve reading from uv_index whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039488 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, lon, type, depth
Sensor: humidity | fields: reading, ts, type, lat
Task: Retrieve level from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039489 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, reading, lat, type
Sensor: soil_moisture | fields: ts, lat, type, unit
Task: Get level from temperature where value exceeds the minimum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039490 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, lat, type, reading
Sensor: visibility | fields: lon, ts, unit, qc
Task: Fetch lon from soil_moisture that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039491 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: value, type, ts, depth
Sensor: snow_depth | fields: lon, depth, reading, level
Task: Retrieve depth from dew_point whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039492 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, lat, qc, depth
Sensor: pressure | fields: lat, lon, type, depth
Task: Fetch reading from drought_index where reading is greater than the average of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039493 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, ts, level, lon
Sensor: soil_moisture | fields: value, qc, reading, ts
Task: Retrieve lon from temperature whose depth is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039494 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lat, unit, reading
Sensor: uv_index | fields: lat, level, type, unit
Task: Get depth from rainfall where value exceeds the count of value from uv_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039495 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, level, lat, value
Sensor: drought_index | fields: value, unit, reading, type
Task: Get value from wind_speed where qc appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"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
} | sensor_fixed_v1_train_039496 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, reading, lon, unit
Sensor: pressure | fields: depth, qc, lat, level
Task: Retrieve lat from temperature with depth above the MAX(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039497 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, reading, level, type
Sensor: soil_moisture | fields: lon, qc, value, type
Task: Retrieve lon from sunlight whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039498 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, depth, lat
Sensor: uv_index | fields: lon, reading, type, value
Task: Retrieve depth from snow_depth with value above the AVG(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.