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: pressure | code: gst | fields: lat, unit, level, reading
Sensor: humidity | fields: lat, type, lon, qc
Task: Fetch depth from pressure where value is greater than the maximum of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061400 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, ts, qc, type
Sensor: rainfall | fields: ts, reading, qc, unit
Task: Get lon from snow_depth where value exceeds the total value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061401 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: reading, unit, ts, lat
Sensor: turbidity | fields: level, type, unit, reading
Task: Get reading from pressure where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061402 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lat, reading, level
Sensor: turbidity | fields: ts, reading, lat, level
Task: Get value from wind_speed where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061403 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lon, ts, lat, value
Sensor: soil_moisture | fields: value, type, reading, ts
Task: Retrieve reading from temperature with reading above the AVG(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061404 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, depth, lon, lat
Sensor: humidity | fields: value, type, qc, lat
Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_061405 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, lon, ts, type
Sensor: temperature | fields: reading, ts, level, type
Task: Retrieve level from humidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"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
} | sensor_fixed_v1_train_061406 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, ts, depth, unit
Sensor: drought_index | fields: qc, lon, level, reading
Task: Get lon from dew_point where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061407 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, depth, unit, type
Sensor: pressure | fields: unit, ts, value, lon
Task: Get level from uv_index where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061408 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, ts, level, qc
Sensor: wind_speed | fields: depth, level, reading, unit
Task: Get reading from lightning where reading exceeds the count of value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061409 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, reading, lon
Sensor: visibility | fields: value, ts, reading, depth
Task: Retrieve reading from temperature that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061410 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, reading, depth, lat
Sensor: rainfall | fields: unit, level, qc, reading
Task: Get depth from evaporation where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"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
} | sensor_fixed_v1_train_061411 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, lon, unit, type
Sensor: rainfall | fields: depth, reading, ts, qc
Task: Get level from dew_point where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061412 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, ts, type, level
Sensor: frost | fields: level, type, value, qc
Task: Retrieve value from humidity with value above the MIN(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"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
} | sensor_fixed_v1_train_061413 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, qc, level, unit
Sensor: lightning | fields: value, lon, depth, lat
Task: Get reading from frost where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"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
} | sensor_fixed_v1_train_061414 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, unit, value, level
Sensor: visibility | fields: reading, qc, lat, lon
Task: Retrieve lon from uv_index whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"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
} | sensor_fixed_v1_train_061415 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, qc, lon, reading
Sensor: temperature | fields: value, level, lat, unit
Task: Get value from wind_speed where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"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
} | sensor_fixed_v1_train_061416 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, qc, ts, lat
Sensor: wind_speed | fields: depth, reading, unit, lon
Task: Retrieve lon from visibility with depth above the MAX(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061417 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, type, qc, unit
Sensor: cloud_cover | fields: unit, lat, reading, qc
Task: Fetch lat from evaporation that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061418 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, lat, qc, depth
Sensor: frost | fields: ts, depth, value, type
Task: Retrieve level from evaporation that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"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
} | sensor_fixed_v1_train_061419 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, unit, type, lat
Sensor: humidity | fields: type, unit, qc, value
Task: Retrieve lat from soil_moisture whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"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
} | sensor_fixed_v1_train_061420 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, level, lon, value
Sensor: humidity | fields: unit, reading, type, lat
Task: Get reading from drought_index where depth exceeds the count of reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061421 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, reading, type, value
Sensor: air_quality | fields: unit, type, reading, level
Task: Retrieve level from pressure with depth above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061422 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, reading, level, lon
Sensor: evaporation | fields: unit, ts, lon, level
Task: Fetch depth from frost that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"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
} | sensor_fixed_v1_train_061423 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, ts, type, qc
Sensor: pressure | fields: reading, lat, level, lon
Task: Fetch reading from visibility where reading is greater than the average of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"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
} | sensor_fixed_v1_train_061424 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, lat, value, reading
Sensor: wind_speed | fields: lon, unit, value, depth
Task: Retrieve value from cloud_cover that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061425 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, depth, lat, type
Sensor: temperature | fields: ts, unit, value, depth
Task: Get lat from pressure where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"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
} | sensor_fixed_v1_train_061426 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, lat, depth, level
Sensor: uv_index | fields: reading, unit, lat, ts
Task: Get value from drought_index where value exceeds the average depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061427 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, unit, ts, qc
Sensor: dew_point | fields: qc, level, reading, depth
Task: Retrieve lat from evaporation whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061428 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, type, unit, level
Sensor: cloud_cover | fields: depth, lat, unit, level
Task: Get reading from temperature where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061429 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lat, qc, lon, ts
Sensor: frost | fields: reading, type, value, lat
Task: Fetch depth from dew_point where unit exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061430 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, lon, type, qc
Sensor: humidity | fields: reading, depth, type, value
Task: Fetch lat from soil_moisture where value is greater than the average of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"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
} | sensor_fixed_v1_train_061431 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, value, type
Sensor: air_quality | fields: reading, unit, qc, depth
Task: Retrieve reading from snow_depth whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061432 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, lon, lat, qc
Sensor: soil_moisture | fields: lat, type, reading, value
Task: Fetch depth from rainfall that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_061433 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, qc, depth, type
Sensor: drought_index | fields: qc, unit, value, lon
Task: Retrieve lon from pressure with reading above the AVG(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061434 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, type, unit, lon
Sensor: snow_depth | fields: unit, lon, depth, ts
Task: Fetch lon from pressure where value is greater than the average of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061435 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, qc, unit, value
Sensor: cloud_cover | fields: lon, qc, lat, reading
Task: Get lon from snow_depth where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061436 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, ts, qc, depth
Sensor: temperature | fields: value, lon, qc, depth
Task: Retrieve level from lightning whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061437 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, type, value, depth
Sensor: frost | fields: qc, unit, type, value
Task: Get level from lightning where depth exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061438 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, reading, level, unit
Sensor: evaporation | fields: unit, qc, depth, type
Task: Get lon from wind_speed where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061439 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, ts, lon, type
Sensor: turbidity | fields: lon, unit, level, ts
Task: Get lon from drought_index where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"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
} | sensor_fixed_v1_train_061440 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, type, ts, lon
Sensor: soil_moisture | fields: reading, lon, unit, type
Task: Retrieve depth from cloud_cover with depth above the MAX(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061441 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, qc, ts, reading
Sensor: evaporation | fields: qc, ts, type, lon
Task: Get depth from turbidity where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061442 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, qc, ts, depth
Sensor: sunlight | fields: depth, lon, type, value
Task: Get lon from pressure where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"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
} | sensor_fixed_v1_train_061443 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, depth, ts, unit
Sensor: temperature | fields: ts, qc, unit, level
Task: Get lat from drought_index where value exceeds the average value from temperature for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061444 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, unit, type, lat
Sensor: sunlight | fields: reading, lat, type, depth
Task: Fetch lon from evaporation where depth is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061445 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, value, unit, lat
Sensor: soil_moisture | fields: value, level, qc, depth
Task: Get lat from turbidity where qc appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061446 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, level, depth, value
Sensor: soil_moisture | fields: lon, unit, level, ts
Task: Fetch level from cloud_cover where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061447 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, qc, type, level
Sensor: uv_index | fields: qc, unit, value, ts
Task: Get lon from snow_depth where qc appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061448 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, level, ts, unit
Sensor: turbidity | fields: reading, qc, ts, level
Task: Fetch lon from rainfall that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_061449 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, depth, ts, qc
Sensor: dew_point | fields: ts, unit, reading, value
Task: Get lat from rainfall where depth exceeds the count of depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061450 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, depth, qc, lon
Sensor: cloud_cover | fields: value, type, ts, lon
Task: Retrieve value from drought_index whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"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
} | sensor_fixed_v1_train_061451 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, lat, reading, ts
Sensor: sunlight | fields: level, lat, qc, type
Task: Get level from pressure where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"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
} | sensor_fixed_v1_train_061452 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: depth, unit, level, lat
Sensor: uv_index | fields: level, unit, qc, lon
Task: Retrieve level from frost that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061453 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, level, unit, lon
Sensor: dew_point | fields: lat, ts, depth, type
Task: Retrieve lon from cloud_cover that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"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
} | sensor_fixed_v1_train_061454 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, value, qc, ts
Sensor: air_quality | fields: depth, type, level, qc
Task: Retrieve lat from uv_index with depth above the MIN(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061455 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: unit, depth, value, reading
Sensor: sunlight | fields: level, type, lon, lat
Task: Get lon from evaporation where reading exceeds the count of value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"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
} | sensor_fixed_v1_train_061456 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, reading, unit, qc
Sensor: evaporation | fields: depth, reading, unit, lon
Task: Retrieve level from soil_moisture with depth above the MAX(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061457 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, ts, type, qc
Sensor: visibility | fields: value, level, unit, qc
Task: Get lon from humidity where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"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
} | sensor_fixed_v1_train_061458 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, unit, lat, qc
Sensor: sunlight | fields: depth, value, qc, level
Task: Fetch level from soil_moisture where value is greater than the maximum of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061459 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, qc, lat, ts
Sensor: lightning | fields: level, lon, value, depth
Task: Get reading from wind_speed where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061460 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, type, lat, qc
Sensor: rainfall | fields: level, value, depth, reading
Task: Retrieve value from uv_index whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"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
} | sensor_fixed_v1_train_061461 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, value, unit, lat
Sensor: humidity | fields: qc, unit, value, depth
Task: Retrieve depth from cloud_cover that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061462 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, depth, type, ts
Sensor: humidity | fields: value, qc, reading, depth
Task: Fetch depth from drought_index where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061463 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, lon, ts, value
Sensor: frost | fields: lat, ts, qc, reading
Task: Retrieve depth from visibility with depth above the AVG(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"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
} | sensor_fixed_v1_train_061464 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: value, type, reading, level
Sensor: temperature | fields: qc, reading, lat, depth
Task: Retrieve reading from rainfall whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061465 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, lat, value, unit
Sensor: air_quality | fields: lon, unit, reading, depth
Task: Retrieve reading from dew_point with reading above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061466 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, level, lat, qc
Sensor: cloud_cover | fields: reading, qc, unit, type
Task: Get lat from evaporation where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"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
} | sensor_fixed_v1_train_061467 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, depth, ts, type
Sensor: rainfall | fields: qc, ts, reading, unit
Task: Retrieve depth from sunlight with value above the MIN(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061468 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, level, ts, value
Sensor: pressure | fields: lon, qc, lat, ts
Task: Get depth from temperature where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061469 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lat, reading, ts
Sensor: lightning | fields: type, unit, qc, level
Task: Retrieve lat from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"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
} | sensor_fixed_v1_train_061470 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lon, reading, type, value
Sensor: frost | fields: type, lat, ts, depth
Task: Fetch lon from temperature where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061471 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: unit, ts, qc, depth
Sensor: frost | fields: unit, reading, value, depth
Task: Retrieve level from dew_point that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061472 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, reading, lon, level
Sensor: pressure | fields: ts, qc, reading, value
Task: Fetch depth from evaporation where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061473 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, value, lat, lon
Sensor: uv_index | fields: unit, reading, lat, level
Task: Get depth from turbidity where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061474 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, ts, reading, level
Sensor: humidity | fields: lon, unit, qc, lat
Task: Retrieve value from pressure that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"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
} | sensor_fixed_v1_train_061475 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, reading, ts, value
Sensor: cloud_cover | fields: value, level, lon, unit
Task: Get lat from air_quality where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"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
} | sensor_fixed_v1_train_061476 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, unit, lon, reading
Sensor: turbidity | fields: ts, level, value, lat
Task: Get depth from dew_point where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"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
} | sensor_fixed_v1_train_061477 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, reading, lon, ts
Sensor: humidity | fields: value, lon, level, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061478 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, depth, ts, qc
Sensor: snow_depth | fields: lon, level, qc, depth
Task: Retrieve reading from cloud_cover whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061479 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, ts, lat, lon
Sensor: rainfall | fields: level, lon, ts, type
Task: Fetch value from pressure where depth is greater than the maximum of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061480 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, depth, unit, value
Sensor: drought_index | fields: type, value, level, lat
Task: Get lat from pressure where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061481 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, depth, value, qc
Sensor: uv_index | fields: value, ts, unit, type
Task: Get reading from wind_speed where depth appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061482 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, reading, type, level
Sensor: uv_index | fields: reading, lon, value, ts
Task: Fetch value from drought_index where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061483 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, qc, unit, type
Sensor: temperature | fields: unit, qc, lon, value
Task: Retrieve value from wind_speed whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061484 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, value, unit, lat
Sensor: temperature | fields: level, depth, lon, qc
Task: Get value from drought_index where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061485 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, level, lat, qc
Sensor: uv_index | fields: unit, value, lon, level
Task: Fetch depth from wind_speed that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"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
} | sensor_fixed_v1_train_061486 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, value, unit, reading
Sensor: frost | fields: lon, type, ts, reading
Task: Retrieve level from humidity with value above the COUNT(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061487 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, lon, unit, qc
Sensor: humidity | fields: depth, unit, value, reading
Task: Retrieve value from lightning whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061488 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lat, type, unit
Sensor: turbidity | fields: level, depth, lat, unit
Task: Fetch value from sunlight that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061489 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, level, reading, value
Sensor: soil_moisture | fields: depth, reading, unit, type
Task: Retrieve value from lightning whose unit is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061490 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, type, ts, lat
Sensor: lightning | fields: depth, lon, level, lat
Task: Fetch value from rainfall that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"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
} | sensor_fixed_v1_train_061491 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, lat, unit, depth
Sensor: turbidity | fields: value, qc, unit, ts
Task: Get lon from snow_depth where depth appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061492 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, qc, depth, ts
Sensor: temperature | fields: lat, level, value, ts
Task: Retrieve value from air_quality whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061493 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, depth, value, type
Sensor: visibility | fields: qc, reading, ts, lat
Task: Get lat from humidity where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061494 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, type, qc, depth
Sensor: uv_index | fields: unit, lat, level, type
Task: Fetch level from snow_depth where reading is greater than the minimum of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"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
} | sensor_fixed_v1_train_061495 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: unit, level, ts, lon
Sensor: humidity | fields: lat, lon, level, qc
Task: Get reading from dew_point where depth exceeds the minimum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061496 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, depth, level, lat
Sensor: turbidity | fields: value, level, lat, ts
Task: Fetch level from uv_index where value is greater than the minimum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061497 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, unit, reading, lon
Sensor: sunlight | fields: depth, reading, ts, unit
Task: Retrieve value from drought_index with depth above the COUNT(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"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
} | sensor_fixed_v1_train_061498 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, qc, lat
Sensor: wind_speed | fields: reading, unit, level, ts
Task: Get level from dew_point where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.