variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, type, reading, unit
Sensor: wind_speed | fields: reading, ts, type, unit
Task: Fetch lon from dew_point where reading is greater than the minimum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014400 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, value, unit, level
Sensor: frost | fields: qc, level, lat, type
Task: Retrieve lat from soil_moisture whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014401 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, type, level, unit
Sensor: soil_moisture | fields: lon, reading, value, type
Task: Fetch value from pressure where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014402 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, value, depth, ts
Sensor: uv_index | fields: lat, unit, depth, type
Task: Fetch level from rainfall that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014403 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lon, value, ts, unit
Sensor: temperature | fields: reading, qc, value, unit
Task: Retrieve lat from sunlight that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014404 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, ts, value, unit
Sensor: evaporation | fields: type, qc, reading, depth
Task: Retrieve value from dew_point that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014405 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, value, reading, ts
Sensor: drought_index | fields: qc, unit, lon, reading
Task: Get lat from uv_index where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014406 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, lon, qc, type
Sensor: snow_depth | fields: ts, lat, depth, qc
Task: Fetch level from rainfall where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014407 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, type, level, unit
Sensor: evaporation | fields: type, lat, qc, value
Task: Get lat from temperature where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014408 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, depth, reading, lon
Sensor: turbidity | fields: ts, type, reading, lat
Task: Get depth from cloud_cover where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014409 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, value, reading, ts
Sensor: drought_index | fields: lon, type, ts, value
Task: Retrieve level from humidity whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014410 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, type, value, ts
Sensor: soil_moisture | fields: ts, lon, reading, level
Task: Fetch depth from snow_depth that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014411 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: depth, unit, value, level
Sensor: turbidity | fields: level, type, qc, value
Task: Retrieve value from lightning that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014412 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: level, reading, depth, type
Sensor: rainfall | fields: lon, level, reading, value
Task: Get reading from evaporation where depth exceeds the average reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_014413 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, value, qc, ts
Sensor: dew_point | fields: value, reading, unit, qc
Task: Retrieve reading from wind_speed with depth above the COUNT(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014414 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, reading, lon, value
Sensor: air_quality | fields: unit, reading, lon, level
Task: Retrieve level from humidity that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014415 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, value, lat, type
Sensor: wind_speed | fields: reading, unit, qc, value
Task: Get level from soil_moisture where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014416 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, ts, value, lon
Sensor: humidity | fields: lon, ts, level, lat
Task: Get lat from cloud_cover where reading exceeds the count of value from humidity for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014417 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, lon, lat, type
Sensor: pressure | fields: qc, depth, level, unit
Task: Get lon from humidity where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014418 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: level, qc, type, lat
Sensor: air_quality | fields: lon, level, value, unit
Task: Get value from humidity where depth exceeds the maximum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014419 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: type, qc, ts, lat
Sensor: sunlight | fields: level, qc, value, unit
Task: Retrieve value from air_quality that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014420 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, depth, qc, level
Sensor: wind_speed | fields: lon, ts, type, unit
Task: Retrieve lat from dew_point whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014421 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, value, reading, lat
Sensor: cloud_cover | fields: unit, value, level, depth
Task: Get depth from visibility where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014422 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, reading, qc, level
Sensor: soil_moisture | fields: depth, reading, ts, value
Task: Fetch level from sunlight where depth is greater than the average of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014423 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: level, type, qc, lon
Sensor: snow_depth | fields: lat, type, depth, value
Task: Get value from sunlight where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014424 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, lon, depth, level
Sensor: dew_point | fields: level, lon, ts, qc
Task: Retrieve lat from cloud_cover whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014425 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lon, qc, lat
Sensor: temperature | fields: lon, unit, depth, reading
Task: Get lat from soil_moisture where depth exceeds the total reading from temperature for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014426 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, lat, unit, qc
Sensor: drought_index | fields: unit, ts, depth, level
Task: Retrieve reading from soil_moisture whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014427 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, depth, lat, lon
Sensor: snow_depth | fields: lon, lat, depth, reading
Task: Fetch reading from cloud_cover where ts exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014428 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, ts, unit, level
Sensor: evaporation | fields: depth, unit, lat, ts
Task: Retrieve lat from lightning that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014429 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, ts, depth, lon
Sensor: rainfall | fields: ts, lat, type, unit
Task: Retrieve reading from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014430 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, unit, depth, lat
Sensor: soil_moisture | fields: type, depth, qc, lat
Task: Retrieve value from humidity that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"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_014431 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, ts, lon, reading
Sensor: temperature | fields: lat, reading, lon, ts
Task: Get lat from rainfall where reading exceeds the maximum value from temperature for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014432 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, lat, value, depth
Sensor: air_quality | fields: lon, qc, unit, reading
Task: Retrieve level from dew_point whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014433 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, ts, level, type
Sensor: uv_index | fields: level, lat, unit, type
Task: Retrieve value from visibility that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014434 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, qc, depth
Sensor: drought_index | fields: lat, value, depth, unit
Task: Get reading from soil_moisture where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014435 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, qc, level, unit
Sensor: pressure | fields: depth, unit, ts, level
Task: Fetch reading from rainfall that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014436 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, value, ts, lat
Sensor: drought_index | fields: lon, reading, level, lat
Task: Get level from lightning where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014437 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, value, lat, ts
Sensor: rainfall | fields: type, unit, level, reading
Task: Fetch reading from temperature that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014438 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: reading, ts, qc, lat
Sensor: visibility | fields: qc, level, lat, depth
Task: Fetch lat from rainfall where depth is greater than the maximum of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014439 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, level, value, lat
Sensor: lightning | fields: depth, lat, reading, qc
Task: Get lat from air_quality where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014440 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, ts, reading, type
Sensor: soil_moisture | fields: lon, unit, reading, lat
Task: Retrieve reading from frost that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014441 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, qc, ts, unit
Sensor: drought_index | fields: depth, value, qc, lon
Task: Fetch level from turbidity where reading is greater than the average of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014442 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, ts, value, type
Sensor: turbidity | fields: qc, lat, reading, level
Task: Retrieve depth from evaporation whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014443 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, qc, level, unit
Sensor: dew_point | fields: qc, unit, depth, level
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014444 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, type, ts, lon
Sensor: lightning | fields: depth, reading, level, value
Task: Fetch lat from uv_index where value is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014445 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, depth, value, unit
Sensor: turbidity | fields: lon, value, lat, qc
Task: Retrieve depth from frost whose depth is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014446 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, type, lat, lon
Sensor: snow_depth | fields: value, unit, type, qc
Task: Retrieve depth from temperature with value above the COUNT(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014447 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, lon, reading, type
Sensor: rainfall | fields: lat, type, value, lon
Task: Retrieve value from humidity whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014448 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, type, lon, reading
Sensor: lightning | fields: unit, qc, lat, lon
Task: Get level from dew_point where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014449 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: unit, depth, type, level
Sensor: rainfall | fields: qc, lat, unit, reading
Task: Retrieve depth from sunlight whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014450 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, qc, lat, lon
Sensor: turbidity | fields: lat, type, value, level
Task: Fetch lat from cloud_cover where reading is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014451 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, reading, unit, value
Sensor: turbidity | fields: type, depth, unit, value
Task: Get reading from cloud_cover where unit appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014452 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, unit, level, value
Sensor: uv_index | fields: type, ts, unit, value
Task: Get lat from cloud_cover where reading exceeds the total depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014453 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, lon, value, lat
Sensor: wind_speed | fields: value, type, reading, depth
Task: Retrieve lat from lightning that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014454 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: unit, level, lon, type
Sensor: soil_moisture | fields: qc, lat, lon, depth
Task: Retrieve lon from humidity with reading above the SUM(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014455 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, qc, ts, level
Sensor: air_quality | fields: unit, type, qc, lon
Task: Retrieve lon from evaporation whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014456 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, level, value, lat
Sensor: dew_point | fields: depth, ts, value, qc
Task: Fetch lon from turbidity that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014457 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: reading, value, lon, ts
Sensor: humidity | fields: value, reading, level, type
Task: Get lat from temperature where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014458 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, ts, lon, reading
Sensor: cloud_cover | fields: ts, reading, qc, lon
Task: Retrieve value from lightning with value above the AVG(reading) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014459 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, depth, qc, lon
Sensor: pressure | fields: unit, lon, depth, ts
Task: Fetch depth from wind_speed where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014460 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, value, unit, ts
Sensor: cloud_cover | fields: depth, value, level, type
Task: Fetch reading from soil_moisture that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014461 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lon, value, qc, reading
Sensor: temperature | fields: level, lon, reading, ts
Task: Retrieve lat from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014462 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, reading, unit, qc
Sensor: wind_speed | fields: lon, value, unit, ts
Task: Fetch lon from snow_depth where depth is greater than the count of of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014463 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lon, level, depth
Sensor: snow_depth | fields: type, depth, ts, unit
Task: Fetch lon from evaporation where depth is greater than the minimum of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014464 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, ts, level, lon
Sensor: temperature | fields: unit, type, ts, level
Task: Retrieve reading from sunlight with depth above the MAX(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014465 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lon, unit, depth
Sensor: soil_moisture | fields: value, qc, ts, unit
Task: Get value from uv_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014466 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, value, unit, level
Sensor: soil_moisture | fields: unit, ts, reading, depth
Task: Retrieve depth from evaporation whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014467 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, depth, qc, lat
Sensor: dew_point | fields: unit, depth, reading, level
Task: Get lon from turbidity where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014468 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, ts, depth, value
Sensor: drought_index | fields: ts, value, depth, level
Task: Fetch level from sunlight that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014469 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: qc, lon, unit, type
Sensor: dew_point | fields: depth, value, qc, lon
Task: Get value from uv_index where reading exceeds the count of reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014470 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, unit, reading, value
Sensor: drought_index | fields: ts, value, unit, type
Task: Get lon from uv_index where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014471 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, ts, level, lon
Sensor: turbidity | fields: lat, value, qc, type
Task: Retrieve value from air_quality with reading above the SUM(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014472 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, ts, level, value
Sensor: rainfall | fields: lon, lat, value, qc
Task: Fetch level from evaporation where depth is greater than the total of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014473 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, reading, depth, qc
Sensor: cloud_cover | fields: value, ts, lon, unit
Task: Fetch reading 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="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014474 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: level, ts, lon, value
Sensor: wind_speed | fields: reading, lon, value, type
Task: Get value from pressure where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014475 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, qc, type, value
Sensor: lightning | fields: lat, depth, unit, qc
Task: Retrieve lon from sunlight with value above the SUM(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014476 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, type, qc, level
Sensor: temperature | fields: lon, reading, type, lat
Task: Fetch value from air_quality where depth exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014477 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, unit, lon, ts
Sensor: drought_index | fields: reading, type, qc, lat
Task: Get level from snow_depth where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014478 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, level, reading, depth
Sensor: humidity | fields: type, lon, value, level
Task: Get depth from pressure where depth exceeds the maximum value from humidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014479 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: reading, lon, level, depth
Sensor: dew_point | fields: value, ts, level, type
Task: Fetch lat from lightning that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014480 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, lon, level, type
Sensor: frost | fields: value, depth, unit, reading
Task: Fetch reading from visibility where depth is greater than the maximum of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014481 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: unit, depth, level, type
Sensor: soil_moisture | fields: ts, depth, type, level
Task: Retrieve level from drought_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014482 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, qc, type, unit
Sensor: lightning | fields: unit, lon, lat, level
Task: Get level from cloud_cover where reading exceeds the average value from lightning for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014483 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, level, type, lon
Sensor: humidity | fields: lon, qc, reading, depth
Task: Retrieve depth from drought_index whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014484 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, reading, lon, unit
Sensor: visibility | fields: reading, type, unit, level
Task: Retrieve lat from evaporation that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014485 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lat, depth, value
Sensor: rainfall | fields: type, level, unit, qc
Task: Fetch reading from wind_speed where reading is greater than the count of of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014486 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, depth, lat, unit
Sensor: drought_index | fields: ts, lat, reading, lon
Task: Fetch lon from snow_depth where value is greater than the count of of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014487 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, level, unit, value
Sensor: temperature | fields: unit, lon, level, depth
Task: Retrieve lon from pressure that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014488 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, qc, reading, unit
Sensor: turbidity | fields: ts, depth, qc, reading
Task: Retrieve depth from frost that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014489 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lon, lat, reading
Sensor: frost | fields: reading, level, ts, type
Task: Get level from cloud_cover where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014490 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lon, type, ts, lat
Sensor: humidity | fields: level, lat, lon, ts
Task: Retrieve reading from frost whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014491 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: value, type, unit, lon
Sensor: wind_speed | fields: level, lon, value, reading
Task: Get level from dew_point where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014492 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, depth, qc, level
Sensor: turbidity | fields: qc, value, type, reading
Task: Get reading from sunlight where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014493 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, type, lat, depth
Sensor: drought_index | fields: type, lon, value, unit
Task: Get lat from pressure where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014494 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, ts, level, qc
Sensor: humidity | fields: lon, type, unit, lat
Task: Get reading from cloud_cover where value exceeds the maximum depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014495 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, type, lat, ts
Sensor: soil_moisture | fields: lat, unit, qc, type
Task: Get value from visibility where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014496 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: depth, level, qc, lon
Sensor: snow_depth | fields: qc, level, reading, lat
Task: Retrieve level from pressure that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014497 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, lon, unit, qc
Sensor: humidity | fields: depth, value, lon, reading
Task: Fetch value from visibility where value is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014498 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, depth, unit, type
Sensor: evaporation | fields: level, reading, unit, lon
Task: Retrieve lat from lightning whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.