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: pressure | code: clr | fields: level, qc, depth, value
Sensor: wind_speed | fields: level, lon, unit, value
Task: Get depth from pressure where reading exceeds the average depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011500 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lat, ts, level
Sensor: visibility | fields: unit, ts, depth, level
Task: Retrieve value from air_quality with reading above the COUNT(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011501 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, unit, level, depth
Sensor: wind_speed | fields: lon, lat, qc, reading
Task: Retrieve reading from visibility with reading above the MAX(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011502 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: value, type, qc, depth
Sensor: temperature | fields: reading, lon, type, lat
Task: Retrieve depth from uv_index whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011503 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, qc, unit, level
Sensor: cloud_cover | fields: lon, qc, lat, depth
Task: Fetch reading from temperature that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011504 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: unit, lat, reading, type
Sensor: temperature | fields: ts, lat, value, reading
Task: Fetch level from visibility where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011505 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, reading, unit, qc
Sensor: temperature | fields: value, ts, depth, type
Task: Retrieve reading from cloud_cover that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011506 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, level, reading, lat
Sensor: wind_speed | fields: qc, unit, lat, ts
Task: Fetch level from pressure where qc exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011507 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, unit, value
Sensor: cloud_cover | fields: ts, value, level, type
Task: Retrieve depth from sunlight whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011508 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, qc, type, level
Sensor: cloud_cover | fields: level, unit, depth, type
Task: Get reading from wind_speed where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011509 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, lon, qc, reading
Sensor: lightning | fields: level, unit, value, qc
Task: Retrieve reading from evaporation whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011510 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, depth, lon, lat
Sensor: sunlight | fields: ts, value, lon, qc
Task: Retrieve value from snow_depth with value above the AVG(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011511 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, ts, value, unit
Sensor: sunlight | fields: type, value, unit, depth
Task: Retrieve lat from rainfall that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011512 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, value, level, reading
Sensor: sunlight | fields: type, lon, depth, level
Task: Fetch lon from humidity where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011513 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, unit, reading, depth
Sensor: evaporation | fields: lat, qc, ts, depth
Task: Get reading from dew_point where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011514 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lon, depth, unit
Sensor: frost | fields: level, lon, unit, qc
Task: Get lat from wind_speed where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011515 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, depth, value, qc
Sensor: lightning | fields: level, value, reading, lat
Task: Retrieve depth from cloud_cover whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011516 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, unit, reading, lon
Sensor: sunlight | fields: ts, type, lat, qc
Task: Get reading from humidity where depth exceeds the maximum reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011517 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, reading, qc, level
Sensor: uv_index | fields: level, unit, type, depth
Task: Fetch level from turbidity where reading is greater than the maximum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011518 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, lat, ts, unit
Sensor: evaporation | fields: depth, lon, unit, level
Task: Get lon from pressure where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011519 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, reading, qc, type
Sensor: snow_depth | fields: level, type, value, ts
Task: Retrieve lat from humidity whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011520 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, reading, ts, lon
Sensor: temperature | fields: qc, ts, reading, unit
Task: Retrieve level from cloud_cover whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011521 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, lat, lon, ts
Sensor: air_quality | fields: depth, qc, level, unit
Task: Get reading from frost where reading exceeds the count of depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011522 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, value, level, lon
Sensor: frost | fields: lat, level, value, unit
Task: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011523 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: ts, lon, type, depth
Sensor: soil_moisture | fields: type, level, unit, lon
Task: Retrieve level from lightning that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011524 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, type, level, value
Sensor: sunlight | fields: ts, lat, value, level
Task: Get reading from drought_index where reading exceeds the average value from sunlight for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011525 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, lon, ts, level
Sensor: soil_moisture | fields: ts, lat, depth, lon
Task: Fetch value from pressure where value is greater than the count of of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011526 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lon, qc, value, type
Sensor: air_quality | fields: reading, value, depth, unit
Task: Fetch value from temperature where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011527 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: qc, type, ts, value
Sensor: temperature | fields: reading, ts, depth, unit
Task: Retrieve lat from humidity whose ts is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011528 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, depth, lon, unit
Sensor: visibility | fields: value, lat, lon, reading
Task: Fetch depth from uv_index where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011529 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: qc, unit, lat, lon
Sensor: soil_moisture | fields: depth, lon, level, lat
Task: Get level from visibility where reading exceeds the total value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011530 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, value, reading, lat
Sensor: wind_speed | fields: level, lat, lon, qc
Task: Get value from humidity where value exceeds the average reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011531 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, unit, reading, depth
Sensor: evaporation | fields: type, lon, level, depth
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011532 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, ts, reading, depth
Sensor: turbidity | fields: unit, value, ts, reading
Task: Get reading from cloud_cover where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011533 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lat, level, ts, unit
Sensor: sunlight | fields: ts, depth, qc, lat
Task: Retrieve lon from turbidity whose unit is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011534 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, qc, unit, level
Sensor: cloud_cover | fields: level, unit, value, qc
Task: Retrieve reading from rainfall that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011535 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, depth, lat, reading
Sensor: turbidity | fields: type, lat, reading, qc
Task: Get depth from frost where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011536 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, qc, lon, reading
Sensor: uv_index | fields: value, reading, level, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011537 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, unit, lon, depth
Sensor: uv_index | fields: qc, ts, depth, unit
Task: Get reading from lightning where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011538 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: reading, type, unit, qc
Sensor: humidity | fields: unit, depth, value, lon
Task: Fetch depth from rainfall where reading is greater than the count of of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011539 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, qc, ts, lat
Sensor: dew_point | fields: lon, type, qc, depth
Task: Get lat from soil_moisture where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011540 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, unit, type, reading
Sensor: evaporation | fields: reading, depth, lon, level
Task: Fetch lon from drought_index where value is greater than the count of of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011541 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, type, ts, reading
Sensor: frost | fields: lon, unit, level, depth
Task: Retrieve lon from evaporation with depth above the SUM(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011542 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, type, reading, depth
Sensor: pressure | fields: level, lon, depth, reading
Task: Retrieve lon from snow_depth that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"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_011543 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, reading, level, value
Sensor: soil_moisture | fields: value, unit, lat, qc
Task: Retrieve depth from frost that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"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_011544 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, ts, lon, qc
Sensor: pressure | fields: lat, qc, lon, type
Task: Get lon from visibility where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"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_011545 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: type, lat, lon, depth
Sensor: lightning | fields: reading, depth, lon, lat
Task: Fetch lat from frost where value is greater than the count of of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011546 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: level, lon, type, reading
Sensor: wind_speed | fields: lon, ts, depth, type
Task: Get level from drought_index where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011547 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, ts, lon, qc
Sensor: uv_index | fields: lat, lon, level, unit
Task: Retrieve value from lightning with reading above the SUM(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"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_011548 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, qc, value, unit
Sensor: humidity | fields: lon, lat, type, level
Task: Retrieve level from cloud_cover with reading above the COUNT(value) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011549 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, type, ts, qc
Sensor: air_quality | fields: reading, qc, unit, ts
Task: Retrieve lat from rainfall whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011550 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, lat, ts, value
Sensor: evaporation | fields: level, ts, value, lon
Task: Get depth from sunlight where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011551 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, value, unit, qc
Sensor: frost | fields: ts, reading, value, depth
Task: Get reading from humidity where value exceeds the minimum value from frost for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011552 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, level, lon, type
Sensor: humidity | fields: ts, level, lat, qc
Task: Get value from sunlight where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011553 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, level, value, depth
Sensor: wind_speed | fields: lat, qc, ts, reading
Task: Retrieve level from frost with depth above the AVG(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011554 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, value, unit, level
Sensor: humidity | fields: qc, reading, unit, type
Task: Get value from sunlight where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011555 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, level, unit, reading
Sensor: wind_speed | fields: level, unit, reading, ts
Task: Fetch value from turbidity where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011556 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, type, level
Sensor: wind_speed | fields: ts, reading, level, value
Task: Retrieve value from air_quality that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011557 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, value, ts, reading
Sensor: air_quality | fields: unit, level, depth, lat
Task: Retrieve lat from frost whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011558 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, unit, type, value
Sensor: sunlight | fields: depth, qc, lat, lon
Task: Get level from uv_index where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011559 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, unit, level, lon
Sensor: evaporation | fields: depth, lat, lon, reading
Task: Get value from temperature where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011560 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, depth, type, lon
Sensor: frost | fields: value, qc, unit, lat
Task: Retrieve depth from air_quality whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011561 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, unit, ts, lon
Sensor: frost | fields: qc, depth, unit, lon
Task: Retrieve lon from wind_speed whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011562 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, level, qc, lon
Sensor: sunlight | fields: reading, lat, lon, level
Task: Fetch depth from rainfall where value is greater than the average of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011563 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, unit, lon, type
Sensor: wind_speed | fields: type, lon, level, depth
Task: Fetch lon from pressure where qc exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011564 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, value, depth, level
Sensor: temperature | fields: unit, lat, reading, depth
Task: Fetch lon from dew_point where value is greater than the average of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011565 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: ts, type, lat, value
Sensor: pressure | fields: lon, reading, ts, qc
Task: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011566 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, lat, depth, type
Sensor: dew_point | fields: type, depth, lat, qc
Task: Get level from sunlight where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011567 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, level, qc, depth
Sensor: evaporation | fields: level, unit, qc, reading
Task: Retrieve depth from turbidity whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011568 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: type, lat, unit, lon
Sensor: soil_moisture | fields: lat, qc, ts, lon
Task: Fetch lon from sunlight where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011569 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, level, unit, qc
Sensor: drought_index | fields: level, ts, unit, lat
Task: Get value from evaporation where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011570 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: reading, type, qc, depth
Sensor: air_quality | fields: depth, lat, value, lon
Task: Retrieve lat from rainfall that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011571 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, ts, reading, qc
Sensor: dew_point | fields: level, unit, reading, depth
Task: Retrieve lat from sunlight with reading above the SUM(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011572 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lon, qc, depth
Sensor: temperature | fields: ts, type, depth, value
Task: Get value from evaporation where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011573 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, depth, ts, reading
Sensor: wind_speed | fields: qc, ts, type, lon
Task: Get lat from uv_index where value exceeds the maximum reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011574 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: level, type, lon, ts
Sensor: air_quality | fields: unit, lat, value, qc
Task: Fetch reading from pressure that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011575 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, depth, unit, qc
Sensor: lightning | fields: type, ts, lat, value
Task: Fetch depth from dew_point that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011576 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, depth, unit, lat
Sensor: uv_index | fields: reading, level, qc, lon
Task: Retrieve lon from evaporation with value above the AVG(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011577 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: value, lat, unit, depth
Sensor: dew_point | fields: value, ts, type, lon
Task: Fetch reading from frost that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011578 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, qc, depth, reading
Sensor: cloud_cover | fields: lat, unit, reading, value
Task: Get reading from soil_moisture where reading exceeds the maximum depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011579 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, value, lon, level
Sensor: humidity | fields: lon, reading, value, depth
Task: Fetch depth from turbidity where value is greater than the average of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011580 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lon, ts, reading, qc
Sensor: evaporation | fields: depth, level, unit, value
Task: Retrieve reading from frost whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011581 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, ts, lat, type
Sensor: air_quality | fields: qc, reading, lat, lon
Task: Fetch depth from temperature where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011582 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, lon, level, type
Sensor: humidity | fields: value, unit, lon, depth
Task: Get lat from turbidity where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011583 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, qc, depth, lon
Sensor: wind_speed | fields: lat, reading, value, lon
Task: Retrieve value from pressure whose qc is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011584 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: reading, lat, level, type
Sensor: pressure | fields: value, type, reading, depth
Task: Fetch reading from lightning where ts exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011585 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, level, value, qc
Sensor: visibility | fields: depth, qc, reading, level
Task: Retrieve value from rainfall that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011586 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, ts, qc, lon
Sensor: turbidity | fields: reading, depth, type, value
Task: Fetch value from snow_depth that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011587 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, qc, level, depth
Sensor: drought_index | fields: lat, ts, lon, reading
Task: Fetch lon from humidity where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"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_011588 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, type, unit, value
Sensor: air_quality | fields: value, lat, level, reading
Task: Fetch level from temperature where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011589 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: depth, reading, qc, value
Sensor: air_quality | fields: value, lat, reading, level
Task: Retrieve level from evaporation that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011590 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: level, unit, lat, reading
Sensor: snow_depth | fields: depth, lon, reading, ts
Task: Retrieve reading from frost that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011591 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, reading, depth, ts
Sensor: rainfall | fields: depth, level, qc, ts
Task: Retrieve depth from humidity that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011592 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, type, reading
Sensor: snow_depth | fields: ts, unit, qc, lon
Task: Fetch value from humidity where depth is greater than the count of of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011593 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, level, lat, reading
Sensor: sunlight | fields: ts, type, qc, lon
Task: Fetch depth from uv_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011594 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, reading, qc, unit
Sensor: evaporation | fields: lat, level, lon, type
Task: Retrieve lon from turbidity with depth above the COUNT(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011595 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, type, ts, lon
Sensor: snow_depth | fields: unit, depth, qc, level
Task: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011596 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, qc, lon, ts
Sensor: pressure | fields: lon, qc, ts, reading
Task: Get depth from turbidity where value exceeds the average value from pressure for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011597 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, unit, value, lat
Sensor: soil_moisture | fields: ts, type, depth, lon
Task: Retrieve reading from dew_point whose depth is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011598 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, type, ts, lon
Sensor: dew_point | fields: type, value, qc, ts
Task: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.