variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, value, level, type
Sensor: rainfall | fields: lat, lon, unit, ts
Task: Get value from drought_index where value exceeds the maximum reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007200 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, lat, depth, ts
Sensor: visibility | fields: level, depth, lon, unit
Task: Retrieve level from turbidity with depth above the SUM(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007201 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, ts, reading, level
Sensor: temperature | fields: reading, ts, unit, depth
Task: Fetch lon from uv_index where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007202 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, qc, value, unit
Sensor: air_quality | fields: lon, qc, lat, depth
Task: Get lon from snow_depth where depth appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007203 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, unit, level, type
Sensor: dew_point | fields: unit, depth, qc, ts
Task: Fetch level from visibility where value is greater than the average of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007204 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, reading, ts, type
Sensor: wind_speed | fields: qc, reading, ts, depth
Task: Get depth from uv_index where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007205 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, reading, type, level
Sensor: turbidity | fields: value, reading, ts, depth
Task: Get reading from snow_depth where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007206 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, lon, reading, depth
Sensor: dew_point | fields: reading, lat, value, ts
Task: Get level from pressure where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007207 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, ts, unit, qc
Sensor: lightning | fields: reading, lon, qc, depth
Task: Retrieve lat from temperature whose ts is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007208 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, unit, reading, type
Sensor: turbidity | fields: depth, level, qc, ts
Task: Get lon from wind_speed where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007209 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, qc, type, lat
Sensor: evaporation | fields: lat, qc, lon, value
Task: Fetch level from humidity where reading is greater than the maximum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007210 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, lon, ts
Sensor: uv_index | fields: value, qc, level, unit
Task: Retrieve level from snow_depth that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007211 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lon, depth, ts, qc
Sensor: temperature | fields: reading, type, unit, ts
Task: Retrieve value from visibility with reading above the MAX(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007212 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: unit, lat, value, type
Sensor: sunlight | fields: level, lon, type, reading
Task: Retrieve depth from humidity whose depth is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007213 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, lat, reading, ts
Sensor: rainfall | fields: depth, qc, type, lat
Task: Get lon from temperature where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007214 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, depth, unit, lon
Sensor: air_quality | fields: level, unit, type, ts
Task: Get depth from evaporation where reading exceeds the average value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007215 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, ts, value, unit
Sensor: drought_index | fields: qc, level, unit, ts
Task: Get value from lightning where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007216 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, type, lat, reading
Sensor: soil_moisture | fields: qc, type, depth, ts
Task: Fetch lat from frost where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007217 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, reading, type, lon
Sensor: evaporation | fields: lat, qc, ts, depth
Task: Retrieve value from drought_index whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007218 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, unit, lon, level
Sensor: lightning | fields: unit, lon, depth, lat
Task: Retrieve level from snow_depth whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007219 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: value, unit, type, level
Sensor: visibility | fields: depth, lon, ts, unit
Task: Retrieve lat from pressure that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007220 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, lat, qc, value
Sensor: dew_point | fields: qc, lat, unit, value
Task: Retrieve reading from sunlight with value above the AVG(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007221 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, reading, depth, lon
Sensor: uv_index | fields: unit, ts, depth, lon
Task: Retrieve reading from snow_depth with reading above the SUM(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007222 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, value, level, qc
Sensor: cloud_cover | fields: ts, reading, lat, unit
Task: Fetch depth from drought_index where depth is greater than the count of of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007223 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, level, lon, ts
Sensor: soil_moisture | fields: reading, depth, value, lon
Task: Get reading from pressure where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007224 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: unit, lon, depth, type
Sensor: soil_moisture | fields: unit, level, lon, ts
Task: Fetch value from temperature where type exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007225 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, value, lon, lat
Sensor: uv_index | fields: reading, lon, value, type
Task: Fetch lon from soil_moisture that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007226 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: qc, level, unit, lon
Sensor: temperature | fields: unit, ts, lat, type
Task: Retrieve value from humidity that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007227 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, reading, lat, value
Sensor: drought_index | fields: ts, qc, type, lat
Task: Fetch lon from rainfall where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007228 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: type, qc, ts, value
Sensor: visibility | fields: level, ts, value, lon
Task: Get level from frost where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007229 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, lat, unit, lon
Sensor: cloud_cover | fields: type, unit, reading, depth
Task: Retrieve level from pressure whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007230 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, reading, type, qc
Sensor: snow_depth | fields: depth, lon, lat, reading
Task: Fetch level from drought_index where depth is greater than the total of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007231 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, qc, reading, value
Sensor: lightning | fields: ts, qc, lon, reading
Task: Retrieve reading from evaporation whose ts is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007232 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, level, reading, value
Sensor: turbidity | fields: ts, lon, level, qc
Task: Get lat from wind_speed where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007233 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, qc, lon, value
Sensor: temperature | fields: lon, value, depth, level
Task: Get lat from turbidity where reading exceeds the total depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007234 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, ts, type, lon
Sensor: dew_point | fields: lon, level, reading, unit
Task: Fetch lat from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007235 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, lat, level, ts
Sensor: dew_point | fields: level, reading, lat, ts
Task: Get value from soil_moisture where reading exceeds the count of value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007236 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, value, reading, unit
Sensor: soil_moisture | fields: ts, lon, level, depth
Task: Get depth from frost where value exceeds the average value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007237 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, lat, lon, qc
Sensor: frost | fields: unit, ts, lat, lon
Task: Fetch level from uv_index where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007238 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: ts, level, qc, lon
Sensor: visibility | fields: level, ts, type, value
Task: Retrieve lat from dew_point whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007239 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, qc, lat, value
Sensor: humidity | fields: ts, unit, lon, value
Task: Get depth from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007240 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, reading, unit, type
Sensor: visibility | fields: unit, level, type, lat
Task: Get lon from turbidity where reading exceeds the average value from visibility for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007241 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, level, value, depth
Sensor: sunlight | fields: value, depth, unit, lat
Task: Get lon from snow_depth where value exceeds the total value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007242 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, type, value, level
Sensor: pressure | fields: unit, ts, reading, level
Task: Get reading from air_quality where unit appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007243 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, unit, lat, type
Sensor: cloud_cover | fields: unit, lon, depth, level
Task: Retrieve lon from evaporation whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007244 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, reading, value, qc
Sensor: pressure | fields: level, lon, value, lat
Task: Fetch reading from frost where reading is greater than the total of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007245 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, type, reading, lat
Sensor: drought_index | fields: type, qc, value, unit
Task: Retrieve reading from frost with depth above the AVG(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007246 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, value, qc, reading
Sensor: sunlight | fields: depth, reading, unit, qc
Task: Retrieve depth from temperature whose qc is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007247 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, qc, lon, reading
Sensor: air_quality | fields: value, lon, unit, lat
Task: Retrieve value from snow_depth that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007248 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, lon, value, qc
Sensor: cloud_cover | fields: depth, type, lat, level
Task: Fetch level from visibility where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007249 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, level, type, depth
Sensor: cloud_cover | fields: depth, type, unit, value
Task: Get lon from drought_index where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007250 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, level, ts, depth
Sensor: rainfall | fields: depth, lat, ts, qc
Task: Retrieve level from frost with depth above the AVG(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"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_007251 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, lat, ts, level
Sensor: drought_index | fields: type, lon, depth, lat
Task: Retrieve reading from soil_moisture with depth above the MAX(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007252 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, qc, ts, unit
Sensor: humidity | fields: depth, unit, type, value
Task: Get lon from visibility where type appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007253 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, lon, reading, value
Sensor: rainfall | fields: depth, unit, value, level
Task: Retrieve level from pressure that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007254 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, type, value, level
Sensor: frost | fields: ts, lat, reading, level
Task: Fetch value from humidity where depth is greater than the minimum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007255 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, value, type, lat
Sensor: snow_depth | fields: unit, type, value, ts
Task: Retrieve lat from visibility whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007256 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, type, reading, ts
Sensor: air_quality | fields: type, unit, value, reading
Task: Get reading from lightning where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007257 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, reading, lat, lon
Sensor: rainfall | fields: type, value, ts, depth
Task: Retrieve value from temperature with reading above the COUNT(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007258 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, ts, level, lat
Sensor: wind_speed | fields: level, qc, reading, value
Task: Fetch reading from temperature that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007259 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: value, lon, depth, unit
Sensor: evaporation | fields: ts, lat, reading, type
Task: Get depth from uv_index where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007260 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, depth, ts, reading
Sensor: wind_speed | fields: level, reading, qc, unit
Task: Get level from snow_depth where value exceeds the total reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007261 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, unit, ts, depth
Sensor: turbidity | fields: unit, reading, depth, type
Task: Retrieve depth from wind_speed that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007262 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, qc, level, depth
Sensor: turbidity | fields: depth, value, type, reading
Task: Retrieve lon from wind_speed whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007263 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, ts, qc, value
Sensor: turbidity | fields: lat, type, reading, depth
Task: Retrieve reading from temperature with value above the SUM(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007264 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, value, lon, depth
Sensor: drought_index | fields: level, value, depth, type
Task: Fetch level from humidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007265 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lat, lon, value, level
Sensor: pressure | fields: depth, level, ts, unit
Task: Fetch level from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007266 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, unit, value, lat
Sensor: cloud_cover | fields: unit, reading, qc, lon
Task: Retrieve lon from dew_point whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007267 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, value, reading, lat
Sensor: wind_speed | fields: lon, depth, lat, qc
Task: Fetch level from drought_index that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007268 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, level, depth, unit
Sensor: temperature | fields: value, depth, level, lon
Task: Fetch level from air_quality where reading is greater than the maximum of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007269 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: value, unit, depth, qc
Sensor: rainfall | fields: unit, ts, depth, lon
Task: Get lat from evaporation where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007270 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, unit, reading, value
Sensor: pressure | fields: type, depth, level, lon
Task: Fetch lat from temperature that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007271 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, depth, type, value
Sensor: drought_index | fields: reading, qc, level, lon
Task: Get value from visibility where value exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007272 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, lon, level, value
Sensor: uv_index | fields: type, depth, unit, reading
Task: Fetch level from visibility where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007273 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, lat, unit
Sensor: sunlight | fields: unit, qc, lat, depth
Task: Retrieve lon from cloud_cover with reading above the AVG(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"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_007274 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: qc, ts, lon, lat
Sensor: air_quality | fields: reading, depth, value, unit
Task: Fetch lat from uv_index where value is greater than the total of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007275 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, level, value, ts
Sensor: rainfall | fields: lon, lat, unit, value
Task: Retrieve lon from uv_index that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007276 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: value, type, lon, reading
Sensor: temperature | fields: reading, value, ts, qc
Task: Get depth from air_quality where reading exceeds the maximum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007277 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, depth, lat, unit
Sensor: visibility | fields: lat, value, type, reading
Task: Retrieve lat from rainfall whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007278 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, value, ts, depth
Sensor: uv_index | fields: qc, level, type, reading
Task: Get depth from air_quality where reading exceeds the average value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007279 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, depth, lat, reading
Sensor: rainfall | fields: value, qc, reading, depth
Task: Get lat from lightning where value exceeds the total value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"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_007280 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, reading, level, qc
Sensor: evaporation | fields: ts, value, reading, unit
Task: Get lon from drought_index where reading exceeds the average depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007281 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, type, reading, level
Sensor: turbidity | fields: value, type, qc, lat
Task: Fetch lat from uv_index where depth is greater than the average of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007282 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, value, reading, depth
Sensor: frost | fields: ts, type, reading, unit
Task: Retrieve lat from turbidity that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007283 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, qc, reading, ts
Sensor: wind_speed | fields: value, depth, level, reading
Task: Retrieve level from sunlight that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007284 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, reading, ts, type
Sensor: sunlight | fields: reading, ts, value, level
Task: Get value from drought_index where value exceeds the minimum depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007285 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, value, depth, type
Sensor: drought_index | fields: lat, unit, lon, ts
Task: Retrieve lat from cloud_cover whose qc is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007286 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, qc, value, lat
Sensor: lightning | fields: qc, unit, lon, type
Task: Get lat from drought_index where reading exceeds the minimum value from lightning for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007287 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, ts, reading, qc
Sensor: wind_speed | fields: ts, type, value, reading
Task: Retrieve lon from snow_depth whose unit is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007288 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, ts, lon, lat
Sensor: turbidity | fields: reading, qc, depth, ts
Task: Fetch level from dew_point where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007289 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, lat, unit, qc
Sensor: soil_moisture | fields: type, level, reading, value
Task: Get lat from humidity where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007290 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, unit, lon, level
Sensor: humidity | fields: level, reading, value, qc
Task: Retrieve lat from cloud_cover with value above the SUM(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007291 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lon, value, reading
Sensor: air_quality | fields: qc, type, value, lon
Task: Fetch reading from dew_point that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007292 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, depth, lat, ts
Sensor: wind_speed | fields: lat, reading, type, depth
Task: Get lon from visibility where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007293 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, lat, unit
Sensor: rainfall | fields: type, reading, lon, depth
Task: Fetch lat from wind_speed where value is greater than the count of of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007294 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, level, type, unit
Sensor: turbidity | fields: level, depth, value, qc
Task: Get lon from air_quality where reading exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"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_007295 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: value, qc, lat, level
Sensor: soil_moisture | fields: unit, ts, lat, value
Task: Retrieve level from pressure that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007296 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: type, reading, level, lon
Sensor: sunlight | fields: qc, ts, lon, type
Task: Fetch level from evaporation that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007297 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lon, type, depth
Sensor: lightning | fields: reading, depth, value, qc
Task: Retrieve lat from uv_index with reading above the AVG(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007298 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, type, lon, value
Sensor: pressure | fields: lat, level, qc, lon
Task: Get lon from evaporation where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.