variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, lon, level, depth
Sensor: pressure | fields: lat, depth, unit, level
Task: Get value from frost where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012000 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, lat, type, ts
Sensor: uv_index | fields: type, depth, lat, unit
Task: Get reading from rainfall where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012001 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: depth, level, reading, unit
Sensor: dew_point | fields: unit, reading, level, lon
Task: Retrieve level from pressure that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012002 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, depth, type, reading
Sensor: drought_index | fields: type, lon, value, reading
Task: Fetch level from dew_point where value is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012003 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, lat, reading, depth
Sensor: air_quality | fields: reading, unit, depth, lat
Task: Fetch lat from pressure that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012004 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, reading, lat
Sensor: air_quality | fields: lat, value, level, depth
Task: Fetch value from lightning where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012005 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, qc, reading, level
Sensor: drought_index | fields: level, unit, lon, depth
Task: Fetch depth from pressure that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012006 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, lat, reading, value
Sensor: soil_moisture | fields: value, reading, lon, unit
Task: Retrieve reading from visibility that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012007 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, type, unit, value
Sensor: dew_point | fields: level, lat, reading, ts
Task: Fetch reading from air_quality where depth is greater than the minimum of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012008 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, ts, reading, value
Sensor: temperature | fields: type, reading, lon, lat
Task: Get lon from pressure where value exceeds the count of depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012009 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, reading, value, level
Sensor: drought_index | fields: unit, value, type, reading
Task: Fetch depth from pressure that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012010 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: depth, reading, ts, lon
Sensor: drought_index | fields: ts, depth, qc, unit
Task: Retrieve depth from evaporation with reading above the MAX(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012011 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, ts, type
Sensor: rainfall | fields: depth, value, lat, lon
Task: Retrieve reading from cloud_cover whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012012 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, type, level, reading
Sensor: wind_speed | fields: type, lat, qc, unit
Task: Retrieve lat from temperature that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012013 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, depth, unit, level
Sensor: evaporation | fields: lat, depth, reading, ts
Task: Get reading from frost where unit appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012014 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, reading, depth, lat
Sensor: dew_point | fields: ts, type, reading, lat
Task: Retrieve lon from rainfall that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012015 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, unit, depth, qc
Sensor: drought_index | fields: depth, type, unit, lon
Task: Retrieve lat from lightning with depth above the AVG(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012016 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, lat, ts, type
Sensor: frost | fields: unit, qc, type, level
Task: Fetch lon from turbidity where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012017 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, lat, ts
Sensor: temperature | fields: unit, level, lon, value
Task: Fetch depth from rainfall that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012018 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: unit, reading, qc, level
Sensor: turbidity | fields: ts, type, value, level
Task: Get lon from lightning where depth exceeds the maximum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012019 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, unit, lon, ts
Sensor: visibility | fields: unit, lon, lat, depth
Task: Get lon from lightning where value exceeds the minimum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012020 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: unit, depth, type, level
Sensor: soil_moisture | fields: unit, depth, value, qc
Task: Retrieve value from drought_index with value above the MAX(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012021 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, level, reading, value
Sensor: sunlight | fields: type, unit, depth, lat
Task: Retrieve level from wind_speed with depth above the AVG(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012022 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, level, unit, lat
Sensor: sunlight | fields: depth, value, ts, reading
Task: Get depth from soil_moisture where depth exceeds the average value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012023 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, ts, lon, value
Sensor: humidity | fields: level, lat, ts, unit
Task: Fetch reading from pressure that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012024 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, lat, reading, level
Sensor: visibility | fields: lat, type, unit, value
Task: Fetch depth from rainfall where depth is greater than the minimum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012025 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, ts, lat, depth
Sensor: snow_depth | fields: depth, type, level, unit
Task: Fetch lon from frost where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012026 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lat, value, ts
Sensor: sunlight | fields: reading, qc, lon, value
Task: Retrieve reading from air_quality whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012027 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, reading, type, ts
Sensor: snow_depth | fields: lon, ts, depth, unit
Task: Retrieve level from wind_speed with depth above the MAX(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012028 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, unit, type
Sensor: visibility | fields: unit, lon, level, qc
Task: Retrieve value from sunlight whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012029 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, lat, qc, depth
Sensor: lightning | fields: ts, reading, lon, depth
Task: Fetch lon from uv_index where reading is greater than the maximum of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012030 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, ts, unit, lon
Sensor: visibility | fields: unit, depth, lon, level
Task: Retrieve lat from cloud_cover whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012031 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lat, value, lon, qc
Sensor: visibility | fields: lon, ts, type, value
Task: Retrieve reading from temperature with reading above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012032 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, qc, ts
Sensor: rainfall | fields: unit, lat, ts, level
Task: Get level from drought_index where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012033 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: ts, qc, lat, type
Sensor: wind_speed | fields: level, ts, value, unit
Task: Get depth from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012034 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: value, unit, type, qc
Sensor: turbidity | fields: reading, ts, lon, lat
Task: Fetch level from wind_speed where reading is greater than the average of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012035 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, lon, value, ts
Sensor: uv_index | fields: reading, unit, ts, level
Task: Retrieve reading from turbidity with value above the MIN(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012036 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, lon, lat
Sensor: rainfall | fields: qc, type, ts, depth
Task: Get reading from cloud_cover where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012037 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, lat, lon, type
Sensor: temperature | fields: qc, reading, lat, depth
Task: Retrieve lon from evaporation with depth above the COUNT(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012038 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: reading, level, depth, value
Sensor: rainfall | fields: lat, qc, depth, type
Task: Get value from visibility where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012039 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, lat, level, type
Sensor: temperature | fields: depth, value, ts, level
Task: Get lon from cloud_cover where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012040 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, unit, level, reading
Sensor: sunlight | fields: type, lon, lat, qc
Task: Fetch depth from humidity where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012041 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, lat, reading, unit
Sensor: frost | fields: lon, level, ts, unit
Task: Fetch value from snow_depth where reading is greater than the average of value in frost for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012042 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: level, value, type, ts
Sensor: pressure | fields: type, reading, lat, ts
Task: Retrieve level from lightning that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012043 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, depth, ts, lat
Sensor: turbidity | fields: unit, reading, level, depth
Task: Get lat from pressure where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012044 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, depth, level, unit
Sensor: snow_depth | fields: depth, type, qc, value
Task: Fetch lon from turbidity where depth is greater than the minimum of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012045 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, lon, qc, unit
Sensor: soil_moisture | fields: type, reading, ts, level
Task: Retrieve reading from wind_speed whose depth is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012046 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, type, ts, qc
Sensor: pressure | fields: level, lon, type, reading
Task: Fetch reading from frost that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012047 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, ts, value, depth
Sensor: pressure | fields: type, lon, lat, qc
Task: Retrieve value from wind_speed whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012048 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: qc, level, ts, unit
Sensor: dew_point | fields: unit, value, level, reading
Task: Fetch level from visibility that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012049 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: lon, value, ts, qc
Sensor: rainfall | fields: qc, lon, ts, reading
Task: Fetch value from temperature that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012050 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, qc, reading, ts
Sensor: pressure | fields: value, unit, level, depth
Task: Fetch level from air_quality where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012051 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, unit, qc, ts
Sensor: uv_index | fields: qc, lon, ts, lat
Task: Get value from rainfall where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012052 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, unit, qc, level
Sensor: evaporation | fields: ts, qc, reading, lon
Task: Retrieve lat from cloud_cover whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012053 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, lon, value, qc
Sensor: frost | fields: depth, lat, value, ts
Task: Get value from visibility where qc appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012054 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, type, value, depth
Sensor: wind_speed | fields: ts, level, depth, lat
Task: Retrieve reading from lightning that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012055 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, value, reading, lat
Sensor: pressure | fields: unit, lon, ts, level
Task: Retrieve depth from air_quality that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012056 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, type, qc, reading
Sensor: pressure | fields: ts, reading, lat, type
Task: Fetch depth from snow_depth where value is greater than the minimum of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012057 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, unit, value
Sensor: dew_point | fields: unit, value, level, reading
Task: Retrieve lat from rainfall that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
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",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012058 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, reading, qc, ts
Sensor: drought_index | fields: reading, depth, unit, type
Task: Fetch value from turbidity where reading is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012059 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, depth, level, type
Sensor: drought_index | fields: type, reading, lon, level
Task: Get depth from soil_moisture where ts appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012060 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: level, value, unit, lat
Sensor: lightning | fields: ts, lat, unit, type
Task: Fetch value from turbidity where reading is greater than the minimum of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012061 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: type, qc, ts, lat
Sensor: air_quality | fields: value, lat, level, reading
Task: Get lat from turbidity where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012062 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, lat, level, depth
Sensor: evaporation | fields: unit, type, qc, reading
Task: Fetch lon from wind_speed where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012063 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, reading, lat, value
Sensor: temperature | fields: unit, level, reading, depth
Task: Get reading from dew_point where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012064 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, qc, reading, lat
Sensor: cloud_cover | fields: type, reading, lat, lon
Task: Fetch level from wind_speed where ts exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012065 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, ts, depth, value
Sensor: lightning | fields: qc, type, level, unit
Task: Fetch level from cloud_cover where value is greater than the total of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012066 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, value, lat
Sensor: pressure | fields: unit, depth, lon, qc
Task: Retrieve reading from soil_moisture whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012067 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: value, ts, level, lat
Sensor: cloud_cover | fields: depth, lon, level, reading
Task: Retrieve value from lightning with reading above the COUNT(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012068 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, lat, qc, ts
Sensor: wind_speed | fields: lon, ts, depth, level
Task: Fetch lat from lightning where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012069 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, value, ts, lon
Sensor: turbidity | fields: lon, level, value, qc
Task: Retrieve lon from air_quality whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012070 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, unit, reading, depth
Sensor: air_quality | fields: ts, depth, value, lon
Task: Retrieve lon from wind_speed with depth above the SUM(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012071 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lon, unit, value
Sensor: rainfall | fields: type, reading, value, qc
Task: Retrieve lat from cloud_cover whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012072 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, lat, reading, value
Sensor: turbidity | fields: lat, value, depth, lon
Task: Retrieve lat from visibility whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012073 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: qc, type, lon, level
Sensor: visibility | fields: qc, level, type, reading
Task: Fetch value from dew_point where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012074 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, ts, qc, value
Sensor: frost | fields: lat, unit, qc, depth
Task: Get depth from dew_point where value exceeds the average value from frost for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012075 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, ts, reading, lon
Sensor: cloud_cover | fields: type, level, depth, qc
Task: Retrieve lat from visibility that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012076 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: level, lon, qc, value
Sensor: evaporation | fields: value, reading, ts, depth
Task: Get depth from turbidity where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012077 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, depth, level, unit
Sensor: turbidity | fields: lon, ts, value, qc
Task: Get reading from frost where value exceeds the count of value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012078 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lat, reading, level
Sensor: cloud_cover | fields: lon, value, type, depth
Task: Get reading from soil_moisture where reading exceeds the minimum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012079 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, unit, lon, type
Sensor: air_quality | fields: depth, reading, lon, ts
Task: Retrieve value from visibility with reading above the COUNT(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012080 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, level, reading, type
Sensor: air_quality | fields: level, ts, value, reading
Task: Get level from pressure where value exceeds the maximum depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012081 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, unit, level, depth
Sensor: rainfall | fields: unit, depth, lat, value
Task: Retrieve lon from dew_point that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012082 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lon, qc, ts, unit
Sensor: cloud_cover | fields: value, qc, depth, reading
Task: Retrieve value from temperature whose unit is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012083 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, level, qc, reading
Sensor: visibility | fields: lon, unit, lat, reading
Task: Get level from evaporation where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012084 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, level, depth, type
Sensor: sunlight | fields: value, lat, unit, ts
Task: Fetch level from air_quality where value is greater than the total of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012085 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, depth, unit, value
Sensor: drought_index | fields: unit, lon, value, qc
Task: Retrieve depth from dew_point whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012086 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, value, ts, type
Sensor: lightning | fields: ts, lat, level, lon
Task: Fetch level from air_quality where value is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012087 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, unit, depth, value
Sensor: rainfall | fields: depth, lat, type, lon
Task: Get level from snow_depth where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012088 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, reading, value, unit
Sensor: rainfall | fields: ts, lon, depth, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012089 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, ts, lat, reading
Sensor: dew_point | fields: value, qc, level, ts
Task: Fetch level from soil_moisture where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012090 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, lon, depth, unit
Sensor: visibility | fields: type, value, unit, ts
Task: Fetch reading from wind_speed where depth is greater than the minimum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012091 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, value, qc, lon
Sensor: sunlight | fields: level, depth, value, unit
Task: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012092 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lon, type, qc, reading
Sensor: cloud_cover | fields: type, lon, depth, ts
Task: Fetch depth from evaporation that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012093 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, unit, lat
Sensor: sunlight | fields: depth, type, reading, lat
Task: Retrieve reading from cloud_cover whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012094 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, reading, lon, lat
Sensor: dew_point | fields: lat, type, ts, qc
Task: Retrieve depth from snow_depth that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012095 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, qc, type, reading
Sensor: evaporation | fields: lon, type, qc, unit
Task: Fetch value from frost where reading is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012096 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, type, level, lon
Sensor: frost | fields: reading, ts, lat, type
Task: Get level from lightning where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012097 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, type, level, lon
Sensor: uv_index | fields: lon, depth, ts, level
Task: Retrieve value from humidity with depth above the MAX(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012098 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, lon, ts, qc
Sensor: visibility | fields: lat, level, unit, qc
Task: Fetch value from sunlight that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.