variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, level, depth, value
Sensor: wind_speed | fields: reading, value, lat, type
Task: Get depth from humidity where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019700 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, lon, qc, ts
Sensor: evaporation | fields: value, qc, lon, reading
Task: Retrieve reading from wind_speed with reading above the COUNT(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019701 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, qc, value, depth
Sensor: temperature | fields: lon, qc, lat, level
Task: Get lat from sunlight where value exceeds the maximum depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019702 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: unit, type, value, qc
Sensor: soil_moisture | fields: level, depth, lat, type
Task: Get reading from air_quality where depth exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019703 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, type, qc, unit
Sensor: uv_index | fields: unit, reading, value, type
Task: Fetch depth from rainfall where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019704 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: unit, type, value, lon
Sensor: visibility | fields: value, reading, type, level
Task: Fetch lat from turbidity where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019705 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, lon, qc, unit
Sensor: rainfall | fields: depth, lat, type, unit
Task: Retrieve reading from temperature with reading above the MIN(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019706 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, unit, reading, type
Sensor: uv_index | fields: lon, type, lat, ts
Task: Get value from rainfall where reading exceeds the average reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019707 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: reading, depth, value, unit
Sensor: visibility | fields: qc, level, ts, depth
Task: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019708 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, value, lon, qc
Sensor: sunlight | fields: value, lat, level, lon
Task: Retrieve value from air_quality whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019709 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: ts, lon, depth, reading
Sensor: temperature | fields: reading, lat, type, value
Task: Fetch level from air_quality that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019710 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, qc, type, reading
Sensor: dew_point | fields: unit, lat, ts, level
Task: Get depth from evaporation where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019711 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, depth, unit, type
Sensor: pressure | fields: unit, value, type, qc
Task: Retrieve lat from soil_moisture with depth above the COUNT(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019712 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, depth, value, unit
Sensor: visibility | fields: level, value, qc, type
Task: Fetch depth from temperature that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019713 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, depth, lon, reading
Sensor: turbidity | fields: level, qc, value, reading
Task: Retrieve lon from temperature that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019714 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, unit, depth, type
Sensor: drought_index | fields: lat, value, level, reading
Task: Fetch lat from rainfall that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019715 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: qc, level, lat, reading
Sensor: drought_index | fields: level, reading, depth, type
Task: Get lat from evaporation where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019716 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, lat, type, depth
Sensor: drought_index | fields: reading, qc, ts, type
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019717 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, lat, qc, ts
Sensor: air_quality | fields: reading, qc, lon, ts
Task: Fetch value from dew_point where reading is greater than the maximum of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019718 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, level, qc, lon
Sensor: visibility | fields: unit, type, lon, depth
Task: Get reading from cloud_cover where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019719 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, lon, level, unit
Sensor: cloud_cover | fields: ts, lon, value, type
Task: Get lon from evaporation where value exceeds the average reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019720 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, type, unit, ts
Sensor: evaporation | fields: depth, type, level, unit
Task: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019721 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, level, depth, lat
Sensor: soil_moisture | fields: lon, qc, unit, type
Task: Retrieve value from uv_index with depth above the AVG(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019722 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, ts, level, type
Sensor: temperature | fields: reading, ts, lat, unit
Task: Retrieve lon from evaporation with value above the MIN(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019723 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: depth, ts, value, level
Sensor: frost | fields: qc, ts, type, reading
Task: Get value from pressure where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019724 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, lon, ts, level
Sensor: lightning | fields: level, type, lon, depth
Task: Get value from uv_index where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019725 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, qc, unit, value
Sensor: drought_index | fields: value, level, reading, ts
Task: Fetch level from dew_point where reading is greater than the minimum of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019726 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: unit, qc, ts, lat
Sensor: visibility | fields: unit, ts, lat, value
Task: Fetch value from evaporation where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019727 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, lon, lat, ts
Sensor: frost | fields: type, lat, level, lon
Task: Fetch reading from rainfall that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019728 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, level, ts
Sensor: uv_index | fields: ts, type, qc, value
Task: Retrieve reading from air_quality whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019729 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, lat, qc, type
Sensor: pressure | fields: type, unit, ts, reading
Task: Retrieve lat from temperature that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019730 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: reading, depth, type, lon
Sensor: drought_index | fields: qc, value, lon, ts
Task: Get reading from lightning where depth exceeds the minimum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019731 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: reading, lon, type, depth
Sensor: visibility | fields: depth, value, level, ts
Task: Fetch value from drought_index that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019732 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: type, reading, ts, depth
Sensor: snow_depth | fields: unit, depth, lon, value
Task: Retrieve lon from uv_index whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019733 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, ts, type, unit
Sensor: lightning | fields: qc, level, reading, lon
Task: Get lon from evaporation where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019734 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, depth, value, qc
Sensor: lightning | fields: depth, level, reading, unit
Task: Fetch value from pressure where reading is greater than the average of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019735 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, ts, type
Sensor: lightning | fields: value, lat, level, reading
Task: Retrieve lon from wind_speed with reading above the MIN(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019736 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, level, depth, ts
Sensor: air_quality | fields: depth, lat, level, ts
Task: Retrieve value from dew_point with reading above the MIN(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019737 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, lat, unit, value
Sensor: dew_point | fields: type, lon, reading, lat
Task: Get lon from soil_moisture where depth exceeds the average reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019738 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, lat, unit, ts
Sensor: visibility | fields: depth, lat, unit, level
Task: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019739 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, type, qc, unit
Sensor: rainfall | fields: ts, lat, level, lon
Task: Retrieve level from visibility that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019740 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: depth, qc, lat, lon
Sensor: turbidity | fields: reading, level, lat, ts
Task: Retrieve value from frost whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019741 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, type, qc, lon
Sensor: frost | fields: level, lon, depth, type
Task: Fetch level from turbidity where depth is greater than the average of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019742 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, lat, unit, value
Sensor: evaporation | fields: lon, lat, unit, reading
Task: Fetch depth from turbidity that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019743 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, qc, type, ts
Sensor: drought_index | fields: qc, level, depth, lat
Task: Fetch lon from sunlight that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019744 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: unit, ts, reading, type
Sensor: temperature | fields: qc, type, reading, value
Task: Get depth from humidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019745 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lat, depth, value, type
Sensor: frost | fields: reading, depth, value, level
Task: Fetch reading from sunlight where value is greater than the total of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019746 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, depth, unit, ts
Sensor: air_quality | fields: type, qc, ts, unit
Task: Retrieve value from humidity whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019747 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, lat, lon, depth
Sensor: rainfall | fields: unit, lon, ts, qc
Task: Fetch lat from cloud_cover where depth is greater than the maximum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019748 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: value, ts, reading, level
Sensor: air_quality | fields: type, depth, reading, value
Task: Retrieve depth from evaporation with depth above the SUM(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019749 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, depth, lat, unit
Sensor: temperature | fields: value, level, ts, reading
Task: Fetch reading from rainfall where depth is greater than the maximum of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019750 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, lon, reading, depth
Sensor: drought_index | fields: lon, ts, reading, level
Task: Fetch reading from uv_index where reading is greater than the maximum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019751 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, unit, value, lon
Sensor: turbidity | fields: depth, level, qc, type
Task: Get level from wind_speed where type appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019752 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, type, ts, reading
Sensor: cloud_cover | fields: type, level, qc, value
Task: Retrieve depth from rainfall whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019753 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, depth, reading, lon
Sensor: evaporation | fields: qc, unit, depth, type
Task: Retrieve value from humidity whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019754 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, type, reading, level
Sensor: sunlight | fields: qc, unit, ts, level
Task: Retrieve lat from drought_index whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019755 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, qc, ts, reading
Sensor: frost | fields: ts, depth, lat, level
Task: Retrieve depth from sunlight that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019756 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lat, level, qc, depth
Sensor: snow_depth | fields: lon, qc, reading, value
Task: Retrieve lon from uv_index whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019757 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, lat, level, qc
Sensor: dew_point | fields: ts, depth, lat, level
Task: Retrieve lat from snow_depth that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019758 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, qc, level, value
Sensor: dew_point | fields: unit, reading, lat, qc
Task: Fetch lat from snow_depth where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019759 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, lon, depth, lat
Sensor: evaporation | fields: unit, lat, lon, ts
Task: Retrieve level from soil_moisture with value above the MAX(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019760 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, ts, unit, lat
Sensor: visibility | fields: lat, type, level, lon
Task: Fetch reading from evaporation where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019761 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, lon, value
Sensor: drought_index | fields: lat, lon, type, unit
Task: Fetch value from sunlight where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019762 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, qc, value, type
Sensor: pressure | fields: ts, lat, reading, unit
Task: Fetch depth from frost where reading is greater than the minimum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019763 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, depth, lon
Sensor: evaporation | fields: reading, depth, lat, value
Task: Retrieve depth from temperature that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019764 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, lon, reading, level
Sensor: pressure | fields: reading, type, unit, lon
Task: Fetch depth from snow_depth where value is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019765 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, lat, value, type
Sensor: temperature | fields: reading, qc, depth, value
Task: Retrieve reading from lightning with reading above the SUM(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019766 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, level, unit, value
Sensor: frost | fields: lat, lon, level, type
Task: Get lat from wind_speed where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019767 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, lat, reading, depth
Sensor: cloud_cover | fields: level, value, ts, depth
Task: Retrieve reading from snow_depth whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019768 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, lat, reading, depth
Sensor: rainfall | fields: depth, level, value, reading
Task: Fetch value from visibility where depth is greater than the count of of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019769 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, depth, reading, lat
Sensor: uv_index | fields: lat, depth, reading, level
Task: Retrieve level from drought_index with depth above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019770 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, qc, lat, depth
Sensor: snow_depth | fields: type, reading, unit, qc
Task: Retrieve reading from soil_moisture that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019771 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lon, unit, type, reading
Sensor: visibility | fields: unit, qc, type, ts
Task: Retrieve level from turbidity that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019772 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, lon, lat, level
Sensor: evaporation | fields: qc, ts, value, depth
Task: Fetch level from pressure where value is greater than the maximum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019773 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, level, reading, value
Sensor: temperature | fields: reading, depth, type, unit
Task: Get depth from sunlight where reading exceeds the maximum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019774 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, type, lat
Sensor: soil_moisture | fields: depth, value, type, qc
Task: Get level from cloud_cover where reading exceeds the total depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019775 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, type, lon, ts
Sensor: uv_index | fields: lon, lat, type, depth
Task: Fetch reading from wind_speed where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019776 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lat, lon, level
Sensor: humidity | fields: ts, unit, qc, value
Task: Retrieve depth from turbidity with depth above the MIN(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019777 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, value, type, depth
Sensor: evaporation | fields: type, unit, reading, lat
Task: Get lat from drought_index where depth exceeds the total depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019778 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, depth, type, value
Sensor: visibility | fields: level, unit, ts, lat
Task: Retrieve lon from humidity that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019779 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, type, unit
Sensor: temperature | fields: ts, reading, lon, depth
Task: Get level from rainfall where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019780 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: level, qc, depth, reading
Sensor: visibility | fields: lon, level, unit, qc
Task: Fetch reading from dew_point where depth is greater than the maximum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019781 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, lat, reading, value
Sensor: temperature | fields: lat, unit, reading, lon
Task: Get level from humidity where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019782 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, unit, value, reading
Sensor: dew_point | fields: level, ts, reading, unit
Task: Get value from humidity where reading exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019783 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lat, level, qc, depth
Sensor: cloud_cover | fields: value, lat, qc, unit
Task: Fetch value from sunlight where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019784 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, ts, unit, level
Sensor: rainfall | fields: qc, value, lon, ts
Task: Get depth from snow_depth where reading exceeds the total depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"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_019785 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, lat, ts, depth
Sensor: lightning | fields: lon, depth, reading, qc
Task: Fetch reading from cloud_cover where depth is greater than the total of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019786 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, reading, qc, lon
Sensor: drought_index | fields: lat, depth, ts, lon
Task: Fetch reading from pressure where reading is greater than the maximum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019787 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, reading, value, lon
Sensor: drought_index | fields: level, lon, unit, ts
Task: Retrieve depth from rainfall whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019788 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lat, depth, qc, type
Sensor: dew_point | fields: qc, lat, type, depth
Task: Get reading from lightning where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019789 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, value, type, unit
Sensor: soil_moisture | fields: qc, lon, unit, reading
Task: Retrieve lon from visibility with value above the MIN(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019790 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, qc, unit, ts
Sensor: pressure | fields: type, level, value, depth
Task: Get lon from drought_index where reading exceeds the count of reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019791 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, value, unit, level
Sensor: pressure | fields: value, level, depth, type
Task: Fetch reading from wind_speed where depth is greater than the average of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019792 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, ts, unit, value
Sensor: snow_depth | fields: lon, depth, value, level
Task: Retrieve lon from air_quality with reading above the COUNT(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019793 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, depth, ts, level
Sensor: visibility | fields: unit, qc, lat, lon
Task: Get reading from drought_index where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019794 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, level, depth, lon
Sensor: frost | fields: type, ts, unit, qc
Task: Retrieve depth from turbidity with depth above the COUNT(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019795 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, level, type, reading
Sensor: temperature | fields: value, reading, lat, type
Task: Fetch value from sunlight where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019796 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, level, depth
Sensor: humidity | fields: level, qc, reading, lat
Task: Fetch value from dew_point that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019797 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, type, reading, unit
Sensor: uv_index | fields: reading, qc, lon, ts
Task: Get reading from cloud_cover where reading exceeds the total value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019798 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, level, lat, depth
Sensor: cloud_cover | fields: level, depth, lat, lon
Task: Get lat from dew_point where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.