variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, value, ts, unit
Sensor: wind_speed | fields: ts, type, reading, level
Task: Get value from lightning where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049500 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, value, ts, qc
Sensor: cloud_cover | fields: ts, lat, value, level
Task: Fetch reading from drought_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049501 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, reading, unit, ts
Sensor: evaporation | fields: lat, reading, ts, level
Task: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049502 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, level, lon, qc
Sensor: rainfall | fields: reading, depth, lon, level
Task: Fetch reading from frost where reading is greater than the total of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049503 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, qc, ts, depth
Sensor: air_quality | fields: level, qc, ts, lat
Task: Get reading from frost where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049504 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: reading, lat, value, depth
Sensor: pressure | fields: depth, unit, lon, lat
Task: Fetch depth from dew_point that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049505 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, value, lon, lat
Sensor: rainfall | fields: qc, ts, depth, lat
Task: Fetch depth from wind_speed where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049506 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, unit, lat, value
Sensor: snow_depth | fields: depth, ts, type, unit
Task: Get lon from dew_point where reading exceeds the maximum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049507 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, qc, reading, level
Sensor: rainfall | fields: ts, qc, lat, reading
Task: Get depth from lightning where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049508 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, type, level, depth
Sensor: frost | fields: unit, level, lon, type
Task: Get lon from dew_point where depth exceeds the total value from frost for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049509 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, depth, reading, lon
Sensor: cloud_cover | fields: value, type, reading, unit
Task: Fetch lat from rainfall that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049510 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, qc, ts, lat
Sensor: cloud_cover | fields: value, reading, ts, level
Task: Get reading from uv_index where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049511 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lat, qc, lon, value
Sensor: frost | fields: qc, unit, lat, depth
Task: Fetch value from humidity that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049512 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, depth, type, reading
Sensor: air_quality | fields: type, depth, lon, level
Task: Fetch value from humidity where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049513 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, lat, level, unit
Sensor: temperature | fields: depth, unit, lat, value
Task: Retrieve reading from humidity with depth above the MIN(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049514 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lon, lat, value, ts
Sensor: humidity | fields: qc, type, unit, value
Task: Get depth from evaporation where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049515 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, reading, value, unit
Sensor: humidity | fields: unit, lat, lon, qc
Task: Retrieve value from uv_index whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049516 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: type, lon, unit, value
Sensor: frost | fields: ts, lon, qc, level
Task: Fetch lon from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049517 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, depth, reading, type
Sensor: soil_moisture | fields: unit, reading, depth, lon
Task: Fetch lat from cloud_cover that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049518 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, type, unit, level
Sensor: temperature | fields: lon, reading, unit, lat
Task: Fetch level from visibility where reading is greater than the average of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049519 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lon, value, qc
Sensor: sunlight | fields: depth, value, lat, ts
Task: Fetch lat from rainfall where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049520 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: type, reading, unit, ts
Sensor: pressure | fields: reading, value, depth, lon
Task: Fetch lon from visibility that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049521 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, depth, level, value
Sensor: uv_index | fields: lat, ts, lon, type
Task: Get level from evaporation where reading exceeds the total reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049522 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, lon, type, depth
Sensor: drought_index | fields: reading, depth, value, ts
Task: Fetch level from rainfall where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049523 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: depth, lat, lon, qc
Sensor: cloud_cover | fields: unit, ts, lat, lon
Task: Fetch level from evaporation where reading is greater than the total of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049524 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, ts, depth, qc
Sensor: sunlight | fields: depth, ts, value, lon
Task: Fetch lon from dew_point where value is greater than the maximum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049525 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, qc, value, lat
Sensor: lightning | fields: depth, unit, lon, level
Task: Fetch lon from drought_index where type exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049526 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lat, level, type
Sensor: wind_speed | fields: ts, reading, qc, lat
Task: Get lon from cloud_cover where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049527 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: level, depth, lon, qc
Sensor: rainfall | fields: value, reading, ts, level
Task: Retrieve lon from evaporation with reading above the COUNT(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049528 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: level, ts, type, depth
Sensor: soil_moisture | fields: depth, qc, level, lon
Task: Fetch level from dew_point where value is greater than the minimum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049529 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, lat, level, unit
Sensor: temperature | fields: reading, level, lon, lat
Task: Get lat from cloud_cover where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049530 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, qc, level, lat
Sensor: snow_depth | fields: reading, value, qc, lat
Task: Get reading from dew_point where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049531 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, ts, lat, qc
Sensor: dew_point | fields: value, reading, qc, lat
Task: Retrieve lat from humidity whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049532 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, unit, depth, qc
Sensor: soil_moisture | fields: depth, value, reading, lon
Task: Fetch lon from frost where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049533 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, type, qc, unit
Sensor: frost | fields: type, depth, reading, ts
Task: Fetch level from soil_moisture where value is greater than the count of of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049534 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, ts, value, level
Sensor: turbidity | fields: depth, unit, value, lon
Task: Get value from wind_speed where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049535 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, type, lat, value
Sensor: snow_depth | fields: level, type, lon, depth
Task: Fetch level from dew_point that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049536 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, lat, value, depth
Sensor: turbidity | fields: unit, qc, level, lat
Task: Get value from rainfall where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049537 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: depth, type, reading, qc
Sensor: turbidity | fields: unit, depth, lon, ts
Task: Fetch depth from lightning that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049538 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, unit, ts, level
Sensor: dew_point | fields: type, value, unit, lon
Task: Fetch lon from cloud_cover where value is greater than the count of of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049539 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, qc, unit, level
Sensor: pressure | fields: ts, type, depth, lon
Task: Fetch value from air_quality where reading is greater than the average of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049540 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, qc, unit, type
Sensor: soil_moisture | fields: qc, lat, value, unit
Task: Retrieve lat from frost with value above the COUNT(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049541 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, qc, depth, value
Sensor: humidity | fields: depth, lon, qc, value
Task: Fetch reading from cloud_cover that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049542 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: depth, lat, unit, type
Sensor: evaporation | fields: depth, value, level, ts
Task: Get depth from temperature where value exceeds the average value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"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_049543 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, value, depth, unit
Sensor: pressure | fields: qc, ts, level, depth
Task: Retrieve depth from sunlight that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049544 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lon, level, unit
Sensor: visibility | fields: qc, lon, type, ts
Task: Retrieve value from cloud_cover whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049545 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, reading, lon, value
Sensor: drought_index | fields: lat, qc, level, lon
Task: Fetch depth from snow_depth that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049546 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, reading, lon, lat
Sensor: humidity | fields: unit, lat, ts, lon
Task: Get lat from snow_depth where depth exceeds the maximum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049547 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, ts, lon, value
Sensor: turbidity | fields: depth, qc, unit, level
Task: Retrieve level from temperature whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049548 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, level, value, unit
Sensor: humidity | fields: qc, ts, lat, lon
Task: Get lon from frost where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049549 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lat, ts, value
Sensor: air_quality | fields: level, type, reading, unit
Task: Get depth from snow_depth where ts appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049550 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: qc, value, depth, lat
Sensor: wind_speed | fields: lon, level, unit, value
Task: Retrieve level from lightning whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049551 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, lat, ts, reading
Sensor: wind_speed | fields: lat, depth, unit, type
Task: Get depth from visibility where value exceeds the average depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049552 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, depth, ts, level
Sensor: sunlight | fields: type, reading, value, depth
Task: Fetch reading from visibility where value is greater than the maximum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049553 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, value, unit, depth
Sensor: rainfall | fields: unit, lon, value, depth
Task: Get value from uv_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049554 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, reading, lat, depth
Sensor: frost | fields: ts, value, unit, type
Task: Get lon from pressure where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049555 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, lon, type, ts
Sensor: soil_moisture | fields: unit, lat, qc, level
Task: Get lat from sunlight where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049556 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: qc, level, reading, ts
Sensor: soil_moisture | fields: qc, unit, lon, reading
Task: Get level from pressure where depth exceeds the total value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049557 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, type, ts, qc
Sensor: cloud_cover | fields: lat, lon, level, ts
Task: Fetch lat from temperature that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049558 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, value, reading, ts
Sensor: temperature | fields: lon, value, type, unit
Task: Get value from evaporation where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049559 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, level, value, depth
Sensor: dew_point | fields: value, ts, lon, lat
Task: Retrieve value from uv_index that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049560 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, reading, level, qc
Sensor: sunlight | fields: lat, type, lon, reading
Task: Retrieve reading from snow_depth with depth above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049561 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, qc, level, unit
Sensor: visibility | fields: ts, type, level, unit
Task: Retrieve reading from frost whose ts is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049562 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, unit, depth
Sensor: cloud_cover | fields: value, reading, qc, type
Task: Fetch reading from lightning where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049563 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, reading, value, qc
Sensor: cloud_cover | fields: qc, lat, value, depth
Task: Get lat from temperature where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049564 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, depth, value
Sensor: uv_index | fields: lat, level, unit, value
Task: Fetch depth from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049565 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, lon, unit, reading
Sensor: rainfall | fields: lon, level, qc, lat
Task: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049566 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, level, depth, type
Sensor: frost | fields: depth, ts, type, reading
Task: Retrieve lat from visibility with value above the SUM(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049567 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: qc, reading, depth, value
Sensor: wind_speed | fields: lon, type, reading, unit
Task: Retrieve value from air_quality whose unit is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049568 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, ts, depth, unit
Sensor: air_quality | fields: level, qc, reading, depth
Task: Retrieve level from snow_depth that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049569 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, value, type
Sensor: snow_depth | fields: ts, level, unit, reading
Task: Get lat from lightning where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049570 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, level, value, ts
Sensor: drought_index | fields: type, lat, qc, reading
Task: Get value from sunlight where value exceeds the maximum reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049571 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, qc, lon, value
Sensor: humidity | fields: lon, unit, depth, level
Task: Retrieve lon from sunlight whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049572 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, lat, type, value
Sensor: turbidity | fields: type, unit, level, qc
Task: Fetch lon from rainfall where depth is greater than the average of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049573 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, level, unit, ts
Sensor: air_quality | fields: unit, lat, ts, qc
Task: Retrieve lat from uv_index whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
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": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049574 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, qc, type, value
Sensor: cloud_cover | fields: level, depth, lat, ts
Task: Retrieve value from turbidity that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049575 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, qc, level, reading
Sensor: drought_index | fields: depth, unit, qc, lat
Task: Retrieve value from pressure whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049576 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, reading, depth, unit
Sensor: evaporation | fields: lat, qc, reading, unit
Task: Get depth from dew_point where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049577 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, unit, level, reading
Sensor: lightning | fields: value, lon, reading, type
Task: Get lon from wind_speed where depth exceeds the total depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049578 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, unit, depth, lon
Sensor: frost | fields: qc, reading, lat, value
Task: Fetch reading from rainfall where reading is greater than the average of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049579 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, ts, reading, value
Sensor: rainfall | fields: qc, unit, value, reading
Task: Retrieve depth from pressure with value above the COUNT(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049580 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, level, depth, unit
Sensor: sunlight | fields: lat, type, value, reading
Task: Get depth from visibility where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049581 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, reading, lat, qc
Sensor: frost | fields: type, reading, lon, ts
Task: Fetch lat from uv_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049582 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, unit, qc
Sensor: air_quality | fields: value, qc, lat, depth
Task: Retrieve lat from uv_index whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049583 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: level, type, unit, ts
Sensor: cloud_cover | fields: lat, type, ts, unit
Task: Retrieve value from pressure with depth above the COUNT(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049584 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, level, type, ts
Sensor: pressure | fields: ts, unit, lat, depth
Task: Fetch lon from drought_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049585 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, qc, ts, type
Sensor: frost | fields: lat, qc, lon, unit
Task: Retrieve level from visibility with value above the AVG(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049586 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, value, level, qc
Sensor: temperature | fields: unit, qc, lat, ts
Task: Get lat from wind_speed where depth exceeds the average value from temperature for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049587 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, type, unit
Sensor: pressure | fields: qc, lat, level, depth
Task: Retrieve value from sunlight whose ts is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049588 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, ts, depth, unit
Sensor: pressure | fields: value, lat, unit, level
Task: Retrieve lon from lightning with reading above the AVG(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049589 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lat, depth, lon, qc
Sensor: snow_depth | fields: ts, value, lat, lon
Task: Get value from uv_index where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049590 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, lon, unit, value
Sensor: lightning | fields: lat, qc, reading, unit
Task: Get lon from rainfall where value exceeds the count of value from lightning for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049591 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: unit, type, depth, lon
Sensor: lightning | fields: qc, depth, lon, level
Task: Fetch lat from frost where reading is greater than the total of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049592 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, reading, value, depth
Sensor: air_quality | fields: value, lat, unit, ts
Task: Fetch lon from dew_point where reading is greater than the count of of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049593 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, unit, reading, value
Sensor: evaporation | fields: unit, qc, depth, lon
Task: Get level from visibility where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049594 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, ts, lon, depth
Sensor: rainfall | fields: unit, depth, level, lon
Task: Get value from soil_moisture where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049595 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, lat, type, level
Sensor: pressure | fields: type, level, depth, value
Task: Retrieve lat from rainfall with depth above the MIN(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049596 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, lon, depth, lat
Sensor: temperature | fields: reading, unit, lon, ts
Task: Get reading from humidity where reading exceeds the maximum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049597 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, reading, value, depth
Sensor: wind_speed | fields: level, unit, type, depth
Task: Fetch value from temperature where value is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_049598 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, unit, lon, ts
Sensor: soil_moisture | fields: unit, level, lat, ts
Task: Retrieve lon from humidity with value above the MAX(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_049599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.