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: humidity | code: thr | fields: type, lon, qc, level
Sensor: turbidity | fields: lat, value, unit, level
Task: Retrieve reading from humidity that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010100 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: type, ts, depth, level
Sensor: humidity | fields: depth, qc, lon, unit
Task: Fetch lat from visibility that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010101 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, value, lon, type
Sensor: turbidity | fields: lon, type, qc, depth
Task: Retrieve depth from air_quality with value above the MIN(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"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_010102 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, depth, qc, reading
Sensor: visibility | fields: lon, value, level, ts
Task: Fetch lon from drought_index where value is greater than the average of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010103 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lon, type, reading
Sensor: frost | fields: reading, depth, qc, level
Task: Fetch lon from evaporation that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010104 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, value, ts, level
Sensor: turbidity | fields: ts, reading, qc, lon
Task: Fetch lat from temperature where reading is greater than the count of of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010105 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, type, level, lat
Sensor: soil_moisture | fields: lon, depth, ts, reading
Task: Get value from turbidity where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010106 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, reading, type, value
Sensor: snow_depth | fields: qc, reading, lat, depth
Task: Get value from sunlight where reading exceeds the average value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010107 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, depth, lat, unit
Sensor: humidity | fields: level, value, reading, type
Task: Fetch depth from soil_moisture where value is greater than the minimum of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010108 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: depth, lat, type, level
Sensor: temperature | fields: unit, reading, type, lon
Task: Get lat from turbidity where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010109 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, type, ts, reading
Sensor: dew_point | fields: value, unit, reading, level
Task: Retrieve lon from soil_moisture with value above the MIN(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010110 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, qc, level
Sensor: cloud_cover | fields: unit, value, lon, ts
Task: Retrieve reading from visibility that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010111 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, ts, qc, lon
Sensor: visibility | fields: unit, qc, level, depth
Task: Retrieve level from sunlight that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010112 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, ts, lat, unit
Sensor: lightning | fields: qc, value, ts, level
Task: Fetch reading from evaporation that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010113 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, reading, level, ts
Sensor: pressure | fields: qc, ts, level, depth
Task: Fetch level from rainfall where reading is greater than the average of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010114 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: value, lat, level, lon
Sensor: cloud_cover | fields: qc, unit, ts, lat
Task: Fetch lat from air_quality that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010115 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, depth, value, reading
Sensor: dew_point | fields: level, lat, ts, unit
Task: Get lon from frost where qc appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010116 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: level, qc, value, type
Sensor: cloud_cover | fields: value, unit, lon, qc
Task: Fetch value from turbidity that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010117 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: depth, value, unit, ts
Sensor: drought_index | fields: qc, lon, value, level
Task: Fetch depth from turbidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010118 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, reading, lat, value
Sensor: cloud_cover | fields: ts, lon, value, level
Task: Fetch reading from sunlight where value is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010119 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lon, qc, value, lat
Sensor: rainfall | fields: qc, unit, lat, type
Task: Get value from drought_index where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010120 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, lon, reading, lat
Sensor: temperature | fields: lon, value, depth, reading
Task: Retrieve reading from sunlight whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010121 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: level, unit, lon, value
Sensor: uv_index | fields: type, ts, unit, lon
Task: Retrieve lat from lightning that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010122 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, ts, unit, value
Sensor: humidity | fields: level, depth, type, qc
Task: Fetch depth from air_quality where depth is greater than the average of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010123 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, type, unit, lat
Sensor: drought_index | fields: ts, qc, reading, type
Task: Get lon from evaporation where value exceeds the average reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010124 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, level, type, value
Sensor: snow_depth | fields: type, reading, qc, level
Task: Get lat from air_quality where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010125 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, value, qc, type
Sensor: dew_point | fields: depth, lon, qc, unit
Task: Retrieve lon from rainfall whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
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",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010126 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, unit, depth, lat
Sensor: wind_speed | fields: reading, value, level, qc
Task: Get lon from uv_index where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010127 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, type, lon, reading
Sensor: air_quality | fields: level, depth, ts, lon
Task: Retrieve depth from humidity with reading above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010128 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: qc, ts, value, lat
Sensor: rainfall | fields: value, level, ts, lon
Task: Fetch lat from air_quality where value is greater than the maximum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010129 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, type, ts, reading
Sensor: humidity | fields: type, lat, lon, unit
Task: Fetch lon from sunlight where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010130 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lat, type, level
Sensor: soil_moisture | fields: qc, lon, ts, type
Task: Fetch lon from drought_index where depth is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010131 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, qc, reading, lon
Sensor: humidity | fields: ts, depth, level, lat
Task: Get level from frost where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010132 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, unit, level, lon
Sensor: humidity | fields: ts, qc, reading, type
Task: Retrieve lat from evaporation whose depth is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010133 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, type, qc, lon
Sensor: drought_index | fields: value, type, lat, ts
Task: Get lon from soil_moisture where depth exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010134 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, lon, depth, unit
Sensor: sunlight | fields: lon, value, ts, level
Task: Retrieve reading from wind_speed with depth above the COUNT(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010135 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, lat, depth
Sensor: turbidity | fields: lon, qc, unit, level
Task: Fetch lon from rainfall where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010136 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, type, lon, depth
Sensor: sunlight | fields: level, reading, qc, depth
Task: Retrieve level from visibility with value above the SUM(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010137 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, ts, reading, level
Sensor: wind_speed | fields: type, value, lat, lon
Task: Retrieve lon from pressure with depth above the MIN(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010138 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, reading, unit, type
Sensor: sunlight | fields: unit, lon, level, depth
Task: Get value from rainfall where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010139 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, ts, qc, level
Sensor: sunlight | fields: qc, ts, value, type
Task: Fetch reading from temperature where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010140 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lat, depth, ts, unit
Sensor: evaporation | fields: type, reading, level, ts
Task: Retrieve lon from drought_index with depth above the MAX(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010141 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, qc, reading, level
Sensor: lightning | fields: lon, level, unit, value
Task: Get level from turbidity where reading exceeds the minimum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010142 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, level, ts, type
Sensor: sunlight | fields: ts, lon, level, depth
Task: Retrieve reading from pressure whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010143 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, level, lon, reading
Sensor: cloud_cover | fields: ts, lon, qc, lat
Task: Get lon from evaporation where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010144 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lat, lon, type
Sensor: wind_speed | fields: lat, reading, level, lon
Task: Retrieve level from snow_depth that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010145 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, ts, type, qc
Sensor: turbidity | fields: qc, unit, ts, depth
Task: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010146 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, type, level, qc
Sensor: lightning | fields: type, depth, ts, lat
Task: Fetch depth from temperature where unit exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010147 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, lat, value, depth
Sensor: evaporation | fields: type, value, qc, lon
Task: Fetch lon from humidity that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010148 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: unit, lat, qc, depth
Sensor: drought_index | fields: unit, reading, value, level
Task: Fetch lat from frost that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010149 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, reading, lon, unit
Sensor: soil_moisture | fields: type, unit, level, value
Task: Fetch lon from humidity where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010150 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, ts, reading, lat
Sensor: pressure | fields: lat, level, ts, depth
Task: Get lat from soil_moisture where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010151 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, level, reading, lon
Sensor: wind_speed | fields: ts, value, lon, type
Task: Get level from lightning where reading exceeds the minimum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010152 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lon, unit, ts, depth
Sensor: turbidity | fields: reading, depth, lat, qc
Task: Get level from pressure where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010153 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: ts, level, reading, depth
Sensor: uv_index | fields: depth, lon, lat, value
Task: Retrieve lat from sunlight that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010154 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, depth, ts, level
Sensor: snow_depth | fields: ts, reading, level, depth
Task: Fetch value from air_quality where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010155 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, qc, type, lon
Sensor: air_quality | fields: type, depth, reading, unit
Task: Fetch lon from soil_moisture where reading is greater than the total of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010156 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lat, ts, reading
Sensor: visibility | fields: ts, qc, reading, level
Task: Fetch depth from wind_speed that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010157 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, reading, unit, type
Sensor: pressure | fields: depth, unit, lat, value
Task: Fetch reading from drought_index where reading is greater than the average of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010158 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, ts, lat, qc
Sensor: pressure | fields: value, depth, lat, unit
Task: Retrieve lon from visibility that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010159 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, type, level, lon
Sensor: air_quality | fields: qc, depth, lon, ts
Task: Fetch value from humidity where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010160 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: unit, type, lat, level
Sensor: lightning | fields: level, qc, lon, ts
Task: Retrieve lat from humidity with value above the MIN(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010161 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, type, ts, value
Sensor: rainfall | fields: level, value, ts, unit
Task: Get lon from air_quality where depth exceeds the average depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010162 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, ts, type, depth
Sensor: dew_point | fields: unit, qc, lon, type
Task: Retrieve lon from drought_index whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010163 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, reading, type, ts
Sensor: snow_depth | fields: type, unit, value, level
Task: Fetch value from sunlight where reading is greater than the count of of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010164 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: value, type, unit, level
Sensor: soil_moisture | fields: depth, unit, level, value
Task: Get depth from rainfall where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010165 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lat, lon, value, ts
Sensor: cloud_cover | fields: lon, depth, unit, level
Task: Retrieve reading from frost whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010166 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, qc, reading, unit
Sensor: drought_index | fields: type, qc, unit, lat
Task: Retrieve depth from air_quality with value above the AVG(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010167 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, level, value, lat
Sensor: lightning | fields: value, ts, lat, unit
Task: Fetch lon from soil_moisture where qc exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010168 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: value, type, lat, lon
Sensor: rainfall | fields: lon, type, qc, depth
Task: Retrieve level from sunlight with value above the AVG(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010169 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: ts, qc, depth, unit
Sensor: lightning | fields: depth, value, unit, type
Task: Get depth from uv_index where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010170 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, depth, lon, value
Sensor: turbidity | fields: ts, lat, qc, reading
Task: Retrieve lon from sunlight with depth above the MAX(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010171 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, depth, value, qc
Sensor: pressure | fields: lat, qc, lon, level
Task: Get level from frost where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010172 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lon, depth, lat, qc
Sensor: turbidity | fields: type, qc, value, depth
Task: Get level from evaporation where ts appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010173 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, type, unit, level
Sensor: frost | fields: lon, reading, unit, qc
Task: Fetch level from soil_moisture that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010174 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, level, depth, ts
Sensor: humidity | fields: ts, depth, level, value
Task: Get reading from rainfall where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010175 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: type, unit, reading, depth
Sensor: turbidity | fields: lat, level, unit, value
Task: Get lon from visibility where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010176 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: type, ts, level, lon
Sensor: lightning | fields: level, reading, lat, type
Task: Fetch lon from humidity where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010177 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lat, ts, lon
Sensor: lightning | fields: reading, type, unit, qc
Task: Get level from cloud_cover where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010178 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, ts, depth, unit
Sensor: frost | fields: lat, ts, reading, depth
Task: Fetch lat from pressure where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010179 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, level, type, lat
Sensor: cloud_cover | fields: type, ts, unit, depth
Task: Fetch depth from air_quality that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010180 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, type, reading, qc
Sensor: cloud_cover | fields: qc, unit, reading, type
Task: Get lat from snow_depth where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010181 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, depth, type, lat
Sensor: frost | fields: reading, unit, depth, lat
Task: Retrieve lon from visibility whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010182 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, level, unit, reading
Sensor: snow_depth | fields: lon, depth, qc, lat
Task: Get value from frost where value exceeds the maximum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010183 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, qc, type, unit
Sensor: visibility | fields: level, reading, type, lat
Task: Retrieve value from lightning with depth above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010184 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, type, reading, level
Sensor: lightning | fields: qc, lon, type, unit
Task: Retrieve lon from air_quality with value above the SUM(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010185 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lat, lon, ts, reading
Sensor: temperature | fields: ts, lon, type, level
Task: Get depth from sunlight where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010186 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, reading, unit, value
Sensor: pressure | fields: qc, value, level, lon
Task: Get lat from frost where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010187 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: unit, qc, ts, level
Sensor: snow_depth | fields: reading, qc, type, unit
Task: Retrieve reading from uv_index with depth above the SUM(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010188 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: unit, qc, value, ts
Sensor: temperature | fields: ts, lon, value, reading
Task: Fetch lon from turbidity that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010189 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lon, ts, unit
Sensor: uv_index | fields: type, value, qc, reading
Task: Fetch value from cloud_cover that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010190 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, type, depth, qc
Sensor: soil_moisture | fields: type, value, level, depth
Task: Get depth from uv_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"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_010191 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: type, reading, level, value
Sensor: frost | fields: ts, lat, level, reading
Task: Get level from uv_index where depth appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010192 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, type, level, lon
Sensor: temperature | fields: type, ts, lon, reading
Task: Get level from dew_point where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010193 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, lon, level, reading
Sensor: drought_index | fields: lat, unit, value, ts
Task: Fetch lat from frost where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010194 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: value, lat, type, level
Sensor: cloud_cover | fields: reading, ts, unit, level
Task: Retrieve reading from turbidity that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010195 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, unit, value, type
Sensor: evaporation | fields: lat, lon, reading, qc
Task: Get reading from air_quality where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010196 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lon, reading, qc, unit
Sensor: air_quality | fields: qc, reading, lat, depth
Task: Get depth from temperature where depth exceeds the count of reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010197 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, lat, value, reading
Sensor: pressure | fields: value, lat, level, qc
Task: Fetch lon from snow_depth where reading is greater than the maximum of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010198 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, reading, level, lon
Sensor: evaporation | fields: level, type, value, unit
Task: Fetch lon from air_quality where depth is greater than the total of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.