variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, level, value, type
Sensor: snow_depth | fields: unit, reading, depth, value
Task: Get lat from uv_index where reading exceeds the minimum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022400 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lon, depth, level
Sensor: turbidity | fields: unit, reading, type, level
Task: Get lon from evaporation where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022401 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, reading, unit, lon
Sensor: cloud_cover | fields: depth, lon, level, value
Task: Get depth from uv_index where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022402 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, qc, depth, reading
Sensor: drought_index | fields: lon, qc, type, reading
Task: Fetch value from visibility where depth is greater than the minimum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022403 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: value, lat, lon, reading
Sensor: lightning | fields: unit, level, qc, lat
Task: Fetch depth from frost where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022404 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, level, ts, reading
Sensor: humidity | fields: qc, type, lon, level
Task: Retrieve lon from turbidity with reading above the SUM(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022405 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, lon, ts
Sensor: air_quality | fields: qc, reading, ts, value
Task: Get level from turbidity where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022406 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, depth, type, reading
Sensor: pressure | fields: qc, type, reading, lon
Task: Fetch lon from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022407 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, unit, ts, type
Sensor: wind_speed | fields: type, qc, level, value
Task: Get reading from humidity where value exceeds the average depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022408 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, lat, unit
Sensor: sunlight | fields: unit, type, lat, lon
Task: Retrieve reading from drought_index whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022409 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, type, depth, level
Sensor: dew_point | fields: lon, value, level, type
Task: Fetch level from air_quality that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"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_022410 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, level, qc, ts
Sensor: temperature | fields: value, ts, level, depth
Task: Get level from cloud_cover where depth exceeds the maximum reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022411 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, qc, lat, ts
Sensor: humidity | fields: ts, reading, depth, value
Task: Fetch reading from temperature that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022412 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, lon, unit, qc
Sensor: lightning | fields: unit, depth, level, qc
Task: Fetch level from visibility where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022413 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, lat, depth, reading
Sensor: turbidity | fields: unit, reading, lon, lat
Task: Fetch lon from dew_point where value is greater than the maximum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022414 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, depth, lat, ts
Sensor: soil_moisture | fields: depth, level, lat, type
Task: Get depth from evaporation where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022415 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, lat, value, qc
Sensor: evaporation | fields: type, unit, lon, level
Task: Get reading from visibility where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022416 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, type, lon, reading
Sensor: wind_speed | fields: qc, lon, unit, level
Task: Fetch value from dew_point where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022417 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, type, lon, reading
Sensor: air_quality | fields: ts, reading, lat, qc
Task: Fetch reading from snow_depth where reading is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022418 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: reading, value, depth, ts
Sensor: cloud_cover | fields: unit, lat, level, lon
Task: Retrieve value from drought_index whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022419 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, unit, reading, value
Sensor: turbidity | fields: qc, lat, reading, level
Task: Fetch lon from cloud_cover where value is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022420 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, unit, ts, lon
Sensor: drought_index | fields: lat, reading, unit, depth
Task: Get level from soil_moisture where value exceeds the total reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022421 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, level, value, reading
Sensor: snow_depth | fields: value, lon, qc, depth
Task: Retrieve value from evaporation whose type is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022422 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, ts, reading, lat
Sensor: sunlight | fields: lon, ts, unit, depth
Task: Fetch reading from cloud_cover where qc exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022423 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, qc, lon, depth
Sensor: snow_depth | fields: unit, type, level, value
Task: Get lon from evaporation where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022424 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, type, lon, level
Sensor: turbidity | fields: ts, reading, unit, qc
Task: Retrieve level from frost whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022425 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, depth, qc, type
Sensor: turbidity | fields: reading, value, unit, qc
Task: Fetch depth from rainfall where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022426 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, type, reading, level
Sensor: visibility | fields: type, lon, qc, ts
Task: Retrieve depth from rainfall with reading above the AVG(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022427 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: unit, ts, value, lat
Sensor: turbidity | fields: lat, type, depth, unit
Task: Get level from frost where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022428 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, depth, reading, qc
Sensor: temperature | fields: unit, reading, depth, value
Task: Retrieve depth from pressure with reading above the SUM(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022429 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: unit, type, value, lat
Sensor: lightning | fields: reading, unit, lon, depth
Task: Retrieve level from uv_index with value above the SUM(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022430 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, lat, type, depth
Sensor: lightning | fields: unit, ts, depth, lat
Task: Fetch value from visibility that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022431 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, lat, depth, ts
Sensor: air_quality | fields: depth, value, lon, lat
Task: Fetch depth from frost where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022432 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, depth, ts
Sensor: lightning | fields: depth, level, lat, reading
Task: Fetch value from cloud_cover that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022433 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lat, value, ts, qc
Sensor: turbidity | fields: reading, lon, level, ts
Task: Fetch level from drought_index where value is greater than the total of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022434 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, unit, ts, type
Sensor: temperature | fields: type, unit, qc, value
Task: Get lon from humidity where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022435 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, value, type, lon
Sensor: turbidity | fields: reading, ts, value, unit
Task: Fetch lat from pressure where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022436 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, depth, type, lon
Sensor: snow_depth | fields: qc, level, reading, lon
Task: Fetch reading from rainfall where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022437 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, qc, depth, reading
Sensor: wind_speed | fields: unit, value, qc, ts
Task: Retrieve level from humidity with depth above the COUNT(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022438 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, value, type, lon
Sensor: drought_index | fields: qc, lon, depth, unit
Task: Fetch reading from frost where value is greater than the total of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022439 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, ts, lat, level
Sensor: uv_index | fields: ts, lon, reading, value
Task: Fetch reading from snow_depth where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022440 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, type, value, qc
Sensor: cloud_cover | fields: depth, level, type, lat
Task: Get lon from drought_index where depth exceeds the count of value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022441 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, unit, lon, value
Sensor: lightning | fields: depth, qc, value, lat
Task: Fetch lat from sunlight that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022442 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, unit, reading, depth
Sensor: pressure | fields: value, ts, unit, type
Task: Get reading from rainfall where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022443 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, depth, unit, lon
Sensor: air_quality | fields: ts, lon, reading, unit
Task: Fetch value from turbidity where depth is greater than the average of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022444 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, reading, depth, type
Sensor: humidity | fields: type, level, value, reading
Task: Retrieve reading from frost with value above the COUNT(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022445 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, lon, qc, level
Sensor: wind_speed | fields: depth, unit, ts, value
Task: Fetch lat from air_quality where unit exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022446 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, qc, value, level
Sensor: soil_moisture | fields: ts, reading, type, lon
Task: Fetch value from turbidity where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022447 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, unit, qc, reading
Sensor: temperature | fields: reading, ts, type, depth
Task: Fetch level from rainfall where reading is greater than the maximum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022448 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: value, unit, type, reading
Sensor: cloud_cover | fields: reading, depth, ts, lon
Task: Fetch lat from humidity that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022449 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, reading, level, type
Sensor: lightning | fields: ts, depth, lat, reading
Task: Fetch reading from snow_depth that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022450 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, unit, reading, level
Sensor: air_quality | fields: depth, level, unit, ts
Task: Retrieve depth from humidity with reading above the SUM(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022451 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, lon, type, lat
Sensor: evaporation | fields: lat, qc, unit, ts
Task: Get lon from humidity where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022452 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, value, ts, level
Sensor: temperature | fields: level, ts, value, qc
Task: Retrieve level from drought_index with depth above the MIN(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022453 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: reading, level, qc, ts
Sensor: drought_index | fields: value, qc, type, ts
Task: Fetch depth from rainfall where qc exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022454 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lon, level, unit
Sensor: air_quality | fields: depth, value, type, unit
Task: Get lon from drought_index where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022455 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lon, value, qc, unit
Sensor: uv_index | fields: unit, depth, qc, reading
Task: Get level from turbidity where depth exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022456 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, ts, lon, depth
Sensor: uv_index | fields: depth, lat, value, lon
Task: Get depth from dew_point where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022457 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: level, reading, type, lon
Sensor: cloud_cover | fields: level, value, unit, lon
Task: Get depth from turbidity where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022458 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, lat, unit
Sensor: evaporation | fields: type, value, unit, reading
Task: Fetch lat from snow_depth where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022459 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: value, unit, qc, type
Sensor: evaporation | fields: lat, value, type, lon
Task: Get level from sunlight where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022460 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: depth, level, type, qc
Sensor: wind_speed | fields: depth, lon, level, type
Task: Fetch lon from dew_point that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022461 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, type, qc
Sensor: frost | fields: value, lat, lon, reading
Task: Retrieve lon from lightning that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022462 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: type, ts, reading, qc
Sensor: humidity | fields: depth, type, lon, reading
Task: Fetch lon from drought_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022463 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, lat, type, lon
Sensor: uv_index | fields: depth, lat, qc, level
Task: Retrieve level from humidity with reading above the COUNT(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022464 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, level, reading, value
Sensor: pressure | fields: ts, unit, depth, type
Task: Fetch depth from turbidity where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022465 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, qc, unit, level
Sensor: visibility | fields: lat, level, ts, type
Task: Get value from pressure where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022466 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, qc, depth, ts
Sensor: uv_index | fields: lat, unit, value, qc
Task: Retrieve lon from humidity whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022467 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, unit, value, lat
Sensor: sunlight | fields: reading, value, unit, ts
Task: Fetch reading from wind_speed that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022468 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, type, lon, ts
Sensor: soil_moisture | fields: value, reading, ts, lon
Task: Get reading from drought_index where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022469 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, value, type, reading
Sensor: pressure | fields: ts, lon, reading, depth
Task: Fetch lat from dew_point where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022470 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lat, ts, qc
Sensor: pressure | fields: value, qc, depth, type
Task: Get depth from rainfall where value exceeds the maximum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022471 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, unit, reading, type
Sensor: turbidity | fields: lon, type, reading, ts
Task: Get lat from sunlight where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022472 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: level, depth, reading, type
Sensor: humidity | fields: ts, value, depth, lon
Task: Retrieve level from lightning with depth above the MIN(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022473 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, depth, type, ts
Sensor: rainfall | fields: type, lon, reading, lat
Task: Fetch level from temperature where reading is greater than the average of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022474 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: qc, value, lat, level
Sensor: pressure | fields: level, qc, ts, lat
Task: Get level from frost where depth exceeds the total reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022475 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, type, reading, value
Sensor: humidity | fields: level, type, lat, ts
Task: Fetch lon from cloud_cover that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022476 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, ts, type, reading
Sensor: snow_depth | fields: lon, value, qc, level
Task: Get lat from sunlight where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022477 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: ts, lat, lon, unit
Sensor: sunlight | fields: depth, unit, qc, type
Task: Retrieve lat from air_quality that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022478 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, type, lon, value
Sensor: wind_speed | fields: qc, unit, ts, reading
Task: Fetch level from temperature that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022479 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, lon, unit, level
Sensor: air_quality | fields: unit, level, lon, type
Task: Get level from rainfall where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022480 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, depth, level, lat
Sensor: dew_point | fields: lon, level, qc, unit
Task: Fetch depth from visibility that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022481 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, reading, unit, depth
Sensor: wind_speed | fields: lon, qc, value, type
Task: Get lat from evaporation where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022482 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, ts, value, lon
Sensor: pressure | fields: reading, value, level, ts
Task: Retrieve lon from temperature whose ts is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022483 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, value, lon, depth
Sensor: pressure | fields: unit, reading, lat, type
Task: Retrieve value from air_quality whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022484 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, type, level, unit
Sensor: uv_index | fields: value, depth, unit, qc
Task: Fetch value from drought_index that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022485 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, level, ts, unit
Sensor: cloud_cover | fields: lat, ts, depth, reading
Task: Fetch reading from evaporation that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022486 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: value, lat, ts, qc
Sensor: temperature | fields: value, lat, lon, type
Task: Fetch lat from evaporation that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022487 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, reading, value, lon
Sensor: air_quality | fields: qc, value, reading, lon
Task: Fetch lat from visibility where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022488 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, reading, level, depth
Sensor: lightning | fields: depth, type, level, ts
Task: Get lon from soil_moisture where reading exceeds the average value from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022489 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, level, depth, unit
Sensor: frost | fields: ts, value, lat, unit
Task: Fetch depth from dew_point where value is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022490 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, depth, level, ts
Sensor: sunlight | fields: level, qc, unit, value
Task: Retrieve depth from uv_index with reading above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022491 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: depth, lat, lon, reading
Sensor: snow_depth | fields: depth, type, lon, reading
Task: Retrieve lat from uv_index with depth above the SUM(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022492 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, depth, lat, lon
Sensor: cloud_cover | fields: type, depth, ts, lon
Task: Fetch level from dew_point where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022493 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, depth, lon, reading
Sensor: visibility | fields: lat, value, ts, depth
Task: Fetch reading from wind_speed where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022494 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, lon, value, type
Sensor: wind_speed | fields: lon, qc, lat, ts
Task: Fetch level from temperature where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022495 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, unit, type, lon
Sensor: humidity | fields: lon, value, lat, ts
Task: Fetch lon from frost where reading is greater than the minimum of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022496 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, type, lat, reading
Sensor: turbidity | fields: level, ts, lat, lon
Task: Fetch reading from air_quality where value is greater than the maximum of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022497 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, level, ts, type
Sensor: snow_depth | fields: level, reading, qc, unit
Task: Fetch depth from lightning where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022498 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, depth, level, lat
Sensor: temperature | fields: lat, qc, depth, lon
Task: Get level from pressure where qc appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.