variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, depth, lat, level
Sensor: dew_point | fields: lat, reading, unit, type
Task: Fetch depth from air_quality where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043400 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lat, type, depth
Sensor: uv_index | fields: unit, qc, depth, ts
Task: Fetch value from rainfall where depth is greater than the minimum of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043401 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, lon, qc, type
Sensor: lightning | fields: lat, type, unit, ts
Task: Get depth from visibility where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043402 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, depth, lat, reading
Sensor: air_quality | fields: unit, qc, lon, value
Task: Retrieve depth from sunlight whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043403 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, lon, qc, depth
Sensor: lightning | fields: ts, value, qc, lat
Task: Fetch lat from air_quality that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043404 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, depth, lon, unit
Sensor: lightning | fields: depth, value, ts, level
Task: Get lat from air_quality where depth exceeds the total depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043405 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, lat, type, reading
Sensor: visibility | fields: value, qc, type, ts
Task: Fetch depth from turbidity where value is greater than the minimum of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043406 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: depth, type, qc, level
Sensor: pressure | fields: ts, lat, depth, reading
Task: Fetch value from drought_index that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043407 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, value, lat, level
Sensor: turbidity | fields: qc, reading, unit, ts
Task: Fetch lon from sunlight where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043408 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, unit, value, level
Sensor: turbidity | fields: ts, type, lat, value
Task: Fetch depth from cloud_cover that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043409 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, ts, reading, qc
Sensor: soil_moisture | fields: lon, reading, value, level
Task: Fetch reading from drought_index where value is greater than the count of of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043410 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, lat, reading, depth
Sensor: drought_index | fields: depth, unit, value, lat
Task: Get depth from sunlight where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043411 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, unit, ts
Sensor: cloud_cover | fields: lat, reading, qc, ts
Task: Get level from evaporation where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043412 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, type, ts, reading
Sensor: turbidity | fields: lat, value, depth, qc
Task: Retrieve level from soil_moisture that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043413 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, level, depth, type
Sensor: rainfall | fields: qc, level, reading, value
Task: Retrieve lat from evaporation with value above the SUM(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043414 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, type, lat, ts
Sensor: dew_point | fields: type, qc, unit, depth
Task: Get lon from pressure where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043415 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, value, type, level
Sensor: pressure | fields: level, ts, unit, depth
Task: Get depth from sunlight where reading exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"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_043416 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, value, reading, level
Sensor: evaporation | fields: depth, unit, type, lon
Task: Fetch lon from turbidity where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043417 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, type, value, unit
Sensor: visibility | fields: depth, lat, value, level
Task: Get reading from air_quality where ts appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043418 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, lat, reading, ts
Sensor: sunlight | fields: lat, depth, lon, reading
Task: Get value from pressure where value exceeds the count of depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043419 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, level, reading, qc
Sensor: snow_depth | fields: type, value, lon, lat
Task: Retrieve reading from visibility that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043420 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, type, level, ts
Sensor: dew_point | fields: value, depth, lon, ts
Task: Get reading from drought_index where reading exceeds the minimum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043421 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, qc, value, type
Sensor: frost | fields: value, ts, lat, type
Task: Retrieve reading from humidity whose unit is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043422 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, lon, value, level
Sensor: uv_index | fields: lon, unit, depth, ts
Task: Retrieve value from pressure that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043423 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, qc, reading, ts
Sensor: frost | fields: type, level, reading, lon
Task: Retrieve level from wind_speed that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043424 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, type, qc, depth
Sensor: soil_moisture | fields: lon, depth, ts, unit
Task: Fetch reading from snow_depth that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043425 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, level, qc, lat
Sensor: frost | fields: unit, lon, qc, depth
Task: Fetch depth from humidity where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043426 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, unit, depth, type
Sensor: humidity | fields: lat, depth, reading, qc
Task: Get depth from wind_speed where depth exceeds the total reading from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043427 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: value, depth, type, level
Sensor: turbidity | fields: type, level, depth, value
Task: Get lat from rainfall where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043428 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, value, unit, lat
Sensor: cloud_cover | fields: ts, unit, qc, depth
Task: Fetch lat from lightning where reading is greater than the minimum of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043429 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, reading, lon, depth
Sensor: rainfall | fields: ts, lat, level, lon
Task: Retrieve value from evaporation that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043430 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, type, lon, qc
Sensor: pressure | fields: reading, value, unit, type
Task: Retrieve lat from wind_speed whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043431 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: qc, lat, value, level
Sensor: cloud_cover | fields: qc, reading, level, value
Task: Get reading from drought_index where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043432 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lon, depth, level, reading
Sensor: humidity | fields: lon, reading, depth, ts
Task: Retrieve value from evaporation that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043433 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, depth, value, qc
Sensor: temperature | fields: depth, lat, ts, reading
Task: Fetch lat from frost that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043434 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, ts, level, reading
Sensor: frost | fields: lon, lat, qc, value
Task: Get level from drought_index where depth exceeds the total reading from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043435 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, reading, ts, type
Sensor: lightning | fields: qc, unit, type, level
Task: Retrieve reading from uv_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043436 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, lat, ts
Sensor: visibility | fields: type, reading, lat, depth
Task: Get reading from cloud_cover where reading exceeds the minimum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043437 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, lon, reading, ts
Sensor: visibility | fields: unit, lat, type, ts
Task: Get lon from frost where depth exceeds the maximum depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043438 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, reading, lon, type
Sensor: snow_depth | fields: type, level, lat, qc
Task: Get level from cloud_cover where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043439 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, type, depth, level
Sensor: dew_point | fields: lon, reading, ts, lat
Task: Get value from visibility where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043440 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, depth, unit, value
Sensor: snow_depth | fields: depth, lat, qc, type
Task: Retrieve reading from lightning whose unit is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043441 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: level, ts, depth, value
Sensor: visibility | fields: qc, lat, reading, lon
Task: Retrieve level from rainfall with value above the MAX(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043442 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: reading, depth, lat, level
Sensor: visibility | fields: type, value, qc, depth
Task: Get depth from drought_index where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043443 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, value, lat, level
Sensor: dew_point | fields: depth, lat, level, lon
Task: Retrieve lat from temperature with depth above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043444 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, type, level, value
Sensor: dew_point | fields: lat, type, qc, depth
Task: Retrieve lat from cloud_cover whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043445 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, level, lon, reading
Sensor: visibility | fields: unit, qc, ts, depth
Task: Fetch reading from wind_speed that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043446 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, qc, value, lon
Sensor: wind_speed | fields: lon, level, lat, type
Task: Retrieve lon from uv_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043447 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, value, lon, qc
Sensor: lightning | fields: type, lat, qc, reading
Task: Retrieve lon from sunlight whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043448 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, type, ts, lat
Sensor: pressure | fields: reading, level, lon, depth
Task: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043449 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, qc, value, lat
Sensor: evaporation | fields: depth, reading, unit, lon
Task: Retrieve reading from air_quality whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043450 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: unit, type, ts, lat
Sensor: sunlight | fields: ts, unit, type, qc
Task: Retrieve depth from rainfall that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043451 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, lon, depth, type
Sensor: snow_depth | fields: ts, qc, type, value
Task: Get lat from evaporation where reading exceeds the average reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043452 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, reading, lat, level
Sensor: turbidity | fields: depth, lat, value, lon
Task: Get reading from visibility where depth exceeds the average value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043453 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, lat, type
Sensor: snow_depth | fields: unit, lat, lon, ts
Task: Get lat from evaporation where value exceeds the average depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043454 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, reading, lat, type
Sensor: lightning | fields: type, value, ts, qc
Task: Retrieve depth from frost that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043455 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: type, lat, lon, value
Sensor: lightning | fields: qc, depth, ts, lon
Task: Fetch lon from rainfall that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043456 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, qc, type, unit
Sensor: frost | fields: value, lat, qc, unit
Task: Retrieve value from snow_depth whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043457 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, lat, unit, qc
Sensor: turbidity | fields: reading, qc, ts, level
Task: Fetch lat from lightning where reading is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043458 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, lon, value, qc
Sensor: visibility | fields: qc, unit, depth, type
Task: Retrieve depth from dew_point with depth above the COUNT(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043459 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, level, value, qc
Sensor: humidity | fields: level, lat, qc, lon
Task: Fetch level from dew_point where reading is greater than the maximum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043460 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, unit, lat, reading
Sensor: frost | fields: ts, lat, reading, qc
Task: Fetch level from temperature that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043461 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: unit, ts, reading, lat
Sensor: sunlight | fields: unit, type, ts, qc
Task: Fetch depth from humidity where qc exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043462 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: reading, value, ts, lon
Sensor: dew_point | fields: qc, type, reading, level
Task: Retrieve value from turbidity whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043463 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, level, unit, lon
Sensor: frost | fields: type, qc, unit, lat
Task: Get lat from evaporation where reading exceeds the maximum depth from frost for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043464 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, lat, ts, qc
Sensor: visibility | fields: value, qc, unit, depth
Task: Get lat from lightning where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043465 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, depth, value, level
Sensor: snow_depth | fields: ts, level, reading, lon
Task: Retrieve reading from turbidity that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043466 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, value, ts, qc
Sensor: wind_speed | fields: lat, lon, qc, depth
Task: Fetch value from dew_point where depth is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043467 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, reading, level
Sensor: temperature | fields: qc, ts, lon, type
Task: Retrieve reading from air_quality with reading above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043468 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, depth, value, lon
Sensor: lightning | fields: ts, unit, depth, lon
Task: Retrieve lon from pressure with reading above the MIN(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"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_043469 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, level, ts, value
Sensor: air_quality | fields: reading, type, lat, ts
Task: Retrieve value from wind_speed whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043470 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, reading, value, type
Sensor: rainfall | fields: ts, lon, value, reading
Task: Retrieve lat from frost with depth above the SUM(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043471 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lon, type, reading, ts
Sensor: temperature | fields: type, lon, depth, qc
Task: Get depth from rainfall where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043472 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, reading, ts, value
Sensor: humidity | fields: unit, qc, type, lat
Task: Get lat from uv_index where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043473 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: ts, reading, type, lon
Sensor: rainfall | fields: qc, depth, value, lat
Task: Get lon from humidity where qc appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043474 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, reading, qc, type
Sensor: uv_index | fields: ts, qc, level, depth
Task: Get depth from evaporation where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043475 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: type, ts, reading, qc
Sensor: dew_point | fields: lat, ts, depth, type
Task: Get reading from humidity where reading exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043476 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, unit, type, ts
Sensor: humidity | fields: value, level, lat, unit
Task: Retrieve lat from visibility that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043477 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, type, lon, depth
Sensor: sunlight | fields: lon, depth, value, level
Task: Get lat from rainfall where value exceeds the total value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043478 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lat, level, value
Sensor: turbidity | fields: value, lat, lon, type
Task: Fetch value from drought_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043479 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, level, lat, qc
Sensor: pressure | fields: unit, value, reading, level
Task: Retrieve value from humidity with value above the MAX(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043480 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: type, level, depth, qc
Sensor: evaporation | fields: reading, lon, unit, depth
Task: Retrieve reading from drought_index that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043481 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: qc, depth, unit, reading
Sensor: cloud_cover | fields: unit, lat, qc, reading
Task: Fetch lat from rainfall that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043482 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, qc, reading, depth
Sensor: temperature | fields: value, level, type, reading
Task: Retrieve reading from pressure whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043483 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: depth, level, value, lat
Sensor: wind_speed | fields: type, value, depth, reading
Task: Retrieve level from pressure that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043484 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, unit, level, qc
Sensor: drought_index | fields: depth, reading, type, value
Task: Fetch depth from wind_speed where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043485 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: reading, level, lat, value
Sensor: sunlight | fields: qc, reading, lon, ts
Task: Fetch value from temperature where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043486 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, ts, level, type
Sensor: cloud_cover | fields: lat, ts, unit, reading
Task: Retrieve value from frost whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043487 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, level, unit, lat
Sensor: sunlight | fields: qc, type, lat, ts
Task: Get value from wind_speed where depth exceeds the maximum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043488 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: reading, value, depth, qc
Sensor: soil_moisture | fields: value, ts, lon, qc
Task: Get lon from air_quality where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043489 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, unit, qc, type
Sensor: pressure | fields: reading, depth, unit, qc
Task: Fetch reading from soil_moisture that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043490 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, reading, qc, level
Sensor: rainfall | fields: unit, lat, level, reading
Task: Fetch lon from turbidity where value is greater than the minimum of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043491 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, lon, reading, type
Sensor: snow_depth | fields: ts, qc, unit, reading
Task: Retrieve reading from soil_moisture whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043492 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, level, qc, ts
Sensor: visibility | fields: qc, reading, depth, lat
Task: Fetch depth from pressure where depth is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043493 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, reading, depth, value
Sensor: wind_speed | fields: ts, lat, qc, lon
Task: Get lon from lightning where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043494 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: depth, lon, ts, value
Sensor: visibility | fields: qc, lon, unit, depth
Task: Retrieve level from uv_index whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043495 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lat, type, lon
Sensor: turbidity | fields: depth, lat, value, ts
Task: Get reading from wind_speed where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043496 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, type, unit, value
Sensor: dew_point | fields: reading, unit, ts, lon
Task: Fetch reading from soil_moisture where value is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043497 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: ts, depth, qc, lon
Sensor: temperature | fields: unit, reading, depth, lon
Task: Retrieve depth from dew_point with value above the AVG(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043498 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, unit, lon, level
Sensor: wind_speed | fields: lat, depth, value, unit
Task: Fetch value from evaporation where value is greater than the total of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.