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: rainfall | code: mst | fields: level, value, lat, depth
Sensor: uv_index | fields: ts, type, level, unit
Task: Retrieve lon from rainfall with depth above the SUM(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078800 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, value, depth
Sensor: turbidity | fields: depth, qc, lat, value
Task: Retrieve value from lightning whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078801 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, reading, ts, qc
Sensor: rainfall | fields: value, ts, reading, qc
Task: Retrieve reading from cloud_cover whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078802 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, value, unit, reading
Sensor: temperature | fields: unit, type, ts, lon
Task: Fetch value from snow_depth that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078803 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, lat, qc, depth
Sensor: pressure | fields: lat, level, reading, depth
Task: Fetch value from cloud_cover where depth is greater than the maximum of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078804 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, ts, depth, type
Sensor: humidity | fields: qc, level, unit, lon
Task: Retrieve level from lightning whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078805 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, depth, type
Sensor: snow_depth | fields: lat, unit, depth, value
Task: Fetch lat from rainfall where reading is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078806 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, reading, unit, value
Sensor: sunlight | fields: depth, ts, value, level
Task: Get level from soil_moisture where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078807 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, level, depth, reading
Sensor: frost | fields: ts, value, qc, type
Task: Get level from visibility where depth exceeds the average depth from frost for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078808 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, lon, qc
Sensor: turbidity | fields: type, value, depth, lon
Task: Retrieve lat from air_quality with value above the AVG(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078809 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, value, lon, reading
Sensor: visibility | fields: value, type, ts, lat
Task: Fetch lon from drought_index where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078810 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, qc, depth, type
Sensor: pressure | fields: depth, level, ts, type
Task: Get reading from soil_moisture where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078811 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, reading, lat, level
Sensor: visibility | fields: ts, depth, reading, value
Task: Retrieve lon from cloud_cover with reading above the COUNT(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078812 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: level, lon, ts, reading
Sensor: humidity | fields: value, level, type, unit
Task: Get level from frost where ts appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078813 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, lon, depth, ts
Sensor: wind_speed | fields: ts, reading, qc, lon
Task: Get lat from cloud_cover where value exceeds the maximum value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078814 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, depth, lat, qc
Sensor: humidity | fields: lat, depth, level, reading
Task: Fetch lat from uv_index where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078815 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, level, unit, type
Sensor: dew_point | fields: value, depth, level, qc
Task: Get level from snow_depth where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"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_078816 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, lat, ts, depth
Sensor: sunlight | fields: value, type, ts, unit
Task: Retrieve depth from frost that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078817 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, value, qc, level
Sensor: uv_index | fields: ts, reading, qc, unit
Task: Fetch value from humidity where depth is greater than the minimum of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078818 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, value, lon, type
Sensor: sunlight | fields: lon, level, unit, reading
Task: Get depth from wind_speed where reading exceeds the minimum value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078819 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, level, depth, lon
Sensor: sunlight | fields: value, lon, unit, depth
Task: Get depth 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="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078820 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lon, value, lat
Sensor: uv_index | fields: value, reading, unit, qc
Task: Fetch reading from soil_moisture that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078821 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, type, lat, depth
Sensor: soil_moisture | fields: type, lon, depth, qc
Task: Fetch value from drought_index where depth is greater than the average of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078822 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, lon, unit, depth
Sensor: dew_point | fields: unit, qc, level, value
Task: Get level from sunlight where value exceeds the minimum reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078823 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, unit, type, qc
Sensor: air_quality | fields: qc, depth, value, unit
Task: Fetch level from rainfall where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078824 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, qc, type, lat
Sensor: sunlight | fields: lat, depth, reading, value
Task: Fetch level from turbidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078825 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, reading, lon, unit
Sensor: soil_moisture | fields: ts, depth, reading, lon
Task: Get value from drought_index where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078826 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, lon, value, type
Sensor: evaporation | fields: ts, unit, lon, value
Task: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078827 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, ts, value, level
Sensor: evaporation | fields: value, level, lat, unit
Task: Get reading from wind_speed where depth exceeds the total value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078828 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, qc, unit, ts
Sensor: rainfall | fields: lat, reading, type, qc
Task: Fetch reading from uv_index that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078829 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, qc, level, lon
Sensor: soil_moisture | fields: unit, lon, value, lat
Task: Get depth from rainfall where value exceeds the total reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078830 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, level, ts, reading
Sensor: dew_point | fields: value, type, level, qc
Task: Get lat from snow_depth where depth appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078831 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, type, lon, ts
Sensor: frost | fields: reading, value, unit, lon
Task: Fetch lon from soil_moisture where qc exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078832 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, value, lon, level
Sensor: lightning | fields: type, value, lon, level
Task: Fetch lon from pressure where value is greater than the maximum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078833 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, type, unit, ts
Sensor: dew_point | fields: ts, level, type, lat
Task: Retrieve lat from temperature that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078834 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, qc, level, type
Sensor: humidity | fields: level, qc, depth, ts
Task: Retrieve depth from uv_index whose type is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078835 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, value, level, qc
Sensor: evaporation | fields: qc, ts, reading, value
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078836 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, qc, lat, level
Sensor: lightning | fields: level, qc, type, lon
Task: Fetch lon from turbidity that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078837 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, unit, qc, depth
Sensor: temperature | fields: ts, value, qc, type
Task: Fetch value from pressure where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078838 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: depth, lon, value, qc
Sensor: soil_moisture | fields: qc, depth, unit, lon
Task: Retrieve depth from turbidity that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078839 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, level, type, qc
Sensor: drought_index | fields: qc, lat, value, level
Task: Fetch reading from soil_moisture where depth is greater than the total of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078840 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, lon, unit, type
Sensor: pressure | fields: value, unit, level, reading
Task: Get lat from sunlight where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078841 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: value, ts, depth, lon
Sensor: frost | fields: type, reading, value, ts
Task: Get depth from visibility where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078842 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, type, lon, ts
Sensor: temperature | fields: level, depth, value, type
Task: Get lon from snow_depth where type appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078843 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lon, unit, lat, depth
Sensor: pressure | fields: reading, unit, type, level
Task: Get reading from visibility where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078844 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, ts, type, reading
Sensor: snow_depth | fields: value, lon, reading, qc
Task: Fetch value from drought_index that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078845 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, unit, depth, qc
Sensor: snow_depth | fields: reading, lat, type, unit
Task: Get depth from drought_index where depth exceeds the minimum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078846 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, reading, lat, depth
Sensor: temperature | fields: value, lon, lat, qc
Task: Fetch reading from rainfall where unit exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078847 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, type, depth
Sensor: uv_index | fields: level, lon, lat, qc
Task: Get value from lightning where reading exceeds the count of value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078848 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, value, lon
Sensor: snow_depth | fields: type, level, lat, lon
Task: Get depth from temperature where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078849 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, lon, level, type
Sensor: pressure | fields: reading, depth, value, type
Task: Retrieve level from snow_depth whose qc is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078850 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, qc, depth
Sensor: cloud_cover | fields: unit, ts, qc, depth
Task: Retrieve value from dew_point that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078851 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, value, qc, type
Sensor: visibility | fields: type, ts, unit, reading
Task: Retrieve level from turbidity with reading above the MIN(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078852 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lon, qc, depth, unit
Sensor: uv_index | fields: unit, depth, level, reading
Task: Fetch lat from visibility that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078853 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, unit, level, lon
Sensor: temperature | fields: value, depth, type, level
Task: Get reading from drought_index where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078854 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, unit, depth, type
Sensor: temperature | fields: level, lat, unit, lon
Task: Retrieve reading from visibility whose unit is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078855 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, level, type, lat
Sensor: pressure | fields: qc, lon, level, reading
Task: Get value from uv_index where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078856 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: depth, ts, level, lat
Sensor: rainfall | fields: unit, reading, lon, depth
Task: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078857 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, lon, reading, lat
Sensor: sunlight | fields: lon, type, lat, unit
Task: Get depth from frost where qc appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078858 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, depth, level, lon
Sensor: dew_point | fields: lat, unit, value, level
Task: Fetch lon from temperature that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078859 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, value, unit
Sensor: turbidity | fields: ts, lon, value, qc
Task: Fetch level from drought_index that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078860 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lat, level, type
Sensor: pressure | fields: depth, ts, type, reading
Task: Get lat from cloud_cover where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078861 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, lat, qc, reading
Sensor: frost | fields: depth, reading, type, lon
Task: Fetch lat from air_quality that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078862 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: depth, ts, qc, value
Sensor: air_quality | fields: ts, value, lon, unit
Task: Get value from lightning where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078863 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, lon, ts
Sensor: soil_moisture | fields: lat, reading, type, unit
Task: Get lon from evaporation where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078864 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, value, lon, qc
Sensor: lightning | fields: reading, lat, value, ts
Task: Get depth from sunlight where type appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078865 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, depth, ts, value
Sensor: snow_depth | fields: lon, lat, reading, qc
Task: Fetch lat from rainfall that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078866 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, type, reading, ts
Sensor: cloud_cover | fields: lon, ts, unit, level
Task: Fetch lat from wind_speed where value is greater than the maximum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078867 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, ts, value, lon
Sensor: pressure | fields: ts, depth, lon, type
Task: Fetch value from sunlight where reading is greater than the total of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078868 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, lon, depth, qc
Sensor: uv_index | fields: reading, depth, qc, level
Task: Fetch reading from rainfall where depth is greater than the maximum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078869 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, lon, lat, reading
Sensor: uv_index | fields: lat, value, type, lon
Task: Fetch value from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078870 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, lon, level, value
Sensor: frost | fields: unit, level, depth, qc
Task: Retrieve depth from pressure whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078871 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, value, lon
Sensor: lightning | fields: level, ts, unit, lat
Task: Retrieve reading from soil_moisture with depth above the SUM(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078872 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lon, reading, level
Sensor: frost | fields: value, depth, reading, ts
Task: Get level from visibility where reading exceeds the average depth from frost for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078873 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, qc, type, level
Sensor: drought_index | fields: ts, type, depth, level
Task: Fetch lon from snow_depth where depth is greater than the average of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078874 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, type, depth, reading
Sensor: drought_index | fields: level, value, qc, unit
Task: Fetch depth from wind_speed that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"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_078875 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, value, qc, lat
Sensor: rainfall | fields: value, lon, qc, type
Task: Fetch value from dew_point where value is greater than the total of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"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_078876 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, unit, type, qc
Sensor: drought_index | fields: level, qc, reading, depth
Task: Fetch level from rainfall where depth is greater than the total of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078877 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lat, depth, qc
Sensor: visibility | fields: lon, value, type, unit
Task: Fetch depth from sunlight where value is greater than the minimum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078878 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, ts, lon, level
Sensor: frost | fields: lat, depth, level, type
Task: Get lon from wind_speed where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078879 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, ts, value, reading
Sensor: lightning | fields: unit, type, qc, ts
Task: Fetch level from pressure that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078880 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, value, type, ts
Sensor: sunlight | fields: ts, qc, depth, reading
Task: Retrieve lat from frost that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078881 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, lat, type
Sensor: turbidity | fields: value, depth, unit, level
Task: Retrieve value from visibility with depth above the COUNT(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078882 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, ts, unit, qc
Sensor: snow_depth | fields: unit, reading, ts, lon
Task: Fetch reading from sunlight where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078883 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, lat, lon, type
Sensor: snow_depth | fields: lon, reading, type, depth
Task: Retrieve depth from temperature that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078884 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, ts, reading
Sensor: cloud_cover | fields: reading, ts, level, value
Task: Retrieve level from rainfall whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078885 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, qc, lat, depth
Sensor: cloud_cover | fields: level, ts, qc, reading
Task: Get depth from lightning where reading exceeds the total reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078886 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, qc, type, unit
Sensor: temperature | fields: qc, depth, ts, value
Task: Fetch value from wind_speed where reading is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078887 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, depth, reading, lat
Sensor: temperature | fields: unit, qc, reading, depth
Task: Get depth from air_quality where reading exceeds the total depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078888 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, lon, lat, unit
Sensor: rainfall | fields: type, depth, level, lat
Task: Fetch lat from uv_index where depth is greater than the total of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078889 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: value, level, ts, depth
Sensor: uv_index | fields: lat, lon, value, reading
Task: Retrieve reading from temperature with value above the MIN(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078890 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, ts, reading, type
Sensor: visibility | fields: value, reading, level, ts
Task: Get depth from evaporation where value exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078891 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, lon, lat, unit
Sensor: visibility | fields: depth, ts, level, lon
Task: Get reading from evaporation where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078892 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, lon, lat, unit
Sensor: frost | fields: lat, value, level, unit
Task: Fetch reading from uv_index that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078893 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, qc, type, value
Sensor: sunlight | fields: depth, level, type, ts
Task: Retrieve reading from snow_depth with depth above the SUM(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078894 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lat, ts, lon
Sensor: soil_moisture | fields: type, lat, unit, qc
Task: Fetch depth from snow_depth where value is greater than the total of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078895 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, type, value, lon
Sensor: soil_moisture | fields: depth, qc, lon, value
Task: Get value from sunlight where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078896 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, ts, type, lat
Sensor: pressure | fields: qc, level, depth, type
Task: Fetch lon from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078897 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, unit, type, ts
Sensor: evaporation | fields: value, lon, lat, level
Task: Retrieve depth from temperature with depth above the AVG(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078898 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, lat, value, unit
Sensor: air_quality | fields: lat, reading, unit, ts
Task: Fetch level from humidity that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.