variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, type, qc, value
Sensor: frost | fields: lat, depth, reading, qc
Task: Get lon from rainfall where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070200 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lon, depth, lat
Sensor: drought_index | fields: level, lat, unit, type
Task: Get depth from visibility where depth exceeds the total reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070201 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, reading, lat, value
Sensor: snow_depth | fields: unit, lat, level, depth
Task: Get level from evaporation where ts appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070202 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, depth, ts, level
Sensor: air_quality | fields: level, lat, value, ts
Task: Fetch depth from frost where value is greater than the average of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070203 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, lon, reading, unit
Sensor: uv_index | fields: qc, ts, value, lat
Task: Fetch reading from frost where depth is greater than the total of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070204 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, type, level, lon
Sensor: lightning | fields: qc, type, level, value
Task: Get lon from dew_point where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070205 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, value, reading, lon
Sensor: uv_index | fields: level, type, reading, depth
Task: Get value from visibility where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070206 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lat, depth, level, type
Sensor: visibility | fields: depth, lat, qc, value
Task: Fetch reading from pressure where qc exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070207 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lat, value, unit, depth
Sensor: temperature | fields: depth, reading, qc, lon
Task: Retrieve reading from air_quality whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070208 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lat, depth, value, reading
Sensor: cloud_cover | fields: depth, lat, qc, value
Task: Get value from temperature where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070209 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, unit, level, type
Sensor: sunlight | fields: lat, unit, reading, qc
Task: Fetch lon from snow_depth where depth is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070210 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, unit, reading, type
Sensor: visibility | fields: reading, qc, type, depth
Task: Get depth from frost where value exceeds the total reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070211 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, lat, unit, ts
Sensor: lightning | fields: unit, reading, lat, level
Task: Retrieve lat from air_quality whose unit is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070212 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lon, type, qc
Sensor: turbidity | fields: reading, depth, lon, unit
Task: Get reading from evaporation where value exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070213 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: value, level, ts, unit
Sensor: drought_index | fields: qc, reading, value, type
Task: Retrieve lon from dew_point whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070214 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: type, qc, reading, lat
Sensor: visibility | fields: type, depth, reading, ts
Task: Retrieve lat from pressure that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070215 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, type, qc, ts
Sensor: dew_point | fields: lat, value, type, reading
Task: Retrieve reading from turbidity whose unit is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070216 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, ts, type, reading
Sensor: visibility | fields: reading, level, lat, unit
Task: Get lon from snow_depth where depth exceeds the count of depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070217 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, qc, level
Sensor: sunlight | fields: lat, depth, value, reading
Task: Get reading from evaporation where reading exceeds the minimum reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070218 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, reading, lat, lon
Sensor: soil_moisture | fields: reading, type, ts, depth
Task: Get depth from rainfall where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070219 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, value, lat, lon
Sensor: wind_speed | fields: qc, unit, level, reading
Task: Get depth from sunlight where reading exceeds the average value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070220 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, lon, reading, value
Sensor: cloud_cover | fields: lon, qc, unit, type
Task: Fetch level from wind_speed where depth is greater than the total of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070221 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, lat, unit, value
Sensor: soil_moisture | fields: lon, reading, unit, qc
Task: Get value from visibility where reading exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070222 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, lat, unit, ts
Sensor: humidity | fields: type, depth, reading, lat
Task: Get lon from uv_index where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070223 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lat, ts, qc
Sensor: evaporation | fields: lon, level, reading, qc
Task: Fetch lon from snow_depth where reading is greater than the maximum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070224 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, level, value, depth
Sensor: dew_point | fields: level, depth, qc, unit
Task: Get lat from uv_index where depth exceeds the average reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070225 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, ts, lat, type
Sensor: rainfall | fields: lon, qc, value, type
Task: Fetch depth from cloud_cover that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070226 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, unit, type, value
Sensor: evaporation | fields: level, lat, depth, value
Task: Get level from uv_index where reading exceeds the average value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070227 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, lat, level, reading
Sensor: soil_moisture | fields: type, depth, reading, lon
Task: Retrieve lon from air_quality with value above the SUM(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070228 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, unit, ts
Sensor: rainfall | fields: unit, ts, lat, depth
Task: Retrieve value from cloud_cover that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070229 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, unit, lon, type
Sensor: snow_depth | fields: level, value, depth, ts
Task: Fetch lon from frost that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070230 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, unit, depth, level
Sensor: rainfall | fields: level, ts, lon, lat
Task: Get value from humidity where depth appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070231 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: ts, lon, lat, qc
Sensor: visibility | fields: ts, level, lon, depth
Task: Get level from uv_index where value exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070232 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: qc, unit, depth, type
Sensor: turbidity | fields: level, lat, reading, unit
Task: Fetch lon from visibility that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070233 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, lat, type, value
Sensor: wind_speed | fields: level, reading, value, lon
Task: Retrieve value from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070234 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lon, qc, type, lat
Sensor: wind_speed | fields: value, level, lon, depth
Task: Fetch reading from frost where depth is greater than the minimum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070235 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, depth, qc, ts
Sensor: humidity | fields: ts, depth, qc, type
Task: Get lat from uv_index where reading exceeds the average reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070236 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, lon, qc, depth
Sensor: pressure | fields: lat, reading, value, ts
Task: Get reading from sunlight where depth exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070237 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, unit, type, qc
Sensor: sunlight | fields: type, ts, value, level
Task: Get depth from frost where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070238 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, ts, level, qc
Sensor: air_quality | fields: lat, qc, reading, lon
Task: Retrieve lat from snow_depth whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070239 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, depth, value, unit
Sensor: temperature | fields: type, level, qc, unit
Task: Fetch level from turbidity where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070240 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, lon, depth, type
Sensor: pressure | fields: reading, unit, level, ts
Task: Get lon from soil_moisture where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070241 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, unit, value, qc
Sensor: visibility | fields: depth, ts, level, type
Task: Retrieve depth from cloud_cover with depth above the COUNT(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070242 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, level, lat, type
Sensor: cloud_cover | fields: lat, lon, unit, type
Task: Fetch depth from drought_index where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070243 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, value, unit, depth
Sensor: snow_depth | fields: ts, reading, level, unit
Task: Retrieve lat from cloud_cover whose depth is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070244 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: level, ts, type, depth
Sensor: snow_depth | fields: qc, ts, level, value
Task: Fetch reading from rainfall that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070245 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, qc, level, value
Sensor: dew_point | fields: value, depth, lat, unit
Task: Retrieve level from cloud_cover with reading above the MAX(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070246 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, reading, ts, level
Sensor: lightning | fields: reading, unit, type, lon
Task: Fetch reading from frost that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070247 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, type, unit, depth
Sensor: evaporation | fields: level, depth, value, lat
Task: Fetch lon from uv_index where value is greater than the maximum of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070248 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, level, reading, lat
Sensor: pressure | fields: unit, depth, value, lat
Task: Get depth from temperature where depth appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070249 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: ts, lat, type, depth
Sensor: dew_point | fields: value, qc, level, depth
Task: Get lat from humidity where ts appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070250 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: reading, qc, level, lat
Sensor: drought_index | fields: type, ts, unit, lon
Task: Fetch depth from dew_point where depth is greater than the total of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070251 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, value, reading, lat
Sensor: sunlight | fields: lat, type, level, ts
Task: Fetch level from soil_moisture where depth is greater than the count of of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070252 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, reading, lat, level
Sensor: humidity | fields: depth, lat, reading, level
Task: Fetch value from cloud_cover that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070253 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, depth, unit, value
Sensor: lightning | fields: ts, type, value, reading
Task: Retrieve depth from wind_speed with value above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070254 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, ts, qc, lat
Sensor: rainfall | fields: qc, type, depth, value
Task: Retrieve lat from snow_depth whose type is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070255 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: level, lat, unit, value
Sensor: soil_moisture | fields: level, reading, lat, value
Task: Fetch value from humidity that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070256 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, qc, reading, value
Sensor: rainfall | fields: lat, depth, ts, lon
Task: Fetch lat from wind_speed that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070257 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, depth, unit, level
Sensor: air_quality | fields: lon, unit, lat, type
Task: Fetch lat from wind_speed where value is greater than the maximum of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070258 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, lon, level, ts
Sensor: lightning | fields: ts, type, lon, value
Task: Get lon from evaporation where type appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070259 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, unit, lat, qc
Sensor: evaporation | fields: ts, lat, reading, depth
Task: Get reading from air_quality where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070260 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, qc, value, lat
Sensor: rainfall | fields: type, reading, lon, qc
Task: Retrieve lon from cloud_cover with value above the COUNT(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070261 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, lon, ts, lat
Sensor: uv_index | fields: depth, lat, ts, unit
Task: Fetch value from snow_depth where reading is greater than the maximum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070262 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: depth, lat, lon, level
Sensor: soil_moisture | fields: qc, level, lon, depth
Task: Fetch reading from uv_index that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070263 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lat, type, unit, depth
Sensor: evaporation | fields: reading, depth, type, unit
Task: Retrieve reading from uv_index whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070264 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: depth, qc, type, lon
Sensor: uv_index | fields: lon, depth, qc, level
Task: Fetch lat from turbidity where reading is greater than the count of of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070265 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, reading, value
Sensor: wind_speed | fields: value, level, depth, lat
Task: Retrieve lat from temperature whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070266 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, depth, lon, reading
Sensor: uv_index | fields: unit, lat, level, type
Task: Retrieve reading from humidity with value above the MAX(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070267 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, depth, lon, value
Sensor: turbidity | fields: depth, reading, qc, ts
Task: Fetch depth from cloud_cover where depth is greater than the maximum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070268 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, depth, unit, qc
Sensor: rainfall | fields: unit, depth, lon, value
Task: Fetch depth from snow_depth where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070269 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, type, lat, qc
Sensor: uv_index | fields: lon, ts, lat, type
Task: Retrieve reading from soil_moisture with depth above the MAX(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070270 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, reading, lat
Sensor: cloud_cover | fields: reading, lon, value, lat
Task: Get level from drought_index where value exceeds the count of value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070271 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, value, reading, type
Sensor: lightning | fields: level, unit, lon, depth
Task: Get lon from soil_moisture where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070272 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, value, type, lon
Sensor: temperature | fields: lon, unit, lat, qc
Task: Retrieve level from sunlight that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070273 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, level, lat, reading
Sensor: soil_moisture | fields: reading, qc, depth, lat
Task: Fetch level from sunlight where unit exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070274 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, value, unit, lon
Sensor: visibility | fields: qc, reading, depth, type
Task: Get reading from uv_index where value exceeds the minimum value from visibility for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070275 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, reading, depth, qc
Sensor: lightning | fields: reading, ts, qc, type
Task: Get level from soil_moisture where value exceeds the total depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070276 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: value, reading, lat, depth
Sensor: uv_index | fields: level, qc, unit, reading
Task: Get lat from temperature where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070277 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, reading, lon, ts
Sensor: drought_index | fields: ts, level, lat, type
Task: Retrieve level from dew_point with value above the MIN(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070278 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, type, depth, unit
Sensor: humidity | fields: lon, reading, unit, level
Task: Fetch lat from visibility where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070279 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lat, qc, type
Sensor: drought_index | fields: type, level, lon, ts
Task: Get value from cloud_cover where reading exceeds the average value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070280 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, lat, unit, level
Sensor: lightning | fields: depth, type, reading, value
Task: Retrieve lon from uv_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070281 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, lat, unit
Sensor: frost | fields: ts, lat, unit, level
Task: Fetch level from soil_moisture where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070282 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, level, unit, lon
Sensor: frost | fields: lat, reading, lon, unit
Task: Get depth from humidity where value exceeds the average reading from frost for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070283 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, reading, type, unit
Sensor: pressure | fields: type, qc, unit, value
Task: Get lat from lightning where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070284 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, type, ts, depth
Sensor: cloud_cover | fields: qc, ts, level, lon
Task: Fetch depth from dew_point where reading is greater than the maximum of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070285 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, unit, reading
Sensor: visibility | fields: value, reading, lat, qc
Task: Get lon from soil_moisture where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070286 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, qc, value, reading
Sensor: pressure | fields: unit, qc, level, ts
Task: Get depth from frost where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070287 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, qc, value, unit
Sensor: drought_index | fields: unit, reading, value, lat
Task: Fetch lon from frost where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070288 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, lat, value, level
Sensor: visibility | fields: qc, level, unit, value
Task: Retrieve level from air_quality whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070289 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, value, lat, ts
Sensor: frost | fields: qc, level, ts, lat
Task: Get value from wind_speed where value exceeds the total depth from frost for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070290 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, level, unit, reading
Sensor: lightning | fields: reading, value, qc, lat
Task: Retrieve lon from pressure that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070291 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, lon, ts, reading
Sensor: air_quality | fields: reading, value, level, depth
Task: Get level from uv_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070292 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, qc, type, level
Sensor: turbidity | fields: lon, qc, value, depth
Task: Get reading from lightning where value exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070293 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, lon, qc, depth
Sensor: temperature | fields: lat, unit, depth, ts
Task: Fetch level from soil_moisture where reading is greater than the minimum of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070294 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, qc, ts, depth
Sensor: dew_point | fields: depth, type, lat, lon
Task: Get depth from snow_depth where reading exceeds the minimum reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070295 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: level, lon, type, value
Sensor: evaporation | fields: type, depth, lat, value
Task: Get level from air_quality where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070296 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, level, value, reading
Sensor: wind_speed | fields: ts, depth, qc, type
Task: Get lon from uv_index where reading exceeds the average reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070297 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, value, reading, qc
Sensor: sunlight | fields: ts, unit, lon, type
Task: Get value from humidity where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070298 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, lon, reading, value
Sensor: uv_index | fields: lon, qc, level, depth
Task: Fetch reading from snow_depth that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.