variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, level, type, ts
Sensor: pressure | fields: unit, value, type, level
Task: Get reading from wind_speed where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066500 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, unit, level, ts
Sensor: sunlight | fields: ts, level, value, reading
Task: Retrieve reading from frost with reading above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066501 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: reading, value, type, lon
Sensor: turbidity | fields: lon, value, ts, lat
Task: Get lat from visibility where qc appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066502 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, qc, ts, lon
Sensor: humidity | fields: lat, unit, lon, type
Task: Retrieve lon from drought_index whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066503 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: type, qc, lat, lon
Sensor: dew_point | fields: reading, type, unit, level
Task: Fetch lon from humidity where depth is greater than the average of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066504 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, value, qc, type
Sensor: uv_index | fields: unit, value, lat, qc
Task: Get lon from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066505 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, lat, level, ts
Sensor: temperature | fields: ts, lat, level, depth
Task: Fetch reading from humidity where value is greater than the total of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066506 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, lon, ts, level
Sensor: snow_depth | fields: reading, type, depth, level
Task: Fetch lat from humidity that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066507 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, lon, qc, unit
Sensor: uv_index | fields: lat, value, ts, qc
Task: Fetch lat from temperature that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066508 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, ts, reading, type
Sensor: cloud_cover | fields: depth, lat, ts, qc
Task: Fetch lat from wind_speed where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066509 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, reading, value, lat
Sensor: lightning | fields: reading, lon, type, qc
Task: Fetch lat from temperature where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066510 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, reading, lat, level
Sensor: humidity | fields: level, ts, value, lat
Task: Get level from uv_index where depth exceeds the minimum reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066511 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, qc, ts, type
Sensor: wind_speed | fields: value, lat, type, lon
Task: Fetch lat from soil_moisture where depth is greater than the maximum of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066512 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, reading, value, qc
Sensor: drought_index | fields: reading, lat, ts, type
Task: Fetch lat from cloud_cover where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066513 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lon, ts, reading
Sensor: cloud_cover | fields: level, depth, reading, unit
Task: Fetch value from uv_index where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066514 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, level, unit, value
Sensor: visibility | fields: lat, reading, level, unit
Task: Retrieve lat from air_quality whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066515 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, level, ts, reading
Sensor: visibility | fields: lat, reading, lon, level
Task: Retrieve depth from wind_speed with depth above the MAX(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066516 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, ts, value, lon
Sensor: lightning | fields: level, lon, qc, unit
Task: Get value from soil_moisture where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066517 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: depth, reading, qc, ts
Sensor: lightning | fields: lat, value, depth, lon
Task: Get lat from frost where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066518 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, depth, level, lon
Sensor: soil_moisture | fields: value, unit, depth, qc
Task: Fetch lon from dew_point that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066519 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: reading, depth, level, type
Sensor: soil_moisture | fields: qc, lon, type, level
Task: Get value from lightning where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066520 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, level, lat, lon
Sensor: evaporation | fields: lon, unit, reading, value
Task: Fetch value from turbidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066521 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lat, ts, depth, type
Sensor: pressure | fields: unit, qc, depth, value
Task: Fetch depth from dew_point that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066522 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: reading, unit, depth, level
Sensor: rainfall | fields: level, value, lat, lon
Task: Retrieve depth from evaporation that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066523 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, lat, unit, ts
Sensor: wind_speed | fields: type, ts, depth, value
Task: Get lat from rainfall where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066524 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: qc, ts, lat, lon
Sensor: turbidity | fields: depth, unit, level, qc
Task: Retrieve depth from air_quality whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066525 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, unit, type
Sensor: temperature | fields: value, unit, type, ts
Task: Retrieve lat from drought_index whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066526 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, reading, level, unit
Sensor: turbidity | fields: value, lon, level, reading
Task: Get lat from evaporation where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066527 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, level, lat, lon
Sensor: temperature | fields: lon, depth, unit, ts
Task: Fetch depth from snow_depth where value is greater than the total of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066528 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, qc, type, ts
Sensor: cloud_cover | fields: reading, lat, type, value
Task: Retrieve level from humidity whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066529 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, unit, qc, ts
Sensor: drought_index | fields: type, reading, value, depth
Task: Fetch depth from sunlight where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066530 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, type, depth, reading
Sensor: air_quality | fields: lat, type, ts, level
Task: Retrieve lon from evaporation whose depth is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066531 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, level, lon, unit
Sensor: visibility | fields: lat, depth, ts, value
Task: Get lat from wind_speed where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066532 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, level, lat, depth
Sensor: pressure | fields: type, unit, ts, lon
Task: Retrieve lat from dew_point that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066533 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, reading, lon, type
Sensor: visibility | fields: qc, lat, level, ts
Task: Retrieve level from wind_speed that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066534 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: value, level, type, unit
Sensor: uv_index | fields: ts, lat, qc, value
Task: Fetch level from rainfall where unit exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066535 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, level, unit, lon
Sensor: rainfall | fields: lon, reading, qc, depth
Task: Fetch level from frost where depth is greater than the count of of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066536 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, unit, reading, qc
Sensor: pressure | fields: qc, unit, depth, reading
Task: Fetch lon from snow_depth where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066537 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, reading, value, lat
Sensor: pressure | fields: level, ts, depth, qc
Task: Retrieve depth from wind_speed with depth above the AVG(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066538 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, unit, ts, lat
Sensor: drought_index | fields: value, depth, type, reading
Task: Get depth from pressure where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066539 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, qc, depth, unit
Sensor: dew_point | fields: value, depth, lat, ts
Task: Fetch depth from turbidity where reading is greater than the minimum of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066540 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: value, lat, ts, type
Sensor: cloud_cover | fields: qc, ts, type, value
Task: Fetch value from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066541 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, level, ts, lon
Sensor: sunlight | fields: value, unit, level, lat
Task: Retrieve value from cloud_cover with depth above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066542 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: reading, value, unit, ts
Sensor: cloud_cover | fields: qc, ts, level, depth
Task: Fetch reading from frost that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066543 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, type, depth, lat
Sensor: uv_index | fields: depth, qc, ts, type
Task: Get level from drought_index where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066544 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, depth, lon, level
Sensor: snow_depth | fields: lon, unit, value, qc
Task: Get level from visibility where value exceeds the count of value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066545 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, level, unit, lat
Sensor: lightning | fields: reading, depth, value, type
Task: Get lat from frost where reading exceeds the count of value from lightning for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066546 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, ts, depth, lat
Sensor: rainfall | fields: qc, value, depth, unit
Task: Fetch lon from cloud_cover where value is greater than the maximum of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066547 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: unit, depth, value, type
Sensor: pressure | fields: type, depth, reading, value
Task: Get level from humidity where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066548 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lat, lon, depth
Sensor: sunlight | fields: level, ts, lat, qc
Task: Get reading from wind_speed where reading exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066549 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, type, unit, level
Sensor: frost | fields: level, ts, depth, unit
Task: Get lat from lightning where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066550 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: ts, depth, level, qc
Sensor: frost | fields: reading, value, lon, unit
Task: Get level from drought_index where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066551 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, reading, unit, type
Sensor: dew_point | fields: level, ts, qc, reading
Task: Fetch level from soil_moisture that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066552 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, lon, type, unit
Sensor: uv_index | fields: level, value, ts, unit
Task: Fetch depth from temperature where unit exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066553 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: unit, value, lat, level
Sensor: cloud_cover | fields: qc, unit, ts, lon
Task: Retrieve value from dew_point whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066554 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: value, unit, ts, type
Sensor: wind_speed | fields: depth, lat, type, reading
Task: Get depth from sunlight where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066555 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, qc, reading, ts
Sensor: dew_point | fields: reading, depth, qc, level
Task: Get depth from lightning where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066556 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: qc, lon, value, level
Sensor: drought_index | fields: depth, level, ts, value
Task: Get lat from frost where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066557 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, qc, lat, level
Sensor: cloud_cover | fields: value, type, ts, lon
Task: Retrieve depth from evaporation whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066558 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, type, depth, value
Sensor: visibility | fields: qc, unit, reading, type
Task: Retrieve lat from dew_point with depth above the SUM(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066559 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, lon, value, type
Sensor: rainfall | fields: lon, ts, value, qc
Task: Retrieve lon from sunlight that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066560 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, type, ts, qc
Sensor: dew_point | fields: reading, level, lon, qc
Task: Fetch lon from air_quality where qc exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066561 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, depth, qc, level
Sensor: cloud_cover | fields: ts, type, lat, value
Task: Get level from snow_depth where depth exceeds the maximum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066562 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, qc, level, unit
Sensor: uv_index | fields: unit, level, depth, qc
Task: Get lat from cloud_cover where depth exceeds the total reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066563 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, depth, lat, qc
Sensor: drought_index | fields: lat, qc, type, ts
Task: Get lat from dew_point where depth exceeds the total depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066564 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lat, qc, value, level
Sensor: lightning | fields: type, reading, ts, lat
Task: Retrieve lon from humidity whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066565 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: value, type, unit, level
Sensor: sunlight | fields: depth, level, lat, type
Task: Retrieve value from visibility that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066566 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, reading, qc, depth
Sensor: drought_index | fields: level, depth, unit, value
Task: Get lon from pressure where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066567 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, lat, qc, type
Sensor: snow_depth | fields: depth, lat, level, value
Task: Get depth from wind_speed where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066568 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, qc, unit, depth
Sensor: visibility | fields: type, reading, unit, ts
Task: Get reading from humidity where depth exceeds the total reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066569 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, type, level, value
Sensor: wind_speed | fields: lon, ts, type, value
Task: Retrieve lat from lightning with value above the AVG(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066570 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, depth, value, level
Sensor: snow_depth | fields: unit, reading, lon, type
Task: Retrieve reading from pressure whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066571 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, level, qc, ts
Sensor: visibility | fields: value, unit, qc, reading
Task: Retrieve reading from pressure that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"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_066572 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: ts, value, level, lon
Sensor: evaporation | fields: type, level, ts, lat
Task: Get lat from sunlight where depth exceeds the count of reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066573 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, depth, qc, type
Sensor: frost | fields: value, unit, level, lat
Task: Fetch depth from lightning where depth is greater than the count of of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066574 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, value, type, qc
Sensor: rainfall | fields: type, value, reading, depth
Task: Get lat from dew_point where reading exceeds the average depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066575 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, type, reading, lon
Sensor: cloud_cover | fields: reading, lat, level, qc
Task: Get lon from rainfall where depth exceeds the total reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066576 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, depth, unit, lat
Sensor: temperature | fields: reading, unit, qc, depth
Task: Get lat from snow_depth where reading exceeds the count of reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066577 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, ts, reading, depth
Sensor: air_quality | fields: reading, ts, qc, type
Task: Retrieve level from snow_depth that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066578 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, reading, type, lat
Sensor: turbidity | fields: level, qc, ts, depth
Task: Retrieve lat from uv_index that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066579 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: level, ts, unit, qc
Sensor: visibility | fields: qc, value, reading, type
Task: Retrieve value from frost whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066580 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, depth, reading
Sensor: rainfall | fields: lat, lon, level, ts
Task: Get depth from dew_point where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066581 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, value, unit, reading
Sensor: uv_index | fields: unit, reading, lon, type
Task: Get depth from temperature where reading exceeds the count of reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066582 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, ts, qc, lon
Sensor: temperature | fields: depth, value, lon, reading
Task: Get level from wind_speed where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066583 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, lon, qc, ts
Sensor: wind_speed | fields: lat, ts, reading, qc
Task: Get depth from drought_index where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066584 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, depth, type, ts
Sensor: drought_index | fields: type, unit, level, lat
Task: Retrieve level from frost whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066585 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, unit, lat, depth
Sensor: uv_index | fields: level, ts, unit, value
Task: Retrieve value from temperature with depth above the COUNT(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066586 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, lon, depth
Sensor: dew_point | fields: lon, qc, type, lat
Task: Fetch reading from air_quality where depth is greater than the total of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066587 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lat, ts, lon
Sensor: soil_moisture | fields: lat, reading, unit, value
Task: Fetch lon from wind_speed where depth is greater than the total of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066588 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, value, lon, level
Sensor: lightning | fields: unit, ts, level, value
Task: Fetch level from turbidity where value is greater than the total of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066589 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: level, lat, reading, qc
Sensor: drought_index | fields: lat, unit, reading, qc
Task: Retrieve value from lightning with value above the SUM(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066590 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, qc, ts, level
Sensor: dew_point | fields: reading, type, value, level
Task: Fetch depth from evaporation where reading is greater than the count of of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066591 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, lat, qc, lon
Sensor: soil_moisture | fields: qc, depth, ts, unit
Task: Retrieve reading from sunlight whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066592 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, level, depth, lon
Sensor: evaporation | fields: ts, qc, depth, value
Task: Retrieve lat from lightning whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066593 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, lat, reading, qc
Sensor: rainfall | fields: qc, type, level, reading
Task: Retrieve value from evaporation with depth above the AVG(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066594 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, qc, level, reading
Sensor: drought_index | fields: type, lat, value, ts
Task: Retrieve level from uv_index with depth above the AVG(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066595 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, type, depth, unit
Sensor: visibility | fields: qc, ts, unit, level
Task: Retrieve level from turbidity whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066596 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: unit, ts, lon, qc
Sensor: humidity | fields: value, lat, level, lon
Task: Fetch depth from air_quality that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066597 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, type, reading, lon
Sensor: cloud_cover | fields: level, depth, lon, reading
Task: Retrieve lat from frost whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066598 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, ts, type, level
Sensor: drought_index | fields: depth, ts, unit, lon
Task: Get lat from evaporation where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.