variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, lon, value, qc
Sensor: lightning | fields: ts, depth, qc, reading
Task: Fetch level from temperature where qc exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063400 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, depth, level, qc
Sensor: air_quality | fields: ts, lon, lat, type
Task: Get value from soil_moisture where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063401 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, type, depth
Sensor: pressure | fields: value, lat, type, unit
Task: Fetch depth from snow_depth that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063402 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, type, reading, ts
Sensor: turbidity | fields: reading, ts, lat, level
Task: Fetch reading from visibility where reading is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063403 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lat, reading, level
Sensor: visibility | fields: value, level, depth, unit
Task: Get reading from drought_index where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063404 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lat, depth, reading, qc
Sensor: turbidity | fields: lat, reading, lon, qc
Task: Fetch lon from humidity where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063405 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lon, lat, depth, unit
Sensor: lightning | fields: depth, reading, lon, unit
Task: Retrieve level from dew_point whose type is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063406 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, unit, lat
Sensor: evaporation | fields: ts, reading, value, level
Task: Retrieve value from lightning with value above the AVG(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063407 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, reading, lat, qc
Sensor: cloud_cover | fields: value, depth, type, level
Task: Fetch depth from temperature where depth is greater than the total of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063408 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lat, lon, ts, depth
Sensor: pressure | fields: type, depth, unit, level
Task: Retrieve reading from turbidity with reading above the AVG(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063409 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, level, lat, value
Sensor: air_quality | fields: lat, depth, type, ts
Task: Fetch lon from rainfall where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063410 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, reading, unit, value
Sensor: lightning | fields: lat, reading, depth, level
Task: Get reading from humidity where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063411 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, reading, qc
Sensor: air_quality | fields: lat, value, level, reading
Task: Retrieve lat from visibility whose ts is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063412 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: value, level, ts, unit
Sensor: turbidity | fields: lon, type, ts, qc
Task: Retrieve lon from uv_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063413 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, unit, lon, lat
Sensor: frost | fields: reading, type, ts, value
Task: Get level from soil_moisture where reading exceeds the maximum reading from frost for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063414 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lat, level, unit
Sensor: air_quality | fields: unit, type, depth, lat
Task: Retrieve lat from dew_point with value above the COUNT(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063415 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, lon, type, unit
Sensor: cloud_cover | fields: value, qc, lat, ts
Task: Retrieve lat from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063416 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, ts, type, qc
Sensor: cloud_cover | fields: unit, lat, level, ts
Task: Fetch lat from evaporation where unit exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063417 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, lon, ts, qc
Sensor: frost | fields: ts, value, type, lon
Task: Get lat from humidity where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063418 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, unit, type
Sensor: turbidity | fields: depth, level, type, ts
Task: Get depth from snow_depth where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063419 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, qc, depth, lon
Sensor: dew_point | fields: level, reading, type, lon
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063420 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, value, depth, level
Sensor: rainfall | fields: depth, reading, qc, lat
Task: Get lat from pressure where reading exceeds the average depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063421 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, type, level, unit
Sensor: pressure | fields: level, lon, reading, depth
Task: Retrieve depth from lightning that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063422 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, depth, unit, lat
Sensor: snow_depth | fields: qc, ts, type, lat
Task: Get value from drought_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063423 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, lon, depth, unit
Sensor: uv_index | fields: level, depth, value, lon
Task: Fetch reading from wind_speed where depth exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063424 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, value, ts, depth
Sensor: evaporation | fields: level, ts, depth, lat
Task: Get level from snow_depth where depth appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063425 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lat, ts, type, qc
Sensor: wind_speed | fields: ts, type, reading, depth
Task: Get depth from air_quality where value exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063426 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, type, ts, unit
Sensor: rainfall | fields: value, lon, ts, qc
Task: Get value from drought_index where depth exceeds the total reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063427 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, ts, reading, depth
Sensor: visibility | fields: ts, depth, lat, lon
Task: Get lat from humidity where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063428 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, ts, lon, reading
Sensor: evaporation | fields: qc, type, lon, unit
Task: Retrieve lat from rainfall with value above the MAX(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063429 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: level, qc, unit, depth
Sensor: soil_moisture | fields: ts, depth, lat, qc
Task: Get depth from wind_speed where reading exceeds the average depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063430 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, qc, unit, value
Sensor: dew_point | fields: unit, type, ts, level
Task: Get lon from rainfall where reading exceeds the total reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063431 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, value, unit, lon
Sensor: pressure | fields: ts, lat, qc, value
Task: Retrieve depth from cloud_cover with depth above the AVG(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063432 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, lat, type, reading
Sensor: evaporation | fields: depth, type, qc, reading
Task: Fetch lon from pressure where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063433 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, depth, lat, qc
Sensor: uv_index | fields: value, depth, unit, lon
Task: Get depth from cloud_cover where value exceeds the maximum depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063434 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, value, unit, lat
Sensor: drought_index | fields: type, ts, depth, unit
Task: Get lat from frost where qc appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063435 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, type, depth, reading
Sensor: cloud_cover | fields: value, qc, unit, type
Task: Retrieve level from drought_index whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063436 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, type, ts, lat
Sensor: pressure | fields: level, ts, reading, depth
Task: Fetch lat from frost that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063437 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, level, ts, unit
Sensor: temperature | fields: level, lat, qc, unit
Task: Retrieve lat from turbidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063438 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, level, type, unit
Sensor: drought_index | fields: level, qc, reading, value
Task: Retrieve level from cloud_cover with depth above the SUM(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063439 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, ts, type, qc
Sensor: frost | fields: lat, level, qc, depth
Task: Retrieve lon from evaporation with depth above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063440 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, lat, level, unit
Sensor: drought_index | fields: type, ts, lat, qc
Task: Retrieve level from sunlight whose type is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063441 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, level, qc, reading
Sensor: uv_index | fields: ts, level, lat, qc
Task: Retrieve reading from turbidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063442 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, unit, value, type
Sensor: evaporation | fields: level, ts, qc, lat
Task: Retrieve lon from frost with depth above the AVG(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063443 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, qc, lon, depth
Sensor: lightning | fields: lat, unit, level, depth
Task: Get level from sunlight where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063444 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, reading, qc
Sensor: air_quality | fields: value, qc, unit, level
Task: Get level from rainfall where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063445 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, depth, value, lon
Sensor: cloud_cover | fields: level, reading, lon, type
Task: Fetch depth from dew_point where value is greater than the average of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063446 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, unit, depth, type
Sensor: rainfall | fields: level, depth, ts, unit
Task: Retrieve lon from pressure with value above the SUM(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063447 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: ts, qc, type, level
Sensor: rainfall | fields: value, type, ts, level
Task: Get reading from dew_point where value exceeds the minimum reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063448 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, reading, value
Sensor: pressure | fields: ts, value, reading, qc
Task: Fetch lon from cloud_cover where value is greater than the count of of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063449 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lon, level, value
Sensor: humidity | fields: level, type, lat, lon
Task: Retrieve lat from dew_point whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063450 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, lon, depth, qc
Sensor: air_quality | fields: ts, value, level, unit
Task: Retrieve reading from drought_index with depth above the COUNT(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063451 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, lat, value, type
Sensor: lightning | fields: unit, value, level, ts
Task: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063452 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: value, reading, type, depth
Sensor: turbidity | fields: qc, level, depth, value
Task: Retrieve lon from pressure with value above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063453 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, qc, depth, unit
Sensor: drought_index | fields: level, type, unit, lon
Task: Fetch reading from humidity that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063454 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, depth, ts
Sensor: uv_index | fields: type, unit, depth, reading
Task: Fetch reading from dew_point where value is greater than the count of of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063455 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, ts, lat, unit
Sensor: air_quality | fields: type, level, lon, ts
Task: Retrieve value from sunlight whose ts is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063456 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, depth, value, lat
Sensor: soil_moisture | fields: qc, depth, type, lat
Task: Get value from frost where value exceeds the maximum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063457 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lon, type, value
Sensor: wind_speed | fields: unit, qc, lat, value
Task: Get depth from snow_depth where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063458 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, lat, reading
Sensor: cloud_cover | fields: level, qc, lon, reading
Task: Retrieve value from evaporation with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063459 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, level, value, depth
Sensor: pressure | fields: lat, lon, qc, depth
Task: Retrieve value from temperature with reading above the COUNT(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063460 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, qc, value, level
Sensor: dew_point | fields: qc, level, value, reading
Task: Fetch level from evaporation where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063461 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, depth, unit, level
Sensor: lightning | fields: qc, depth, reading, ts
Task: Fetch depth from pressure where qc exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063462 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, qc, lon, depth
Sensor: drought_index | fields: qc, level, reading, value
Task: Retrieve lat from turbidity whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063463 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, type, lon, unit
Sensor: turbidity | fields: type, unit, qc, lon
Task: Fetch reading from lightning that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063464 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, lat, lon, qc
Sensor: visibility | fields: depth, ts, lon, qc
Task: Retrieve reading from cloud_cover whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063465 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: level, qc, ts, lon
Sensor: frost | fields: unit, depth, lon, lat
Task: Fetch level from uv_index where depth is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063466 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, unit, depth, ts
Sensor: evaporation | fields: depth, type, unit, lon
Task: Retrieve lon from dew_point with reading above the MAX(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063467 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, lat, lon, depth
Sensor: wind_speed | fields: depth, lon, level, lat
Task: Get reading from soil_moisture where value exceeds the average depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063468 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, type, reading, qc
Sensor: dew_point | fields: depth, lat, level, type
Task: Fetch level from drought_index where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063469 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, ts, level, qc
Sensor: cloud_cover | fields: qc, ts, lon, type
Task: Get depth from dew_point where value exceeds the count of reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063470 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, type, level, reading
Sensor: pressure | fields: unit, reading, depth, value
Task: Retrieve level from sunlight whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063471 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, level, unit
Sensor: snow_depth | fields: type, reading, unit, ts
Task: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063472 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, value, qc, lat
Sensor: visibility | fields: qc, ts, depth, unit
Task: Retrieve level from wind_speed whose qc is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063473 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, ts, value
Sensor: rainfall | fields: value, type, reading, lon
Task: Retrieve lat from lightning whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063474 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, reading, type, unit
Sensor: uv_index | fields: reading, unit, ts, type
Task: Retrieve level from evaporation whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063475 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: depth, qc, level, lat
Sensor: temperature | fields: lon, unit, level, lat
Task: Get value from visibility where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063476 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, ts, lat, depth
Sensor: humidity | fields: qc, value, ts, level
Task: Fetch level from cloud_cover where value is greater than the minimum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063477 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, level, lat, depth
Sensor: wind_speed | fields: reading, unit, type, value
Task: Fetch depth from sunlight where reading is greater than the count of of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063478 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lat, lon, ts
Sensor: drought_index | fields: lon, type, depth, ts
Task: Fetch depth from cloud_cover where type exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063479 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, level, ts, qc
Sensor: snow_depth | fields: value, qc, lat, level
Task: Get level from dew_point where qc appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063480 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, ts, reading, lon
Sensor: dew_point | fields: value, depth, lon, level
Task: Fetch value from air_quality where reading is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063481 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, level, qc, lat
Sensor: cloud_cover | fields: unit, qc, ts, type
Task: Fetch depth from drought_index where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063482 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, value, qc, lat
Sensor: soil_moisture | fields: value, lon, type, qc
Task: Get reading from sunlight where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063483 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, ts, lon, unit
Sensor: rainfall | fields: lon, type, lat, level
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063484 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, level, lat, unit
Sensor: air_quality | fields: depth, ts, level, qc
Task: Fetch value from cloud_cover that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063485 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: depth, level, lon, ts
Sensor: rainfall | fields: lat, unit, value, depth
Task: Retrieve reading from pressure whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063486 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: level, type, ts, lat
Sensor: drought_index | fields: value, reading, lon, level
Task: Fetch depth from dew_point that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063487 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, level, type, ts
Sensor: wind_speed | fields: unit, reading, depth, qc
Task: Retrieve lon from frost with reading above the COUNT(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063488 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, qc, value, lat
Sensor: evaporation | fields: ts, reading, value, depth
Task: Retrieve lat from air_quality whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063489 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: level, type, lat, lon
Sensor: air_quality | fields: level, lat, qc, lon
Task: Get depth from visibility where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063490 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, type, value, level
Sensor: cloud_cover | fields: lon, depth, level, type
Task: Fetch value from lightning that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063491 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, depth, qc, type
Sensor: turbidity | fields: type, ts, lon, unit
Task: Retrieve level from frost whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
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": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063492 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, qc, lat, lon
Sensor: uv_index | fields: reading, depth, unit, value
Task: Retrieve lon from rainfall that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063493 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: ts, reading, type, lon
Sensor: air_quality | fields: depth, value, unit, qc
Task: Retrieve lon from rainfall whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063494 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, level, depth, unit
Sensor: frost | fields: unit, depth, level, lon
Task: Retrieve lon from lightning with reading above the COUNT(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063495 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lat, unit, type
Sensor: drought_index | fields: depth, lon, reading, ts
Task: Retrieve lon from uv_index with reading above the COUNT(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063496 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: unit, level, type, ts
Sensor: temperature | fields: qc, value, type, lon
Task: Retrieve lon from rainfall that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063497 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, ts, type, level
Sensor: temperature | fields: reading, depth, type, ts
Task: Fetch lat from frost that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"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_063498 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, qc, depth, ts
Sensor: cloud_cover | fields: type, lon, reading, ts
Task: Fetch depth from soil_moisture where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.