variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, ts, qc, lon
Sensor: rainfall | fields: lat, type, value, level
Task: Retrieve depth from visibility with reading above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047300 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, level, unit, depth
Sensor: frost | fields: reading, lon, value, qc
Task: Fetch lon from cloud_cover where value is greater than the average of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047301 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, level, unit, ts
Sensor: dew_point | fields: unit, type, lon, qc
Task: Fetch lon from evaporation that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047302 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, lat, ts, reading
Sensor: uv_index | fields: ts, value, unit, level
Task: Retrieve lon from visibility with depth above the SUM(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047303 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, ts, type, depth
Sensor: cloud_cover | fields: value, reading, level, qc
Task: Retrieve depth from lightning with reading above the MIN(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047304 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, lat, value, ts
Sensor: temperature | fields: ts, depth, reading, type
Task: Fetch lat from drought_index where value is greater than the maximum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047305 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, type, qc, unit
Sensor: visibility | fields: qc, lon, value, level
Task: Retrieve depth from temperature whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047306 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lat, qc, ts, unit
Sensor: rainfall | fields: unit, level, reading, lon
Task: Retrieve lon from frost with depth above the MAX(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047307 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, unit, depth, level
Sensor: soil_moisture | fields: ts, lon, qc, unit
Task: Retrieve value from visibility whose ts is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047308 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, unit, depth
Sensor: frost | fields: level, value, lon, lat
Task: Fetch reading from soil_moisture where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047309 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, lat, unit, level
Sensor: evaporation | fields: lat, type, ts, unit
Task: Retrieve lat from pressure with reading above the COUNT(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047310 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: value, type, lat, unit
Sensor: visibility | fields: value, ts, depth, lon
Task: Get reading from lightning where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047311 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, unit, ts, level
Sensor: snow_depth | fields: qc, level, type, lon
Task: Retrieve lon from cloud_cover that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047312 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, type, value, ts
Sensor: humidity | fields: ts, lon, lat, level
Task: Fetch value from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047313 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, type, ts
Sensor: snow_depth | fields: value, level, type, qc
Task: Get value from cloud_cover where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047314 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, level, reading, lat
Sensor: temperature | fields: level, depth, ts, lon
Task: Retrieve depth from wind_speed with depth above the AVG(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047315 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: reading, type, lat, ts
Sensor: lightning | fields: ts, qc, value, depth
Task: Retrieve level from evaporation that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047316 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, qc, ts, unit
Sensor: uv_index | fields: ts, qc, lat, depth
Task: Retrieve lat from air_quality that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047317 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, level, lat, type
Sensor: pressure | fields: lat, type, depth, value
Task: Fetch lon from lightning where reading is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047318 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, lon, value, reading
Sensor: drought_index | fields: type, depth, value, lon
Task: Retrieve level from temperature that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047319 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: qc, depth, unit, ts
Sensor: snow_depth | fields: reading, value, ts, lon
Task: Retrieve depth from air_quality with depth above the SUM(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047320 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, ts, lat, level
Sensor: rainfall | fields: lat, type, lon, reading
Task: Get lat from drought_index where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047321 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, lat, reading, ts
Sensor: pressure | fields: depth, level, type, lat
Task: Fetch lon from frost that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047322 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, lon, type, ts
Sensor: humidity | fields: qc, unit, lon, value
Task: Retrieve lat from snow_depth that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047323 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, depth, qc, ts
Sensor: visibility | fields: lon, level, depth, ts
Task: Retrieve reading from pressure whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047324 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: level, value, qc, lon
Sensor: cloud_cover | fields: qc, reading, lat, value
Task: Fetch lat from drought_index where reading is greater than the average of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047325 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: value, level, qc, reading
Sensor: dew_point | fields: value, ts, type, qc
Task: Retrieve lon from pressure whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047326 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, ts, level, unit
Sensor: pressure | fields: level, depth, ts, lon
Task: Get reading from humidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047327 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, depth, lon, lat
Sensor: turbidity | fields: unit, type, level, depth
Task: Get lon from lightning where unit appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047328 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lon, value, depth
Sensor: visibility | fields: reading, lon, depth, level
Task: Fetch lat from cloud_cover where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047329 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, reading, qc, value
Sensor: pressure | fields: level, depth, ts, lon
Task: Get level from soil_moisture where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047330 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, level, unit, ts
Sensor: temperature | fields: qc, reading, lat, type
Task: Fetch level from snow_depth where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047331 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lon, qc, ts
Sensor: frost | fields: depth, level, lon, reading
Task: Fetch lon from rainfall that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047332 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, level, qc, ts
Sensor: sunlight | fields: unit, depth, ts, level
Task: Retrieve lat from soil_moisture that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047333 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, ts, lat, unit
Sensor: frost | fields: reading, type, value, ts
Task: Get depth from cloud_cover where depth exceeds the maximum depth from frost for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047334 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, lon, unit, lat
Sensor: pressure | fields: depth, value, lat, reading
Task: Fetch value from frost where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047335 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, qc, reading, lat
Sensor: uv_index | fields: lon, level, unit, type
Task: Fetch level from wind_speed where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047336 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, reading, unit, lon
Sensor: lightning | fields: level, ts, reading, lon
Task: Get lat from air_quality where reading exceeds the maximum reading from lightning for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047337 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, lat, type, depth
Sensor: snow_depth | fields: lat, unit, depth, qc
Task: Retrieve level from uv_index that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047338 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, level, reading, depth
Sensor: visibility | fields: value, unit, qc, depth
Task: Get depth from evaporation where reading exceeds the average depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047339 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, qc, unit, reading
Sensor: turbidity | fields: unit, value, qc, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047340 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, unit, level, type
Sensor: drought_index | fields: ts, unit, reading, level
Task: Get lon from lightning where depth exceeds the total value from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047341 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, lat, type, value
Sensor: uv_index | fields: reading, ts, type, unit
Task: Get depth from wind_speed where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047342 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, ts, qc, value
Sensor: uv_index | fields: value, ts, level, lat
Task: Get lon from wind_speed where depth appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047343 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, reading, lon, value
Sensor: visibility | fields: type, lat, level, reading
Task: Retrieve level from evaporation with value above the MIN(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047344 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, unit, depth, ts
Sensor: soil_moisture | fields: lon, level, type, depth
Task: Get value from dew_point where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047345 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, lat, lon, value
Sensor: uv_index | fields: lat, qc, value, type
Task: Retrieve depth from visibility that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047346 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, depth, unit, level
Sensor: visibility | fields: level, ts, type, lon
Task: Fetch lon from pressure where value is greater than the minimum of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047347 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, level, reading, unit
Sensor: uv_index | fields: depth, qc, unit, level
Task: Fetch depth from pressure that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047348 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, qc, depth, type
Sensor: drought_index | fields: qc, unit, level, lat
Task: Retrieve depth from soil_moisture that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047349 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, depth, reading, lon
Sensor: evaporation | fields: level, value, lat, qc
Task: Get lon from cloud_cover where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047350 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, level, unit, depth
Sensor: rainfall | fields: value, depth, qc, type
Task: Retrieve level from lightning that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047351 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, lat, reading, ts
Sensor: uv_index | fields: type, value, depth, qc
Task: Retrieve reading from drought_index whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047352 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, level, value, ts
Sensor: air_quality | fields: depth, value, reading, qc
Task: Fetch depth from dew_point where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047353 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, type, reading
Sensor: wind_speed | fields: ts, lat, type, level
Task: Fetch reading from snow_depth where depth is greater than the total of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047354 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, unit, qc, lon
Sensor: turbidity | fields: level, lat, unit, reading
Task: Get level from evaporation where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047355 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, unit, level, type
Sensor: rainfall | fields: unit, depth, ts, level
Task: Get lon from soil_moisture where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047356 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, depth, value, reading
Sensor: uv_index | fields: level, unit, type, ts
Task: Fetch lon from lightning where depth exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047357 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, ts, lon
Sensor: humidity | fields: level, unit, depth, lat
Task: Retrieve level from dew_point that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047358 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, qc, reading
Sensor: rainfall | fields: level, type, qc, reading
Task: Get level from lightning where value exceeds the maximum value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047359 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, type, level
Sensor: visibility | fields: level, reading, lat, type
Task: Retrieve level from evaporation with value above the SUM(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047360 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, value, type, reading
Sensor: wind_speed | fields: ts, qc, value, lon
Task: Retrieve depth from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047361 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, type, depth, unit
Sensor: turbidity | fields: lat, ts, reading, lon
Task: Retrieve lon from humidity whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047362 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, depth, level, reading
Sensor: dew_point | fields: qc, depth, ts, level
Task: Get value from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047363 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, depth, reading, type
Sensor: temperature | fields: level, depth, value, lat
Task: Fetch level from drought_index where reading is greater than the count of of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047364 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, depth, value, lon
Sensor: lightning | fields: lat, value, reading, lon
Task: Retrieve value from drought_index with reading above the MAX(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047365 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, lon, unit, depth
Sensor: frost | fields: depth, ts, lon, qc
Task: Fetch value from sunlight where unit exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047366 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: level, reading, ts, qc
Sensor: dew_point | fields: reading, level, depth, type
Task: Get lon from frost where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047367 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lat, reading, qc, level
Sensor: turbidity | fields: ts, value, lat, depth
Task: Get value from temperature where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047368 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, depth, type, unit
Sensor: cloud_cover | fields: reading, unit, value, qc
Task: Retrieve depth from snow_depth whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047369 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, depth, level, unit
Sensor: drought_index | fields: ts, type, lon, depth
Task: Retrieve level from cloud_cover that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047370 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, lon, reading, level
Sensor: drought_index | fields: value, level, type, qc
Task: Retrieve value from frost with value above the MIN(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047371 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: unit, ts, level, depth
Sensor: soil_moisture | fields: value, type, qc, lon
Task: Retrieve lon from temperature that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047372 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, level, reading, lon
Sensor: humidity | fields: qc, value, lon, depth
Task: Retrieve level from dew_point that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047373 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, value, depth, reading
Sensor: temperature | fields: reading, value, lon, qc
Task: Get lat from uv_index where depth exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047374 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, ts, lon, reading
Sensor: dew_point | fields: qc, level, reading, unit
Task: Get lat from air_quality where depth exceeds the count of reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047375 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: unit, value, lat, qc
Sensor: pressure | fields: ts, unit, value, lat
Task: Fetch level from visibility where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047376 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, depth, level, reading
Sensor: turbidity | fields: ts, lat, depth, type
Task: Fetch level from uv_index where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047377 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: ts, level, depth, unit
Sensor: humidity | fields: lat, depth, level, unit
Task: Retrieve reading from dew_point with value above the SUM(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047378 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, reading, type, value
Sensor: humidity | fields: reading, lon, ts, value
Task: Get lon from rainfall where type appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047379 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, level, qc, value
Sensor: sunlight | fields: lat, reading, type, value
Task: Fetch level from soil_moisture where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047380 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, type, qc, level
Sensor: temperature | fields: lat, lon, ts, depth
Task: Retrieve value from dew_point that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047381 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, lon, lat, qc
Sensor: dew_point | fields: depth, ts, qc, lat
Task: Retrieve reading from wind_speed with reading above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047382 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lon, value, unit
Sensor: uv_index | fields: type, lat, ts, value
Task: Retrieve reading from air_quality that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047383 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, lat, depth, qc
Sensor: frost | fields: type, ts, lat, value
Task: Retrieve depth from uv_index with reading above the AVG(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047384 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, depth, type, level
Sensor: temperature | fields: lon, type, lat, ts
Task: Fetch reading from rainfall where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047385 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, qc, lon, lat
Sensor: cloud_cover | fields: ts, reading, value, qc
Task: Get value from pressure where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047386 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lon, ts, unit
Sensor: pressure | fields: ts, lon, lat, reading
Task: Get value from air_quality where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047387 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lon, level, unit, qc
Sensor: frost | fields: value, reading, type, ts
Task: Retrieve level from drought_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047388 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lon, reading, ts
Sensor: wind_speed | fields: lat, lon, depth, reading
Task: Fetch value from drought_index that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047389 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: reading, unit, depth, value
Sensor: evaporation | fields: level, lat, ts, reading
Task: Fetch lon from rainfall that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047390 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, level, depth, ts
Sensor: snow_depth | fields: ts, lon, type, depth
Task: Retrieve lon from frost with reading above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047391 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: level, unit, qc, lon
Sensor: air_quality | fields: depth, reading, level, value
Task: Retrieve value from temperature whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047392 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, type, value, unit
Sensor: visibility | fields: level, depth, qc, reading
Task: Fetch reading from evaporation where qc exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047393 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, level, lat, type
Sensor: cloud_cover | fields: lon, qc, unit, type
Task: Get value from evaporation where value exceeds the count of value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047394 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lat, reading, unit, ts
Sensor: turbidity | fields: type, lon, depth, reading
Task: Fetch level from drought_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047395 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, qc, value, type
Sensor: wind_speed | fields: unit, ts, type, lat
Task: Retrieve reading from dew_point whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047396 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, value, type, unit
Sensor: rainfall | fields: lon, level, lat, type
Task: Get lon from uv_index where depth exceeds the minimum depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047397 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, type, qc, lat
Sensor: temperature | fields: qc, lon, type, lat
Task: Retrieve value from wind_speed whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047398 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, qc, level, ts
Sensor: frost | fields: ts, value, lat, lon
Task: Fetch value from visibility where value is greater than the maximum of reading in frost for matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.