variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, lat, unit, type
Sensor: visibility | fields: depth, unit, qc, value
Task: Get lon from evaporation where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065400 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lat, type, ts
Sensor: cloud_cover | fields: value, lon, reading, unit
Task: Fetch depth from dew_point where value is greater than the total of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065401 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, depth, reading, type
Sensor: humidity | fields: reading, lat, lon, level
Task: Retrieve value from snow_depth that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065402 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, value, lon, type
Sensor: snow_depth | fields: unit, level, qc, lat
Task: Get reading from wind_speed where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065403 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, level, unit, depth
Sensor: evaporation | fields: unit, value, lat, type
Task: Get reading from uv_index where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065404 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: type, reading, value, lon
Sensor: sunlight | fields: unit, ts, qc, value
Task: Get level from humidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065405 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, depth, value, reading
Sensor: pressure | fields: reading, lon, lat, value
Task: Retrieve reading from wind_speed that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065406 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, unit, type, value
Sensor: snow_depth | fields: type, unit, lat, level
Task: Fetch lat from dew_point where depth is greater than the average of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065407 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, unit, level, ts
Sensor: evaporation | fields: depth, ts, value, qc
Task: Fetch value from humidity where type exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065408 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: level, ts, type, reading
Sensor: turbidity | fields: ts, unit, lon, value
Task: Get lat from lightning where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065409 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: depth, qc, level, ts
Sensor: wind_speed | fields: ts, level, lon, unit
Task: Retrieve depth from visibility whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065410 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, unit, type, value
Sensor: dew_point | fields: ts, lat, value, depth
Task: Get reading from cloud_cover where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065411 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lat, value, type, qc
Sensor: temperature | fields: ts, unit, value, level
Task: Get lon from humidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065412 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, depth, level, lon
Sensor: visibility | fields: unit, lat, value, reading
Task: Retrieve value from uv_index whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065413 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, lon, unit, qc
Sensor: drought_index | fields: unit, reading, type, qc
Task: Get depth from soil_moisture where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065414 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, lat, reading, level
Sensor: turbidity | fields: qc, ts, type, reading
Task: Retrieve reading from temperature with depth above the AVG(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065415 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, level, lat, value
Sensor: wind_speed | fields: lat, type, qc, level
Task: Fetch reading from turbidity where reading is greater than the minimum of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065416 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lat, value, level, ts
Sensor: cloud_cover | fields: ts, level, depth, value
Task: Get reading from dew_point where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065417 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: qc, depth, type, value
Sensor: soil_moisture | fields: qc, unit, level, lat
Task: Get reading from evaporation where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065418 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, level, ts, qc
Sensor: dew_point | fields: reading, unit, value, type
Task: Get lat from visibility where reading exceeds the total reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065419 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, depth, type, lon
Sensor: visibility | fields: type, ts, reading, qc
Task: Retrieve value from pressure with value above the MIN(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065420 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, unit, qc, ts
Sensor: wind_speed | fields: reading, qc, level, depth
Task: Get reading from dew_point where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065421 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: value, ts, type, unit
Sensor: drought_index | fields: unit, lat, depth, ts
Task: Retrieve lat from sunlight whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065422 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, lon, type, ts
Sensor: dew_point | fields: reading, lat, unit, level
Task: Get reading from frost where depth exceeds the count of value from dew_point for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065423 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, lat, value, lon
Sensor: wind_speed | fields: reading, depth, type, level
Task: Retrieve value from humidity with value above the MAX(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065424 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, unit, type, level
Sensor: drought_index | fields: lon, level, unit, lat
Task: Get depth from rainfall where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065425 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, type, depth
Sensor: turbidity | fields: level, unit, ts, qc
Task: Fetch value from humidity where reading is greater than the average of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065426 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, type, qc, depth
Sensor: soil_moisture | fields: type, lat, value, unit
Task: Get lat from wind_speed where value exceeds the maximum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065427 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, ts, qc, unit
Sensor: rainfall | fields: type, unit, lon, value
Task: Retrieve level from cloud_cover that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065428 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, lon, level, qc
Sensor: snow_depth | fields: unit, type, level, depth
Task: Get depth from sunlight where depth exceeds the minimum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065429 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, reading, depth, lon
Sensor: snow_depth | fields: ts, lat, depth, qc
Task: Fetch lat from visibility where depth is greater than the count of of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065430 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, unit, level, type
Sensor: uv_index | fields: lat, qc, ts, level
Task: Get reading from rainfall where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065431 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, ts, qc, lat
Sensor: temperature | fields: level, unit, type, reading
Task: Retrieve value from rainfall with value above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065432 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, reading, type, depth
Sensor: pressure | fields: depth, ts, type, level
Task: Retrieve depth from temperature that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065433 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: reading, type, level, unit
Sensor: lightning | fields: unit, qc, value, depth
Task: Get lat from evaporation where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065434 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, depth, ts, reading
Sensor: evaporation | fields: qc, unit, type, ts
Task: Retrieve lat from rainfall with reading above the SUM(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065435 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, unit, qc, type
Sensor: frost | fields: type, qc, value, lon
Task: Get lat from humidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065436 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, ts, lon, lat
Sensor: drought_index | fields: lon, reading, type, depth
Task: Retrieve lon from lightning whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065437 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, level, reading, ts
Sensor: lightning | fields: level, ts, value, lat
Task: Get lat from drought_index where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065438 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, lat, level, value
Sensor: evaporation | fields: level, lon, reading, lat
Task: Fetch reading from humidity where depth is greater than the average of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065439 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, depth, unit, value
Sensor: sunlight | fields: value, type, level, unit
Task: Get reading from air_quality where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065440 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: reading, type, unit, lat
Sensor: sunlight | fields: qc, value, lat, ts
Task: Get level from air_quality where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065441 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, ts, reading, type
Sensor: pressure | fields: lon, depth, lat, unit
Task: Retrieve value from drought_index whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065442 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, qc, reading, lat
Sensor: snow_depth | fields: unit, ts, lon, value
Task: Retrieve lat from cloud_cover with depth above the MAX(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065443 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, level, unit, qc
Sensor: humidity | fields: unit, lat, value, level
Task: Get value from wind_speed where value exceeds the count of reading from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065444 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lat, ts, qc, value
Sensor: uv_index | fields: lat, depth, level, reading
Task: Retrieve lon from air_quality with value above the MIN(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065445 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, level, type, value
Sensor: sunlight | fields: lat, depth, unit, type
Task: Retrieve depth from uv_index with value above the SUM(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065446 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, ts, level, qc
Sensor: pressure | fields: lat, value, qc, unit
Task: Get depth from air_quality where reading exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065447 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, lat, qc, level
Sensor: uv_index | fields: qc, lat, unit, value
Task: Retrieve depth from rainfall that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065448 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, level, lon, qc
Sensor: humidity | fields: unit, lon, lat, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065449 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, type, lon, depth
Sensor: evaporation | fields: value, lat, depth, ts
Task: Retrieve depth from uv_index whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065450 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, type, reading, lat
Sensor: sunlight | fields: lon, qc, value, type
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065451 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, ts, lat, depth
Sensor: frost | fields: depth, lat, unit, reading
Task: Retrieve lat from pressure whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065452 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, lat, type, qc
Sensor: visibility | fields: unit, level, depth, qc
Task: Fetch lon from drought_index that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065453 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, value, qc, lon
Sensor: uv_index | fields: ts, level, value, lon
Task: Get depth from turbidity where value exceeds the average value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065454 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, lat, depth, value
Sensor: drought_index | fields: depth, ts, level, type
Task: Fetch reading from pressure where reading is greater than the total of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065455 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, lat, qc, value
Sensor: uv_index | fields: unit, depth, type, ts
Task: Fetch level from snow_depth that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065456 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, lon, qc, ts
Sensor: uv_index | fields: level, depth, qc, unit
Task: Get depth from humidity where reading exceeds the maximum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065457 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, lat, type, depth
Sensor: soil_moisture | fields: value, unit, lon, type
Task: Fetch lat from air_quality that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065458 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: qc, depth, reading, ts
Sensor: turbidity | fields: depth, ts, type, reading
Task: Retrieve lon from evaporation whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065459 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, qc, level, reading
Sensor: air_quality | fields: depth, level, qc, type
Task: Retrieve value from temperature whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065460 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, reading, unit, level
Sensor: wind_speed | fields: value, level, unit, type
Task: Retrieve lon from lightning with reading above the MIN(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065461 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: depth, lon, lat, type
Sensor: pressure | fields: reading, level, lon, depth
Task: Get depth from evaporation where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065462 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, lon, lat, level
Sensor: drought_index | fields: level, ts, lat, unit
Task: Get lat from lightning where ts appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065463 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, lat, unit, reading
Sensor: lightning | fields: type, reading, value, ts
Task: Retrieve depth from humidity with reading above the MAX(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065464 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, reading, value
Sensor: lightning | fields: lat, ts, level, lon
Task: Fetch lat from drought_index where ts exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065465 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, lon, lat, reading
Sensor: cloud_cover | fields: type, lat, depth, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065466 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, qc, type, lon
Sensor: evaporation | fields: lon, qc, value, type
Task: Retrieve lon from frost whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065467 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, qc, level, unit
Sensor: dew_point | fields: value, unit, level, depth
Task: Get depth from rainfall where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065468 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, level, qc, ts
Sensor: frost | fields: depth, reading, level, ts
Task: Fetch reading from soil_moisture where value is greater than the count of of value in frost for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065469 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, depth, ts, type
Sensor: evaporation | fields: type, qc, reading, unit
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065470 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, depth, reading, value
Sensor: cloud_cover | fields: type, qc, value, unit
Task: Retrieve depth from snow_depth whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065471 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, ts, type, lon
Sensor: cloud_cover | fields: depth, type, ts, level
Task: Retrieve lon from visibility that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065472 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, qc, lon, reading
Sensor: pressure | fields: reading, value, depth, qc
Task: Fetch depth from frost where depth is greater than the count of of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065473 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: type, value, unit, ts
Sensor: lightning | fields: value, lat, level, unit
Task: Get reading from wind_speed where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065474 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: depth, level, value, ts
Sensor: wind_speed | fields: ts, level, lat, lon
Task: Retrieve value from lightning that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065475 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, value, type, lat
Sensor: sunlight | fields: qc, ts, depth, type
Task: Get reading from visibility where depth exceeds the count of reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065476 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: qc, unit, type, lon
Sensor: evaporation | fields: reading, depth, level, value
Task: Fetch lon from lightning where value is greater than the average of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065477 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, type, ts, lon
Sensor: cloud_cover | fields: reading, lat, type, level
Task: Get lat from temperature where value exceeds the average value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065478 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, qc, lon, depth
Sensor: soil_moisture | fields: value, ts, reading, depth
Task: Fetch reading from wind_speed where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065479 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, level, depth, reading
Sensor: visibility | fields: lon, unit, value, reading
Task: Get value from sunlight where qc appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065480 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, qc, reading, type
Sensor: pressure | fields: qc, lon, depth, type
Task: Fetch depth from sunlight where reading is greater than the total of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065481 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: reading, unit, type, lon
Sensor: pressure | fields: reading, lat, level, unit
Task: Get lat from lightning where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065482 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, type, depth, reading
Sensor: soil_moisture | fields: type, reading, lat, depth
Task: Fetch value from frost that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065483 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, lat, unit, reading
Sensor: temperature | fields: qc, value, reading, lon
Task: Get depth from evaporation where depth exceeds the maximum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065484 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, reading, unit, ts
Sensor: cloud_cover | fields: ts, unit, lat, level
Task: Retrieve level from snow_depth that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065485 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, type, depth, ts
Sensor: drought_index | fields: type, value, qc, level
Task: Get reading from cloud_cover where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065486 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: value, depth, reading, lat
Sensor: frost | fields: depth, ts, qc, reading
Task: Fetch level from air_quality where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065487 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, level, depth, ts
Sensor: sunlight | fields: qc, lon, level, value
Task: Get level from temperature where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065488 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, value, ts, unit
Sensor: dew_point | fields: value, level, lon, lat
Task: Get lon from cloud_cover where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065489 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: ts, value, lon, unit
Sensor: air_quality | fields: reading, lat, depth, unit
Task: Fetch lat from dew_point where reading is greater than the minimum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065490 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, reading, value, lat
Sensor: sunlight | fields: ts, level, type, depth
Task: Retrieve value from uv_index that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065491 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, lat, ts, depth
Sensor: dew_point | fields: lat, level, value, reading
Task: Get reading from temperature where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065492 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, reading, unit
Sensor: temperature | fields: lon, reading, level, qc
Task: Retrieve lon from rainfall with depth above the SUM(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065493 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, level, value, qc
Sensor: turbidity | fields: lon, lat, unit, level
Task: Get reading from wind_speed where value exceeds the minimum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065494 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, ts, unit, lon
Sensor: visibility | fields: type, reading, depth, ts
Task: Get lat from wind_speed where depth exceeds the total depth from visibility for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065495 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: qc, value, level, lon
Sensor: visibility | fields: depth, lon, unit, reading
Task: Retrieve value from rainfall that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_065496 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, depth, lat, type
Sensor: humidity | fields: lon, depth, lat, reading
Task: Retrieve lat from air_quality whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065497 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: qc, lat, type, value
Sensor: uv_index | fields: value, depth, level, type
Task: Fetch lon from humidity where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065498 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, reading, value, qc
Sensor: turbidity | fields: lat, unit, ts, level
Task: Retrieve value from humidity whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_065499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.