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: cloud_cover | code: gst | fields: lon, unit, type, reading
Sensor: visibility | fields: type, reading, lon, level
Task: Get lat from cloud_cover where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006700 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, type, ts, lon
Sensor: air_quality | fields: depth, unit, reading, ts
Task: Retrieve level from drought_index whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006701 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, reading, depth, unit
Sensor: uv_index | fields: lat, depth, level, reading
Task: Retrieve value from humidity whose type is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006702 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, value, lon, ts
Sensor: sunlight | fields: ts, qc, unit, type
Task: Retrieve value from lightning that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006703 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, qc, type, reading
Sensor: dew_point | fields: ts, unit, lon, value
Task: Retrieve reading from lightning with depth above the SUM(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006704 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, unit, value, lon
Sensor: air_quality | fields: lon, depth, level, value
Task: Fetch lon from soil_moisture that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006705 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, ts, depth, level
Sensor: drought_index | fields: lon, reading, depth, ts
Task: Get depth from humidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006706 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, ts, unit, type
Sensor: air_quality | fields: level, reading, type, qc
Task: Retrieve value from humidity that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006707 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, lon, lat
Sensor: air_quality | fields: lat, lon, unit, ts
Task: Retrieve lat from turbidity with reading above the AVG(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006708 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, level, unit, value
Sensor: humidity | fields: unit, lat, depth, ts
Task: Get depth from wind_speed where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006709 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, level, ts, unit
Sensor: air_quality | fields: lat, level, unit, reading
Task: Retrieve lon from drought_index that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006710 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, lat, unit, value
Sensor: humidity | fields: ts, level, lat, value
Task: Fetch lat from temperature where depth is greater than the average of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006711 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, unit, type, level
Sensor: drought_index | fields: qc, lon, reading, level
Task: Retrieve level from dew_point that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006712 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, qc, ts, type
Sensor: visibility | fields: qc, reading, depth, value
Task: Retrieve depth from drought_index with depth above the MAX(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006713 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, lat, level, reading
Sensor: uv_index | fields: level, qc, lat, ts
Task: Get level from cloud_cover where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006714 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: reading, depth, ts, type
Sensor: air_quality | fields: qc, lon, type, ts
Task: Retrieve reading from lightning with depth above the COUNT(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006715 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, ts, level, lat
Sensor: dew_point | fields: ts, lon, lat, level
Task: Retrieve reading from rainfall whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006716 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, reading, value, level
Sensor: uv_index | fields: ts, value, unit, lon
Task: Fetch value from turbidity that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006717 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, value, type, lon
Sensor: dew_point | fields: qc, lat, type, value
Task: Retrieve level from temperature whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006718 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, lat, lon, qc
Sensor: rainfall | fields: reading, type, value, qc
Task: Retrieve lon from cloud_cover with depth above the AVG(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006719 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: reading, qc, lon, level
Sensor: sunlight | fields: value, type, qc, depth
Task: Get lon from temperature where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006720 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, qc, lon, depth
Sensor: cloud_cover | fields: level, value, unit, ts
Task: Fetch value from soil_moisture where reading is greater than the total of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006721 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lon, lat, qc, ts
Sensor: humidity | fields: depth, value, type, qc
Task: Fetch level from evaporation where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006722 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, lon, value, reading
Sensor: lightning | fields: lon, lat, value, depth
Task: Retrieve level from humidity with depth above the MAX(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006723 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, qc, ts
Sensor: turbidity | fields: unit, reading, level, value
Task: Fetch lat from cloud_cover that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"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_006724 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, qc, type, unit
Sensor: pressure | fields: lat, ts, level, reading
Task: Fetch lat from frost where depth is greater than the average of value in pressure for matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006725 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, lon, ts, qc
Sensor: rainfall | fields: lat, ts, type, reading
Task: Get level from pressure where unit appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006726 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, lon, qc
Sensor: drought_index | fields: ts, lon, reading, level
Task: Fetch level from soil_moisture that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006727 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, qc, level, lon
Sensor: dew_point | fields: ts, level, qc, type
Task: Get lat from visibility where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006728 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, value, ts, reading
Sensor: snow_depth | fields: qc, reading, value, lon
Task: Retrieve depth from uv_index that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006729 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, type, lat, unit
Sensor: snow_depth | fields: unit, level, lat, lon
Task: Fetch lat from temperature where reading is greater than the average of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006730 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, reading, unit, level
Sensor: snow_depth | fields: depth, unit, qc, lon
Task: Get lon from sunlight where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006731 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: depth, reading, qc, ts
Sensor: drought_index | fields: depth, lon, qc, ts
Task: Fetch value from uv_index that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006732 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: qc, depth, lat, level
Sensor: soil_moisture | fields: lat, value, qc, reading
Task: Retrieve lat from turbidity with depth above the MIN(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006733 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, reading, level, depth
Sensor: cloud_cover | fields: lat, reading, level, value
Task: Fetch lon from frost where value is greater than the minimum of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006734 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, ts, lon, reading
Sensor: snow_depth | fields: depth, type, qc, unit
Task: Retrieve level from lightning that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006735 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: level, unit, depth, value
Sensor: evaporation | fields: reading, lat, type, ts
Task: Retrieve level from temperature that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006736 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, depth, ts, unit
Sensor: evaporation | fields: depth, unit, level, lon
Task: Fetch lon from rainfall that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006737 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, type, reading, lon
Sensor: rainfall | fields: reading, depth, lat, ts
Task: Fetch depth from wind_speed where value is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006738 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, lat, depth
Sensor: rainfall | fields: depth, reading, type, value
Task: Get lon from sunlight where reading exceeds the average depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006739 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lat, value, depth, reading
Sensor: dew_point | fields: qc, level, value, depth
Task: Get reading from air_quality where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006740 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, qc, ts
Sensor: snow_depth | fields: ts, reading, type, qc
Task: Get level from turbidity where depth exceeds the total reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006741 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, reading, lat
Sensor: turbidity | fields: type, level, unit, value
Task: Fetch lat from cloud_cover where value is greater than the minimum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006742 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, ts, depth, reading
Sensor: pressure | fields: unit, depth, ts, lat
Task: Get lat from frost where depth exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006743 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: type, ts, reading, unit
Sensor: air_quality | fields: type, lon, qc, lat
Task: Get lat from snow_depth where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006744 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lat, unit, ts
Sensor: temperature | fields: qc, depth, unit, lon
Task: Get lon from snow_depth where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006745 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, qc, type, lon
Sensor: dew_point | fields: qc, level, type, lon
Task: Fetch lat from soil_moisture where unit exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006746 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lat, unit, value
Sensor: humidity | fields: lon, depth, reading, type
Task: Retrieve level from turbidity with value above the COUNT(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006747 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, reading, value, type
Sensor: dew_point | fields: unit, ts, type, level
Task: Retrieve level from humidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006748 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, value, depth, level
Sensor: pressure | fields: type, level, value, lat
Task: Get value from air_quality where value exceeds the maximum depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006749 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, level, value, lon
Sensor: frost | fields: level, depth, value, ts
Task: Retrieve lat from sunlight with depth above the SUM(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006750 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: unit, level, depth, lon
Sensor: temperature | fields: unit, ts, lat, type
Task: Fetch level from uv_index where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006751 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, lat, value, type
Sensor: air_quality | fields: qc, depth, value, lat
Task: Get level from pressure where value exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006752 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, unit, lon, lat
Sensor: sunlight | fields: ts, reading, unit, lon
Task: Retrieve reading from pressure that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006753 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: unit, lat, depth, lon
Sensor: rainfall | fields: depth, lat, unit, value
Task: Fetch level from drought_index where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006754 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lat, lon, ts, unit
Sensor: humidity | fields: type, lat, lon, level
Task: Retrieve lon from turbidity whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006755 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, qc, lon, value
Sensor: dew_point | fields: reading, value, qc, type
Task: Get level from snow_depth where reading exceeds the total reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006756 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, qc, reading, lon
Sensor: lightning | fields: depth, unit, lon, lat
Task: Retrieve lat from temperature whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006757 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lat, reading, unit, value
Sensor: temperature | fields: qc, ts, reading, unit
Task: Fetch lon from visibility where value is greater than the count of of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006758 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, ts, level, value
Sensor: dew_point | fields: qc, level, depth, reading
Task: Get lat from wind_speed where reading exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006759 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, value, level, lat
Sensor: sunlight | fields: lat, value, ts, depth
Task: Get level from lightning where reading exceeds the count of reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006760 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, type, value, level
Sensor: cloud_cover | fields: level, depth, reading, unit
Task: Fetch depth from air_quality where depth is greater than the count of of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006761 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, reading, depth, lon
Sensor: temperature | fields: depth, value, lon, ts
Task: Get level from visibility where reading exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006762 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: unit, qc, lat, type
Sensor: drought_index | fields: lat, depth, unit, type
Task: Retrieve level from visibility with value above the AVG(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006763 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, value, type, depth
Sensor: lightning | fields: ts, type, value, lat
Task: Retrieve reading from wind_speed with value above the SUM(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006764 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, depth, level, unit
Sensor: drought_index | fields: depth, ts, lon, value
Task: Fetch lat from soil_moisture that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006765 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, level, ts
Sensor: pressure | fields: qc, type, value, level
Task: Retrieve depth from drought_index whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006766 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, type, qc, lat
Sensor: rainfall | fields: value, depth, type, ts
Task: Get value from cloud_cover where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006767 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, lon, ts
Sensor: lightning | fields: qc, ts, value, unit
Task: Get depth from cloud_cover where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006768 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, ts, depth, lon
Sensor: cloud_cover | fields: type, lat, unit, level
Task: Retrieve reading from uv_index whose depth is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006769 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, type, depth, qc
Sensor: rainfall | fields: level, depth, reading, lat
Task: Fetch level from uv_index that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006770 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, qc, lon, ts
Sensor: temperature | fields: qc, level, lat, lon
Task: Fetch reading from uv_index where depth is greater than the average of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006771 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, lon, depth, unit
Sensor: snow_depth | fields: lon, ts, depth, lat
Task: Fetch value from cloud_cover that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006772 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, qc, reading, lat
Sensor: drought_index | fields: type, level, value, ts
Task: Retrieve depth from turbidity whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006773 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, value, level, depth
Sensor: temperature | fields: unit, ts, value, qc
Task: Retrieve lon from lightning with reading above the COUNT(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006774 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, reading, level, qc
Sensor: visibility | fields: lat, lon, value, qc
Task: Retrieve reading from pressure with value above the MIN(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006775 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, level, reading, qc
Sensor: cloud_cover | fields: ts, level, value, depth
Task: Retrieve reading from uv_index whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006776 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, type, qc, unit
Sensor: cloud_cover | fields: depth, level, reading, ts
Task: Fetch depth from temperature where reading is greater than the maximum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006777 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, ts, value, depth
Sensor: drought_index | fields: depth, ts, qc, level
Task: Retrieve lon from uv_index with reading above the MIN(value) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006778 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: value, type, level, ts
Sensor: snow_depth | fields: ts, lat, lon, value
Task: Fetch depth from rainfall where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006779 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, ts, type, depth
Sensor: evaporation | fields: type, value, reading, level
Task: Retrieve level from wind_speed whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006780 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, level, value, qc
Sensor: frost | fields: qc, unit, reading, ts
Task: Retrieve level from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006781 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, value, ts
Sensor: soil_moisture | fields: value, unit, lat, qc
Task: Retrieve lat from sunlight that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006782 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, reading, depth, lat
Sensor: drought_index | fields: reading, level, qc, ts
Task: Fetch lat from humidity where value is greater than the minimum of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006783 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, qc, lat, depth
Sensor: frost | fields: value, reading, type, lon
Task: Fetch value from temperature where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006784 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, lon, reading, qc
Sensor: sunlight | fields: level, unit, lon, qc
Task: Get lon from humidity where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006785 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, type, value, reading
Sensor: soil_moisture | fields: value, depth, type, ts
Task: Get value from sunlight where reading exceeds the minimum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006786 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, reading, ts, level
Sensor: drought_index | fields: qc, unit, ts, reading
Task: Get value from pressure where reading exceeds the total depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006787 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: reading, level, lon, ts
Sensor: sunlight | fields: level, type, lat, lon
Task: Fetch reading from dew_point where type exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006788 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, reading, ts, lat
Sensor: wind_speed | fields: value, unit, reading, depth
Task: Retrieve level from drought_index whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006789 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, lat, ts, type
Sensor: pressure | fields: level, value, reading, lon
Task: Retrieve lat from uv_index whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006790 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, type, lat, depth
Sensor: soil_moisture | fields: reading, ts, unit, depth
Task: Retrieve reading from rainfall whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006791 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, unit, value, type
Sensor: pressure | fields: qc, unit, ts, depth
Task: Get reading from uv_index where value exceeds the average depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006792 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lat, lon, ts, unit
Sensor: evaporation | fields: lat, type, lon, qc
Task: Fetch value from turbidity where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006793 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lon, lat, level, reading
Sensor: cloud_cover | fields: qc, unit, depth, lon
Task: Retrieve reading from sunlight whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006794 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, lat, qc, value
Sensor: frost | fields: depth, lon, value, type
Task: Retrieve depth from uv_index that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006795 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, qc, reading, type
Sensor: soil_moisture | fields: depth, level, type, lat
Task: Get depth from drought_index where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006796 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: ts, level, qc, reading
Sensor: rainfall | fields: qc, value, ts, type
Task: Retrieve lat from humidity with value above the SUM(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006797 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, type, qc, lon
Sensor: cloud_cover | fields: depth, unit, reading, type
Task: Fetch lat from uv_index where unit exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006798 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, lat, lon, level
Sensor: pressure | fields: type, level, ts, lon
Task: Retrieve lat from evaporation with depth above the SUM(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.