variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lon, depth, unit, type
Sensor: sunlight | fields: lat, value, type, qc
Task: Get value from evaporation where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018100 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, value, unit, reading
Sensor: soil_moisture | fields: ts, qc, reading, type
Task: Fetch lon from dew_point where unit exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018101 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, reading, value
Sensor: dew_point | fields: lat, ts, unit, qc
Task: Get depth from lightning where value exceeds the total value from dew_point for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018102 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, lon, lat, type
Sensor: lightning | fields: unit, type, lat, reading
Task: Retrieve level from visibility with depth above the AVG(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018103 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, type, lat, level
Sensor: turbidity | fields: qc, type, unit, lat
Task: Retrieve lon from snow_depth that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018104 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, qc, ts, reading
Sensor: frost | fields: depth, lon, lat, value
Task: Retrieve lon from evaporation with reading above the MAX(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018105 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, value, level, lon
Sensor: air_quality | fields: reading, ts, lon, level
Task: Retrieve level from wind_speed with reading above the AVG(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018106 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, reading, depth, lon
Sensor: cloud_cover | fields: qc, reading, unit, lat
Task: Retrieve lon from turbidity whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018107 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, type, ts, value
Sensor: snow_depth | fields: unit, lon, level, depth
Task: Retrieve lon from soil_moisture with depth above the MIN(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018108 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, value, lon, type
Sensor: air_quality | fields: ts, qc, value, depth
Task: Retrieve depth from cloud_cover that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018109 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, depth, unit, level
Sensor: wind_speed | fields: level, lon, depth, qc
Task: Fetch lat from humidity where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018110 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, value, lat, ts
Sensor: sunlight | fields: lon, level, unit, qc
Task: Get lon from soil_moisture where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018111 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, unit, level
Sensor: lightning | fields: lon, lat, depth, type
Task: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018112 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, qc, depth, value
Sensor: soil_moisture | fields: value, lat, lon, ts
Task: Retrieve depth from lightning with value above the MAX(depth) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018113 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, reading, value, lat
Sensor: wind_speed | fields: depth, unit, ts, qc
Task: Fetch value from humidity where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018114 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, qc, unit, level
Sensor: evaporation | fields: reading, lon, depth, type
Task: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018115 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, qc, depth, unit
Sensor: frost | fields: lon, unit, qc, depth
Task: Retrieve value from cloud_cover with depth above the MAX(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018116 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, lon, lat, ts
Sensor: frost | fields: qc, level, lat, unit
Task: Fetch lat from sunlight where qc exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018117 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, unit, depth, reading
Sensor: snow_depth | fields: type, value, lat, level
Task: Get value from cloud_cover where depth exceeds the maximum reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018118 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, lat, lon
Sensor: dew_point | fields: value, reading, qc, type
Task: Retrieve reading from cloud_cover that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018119 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, ts, level, value
Sensor: rainfall | fields: qc, lon, level, ts
Task: Fetch value from lightning that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018120 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, unit, ts, depth
Sensor: dew_point | fields: type, reading, level, qc
Task: Retrieve lat from lightning that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018121 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, lon, qc, depth
Sensor: humidity | fields: ts, unit, qc, lon
Task: Get depth from frost where depth exceeds the minimum reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018122 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, reading, ts, lon
Sensor: snow_depth | fields: type, lon, value, level
Task: Fetch lat from lightning that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018123 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, qc, level, depth
Sensor: turbidity | fields: lat, type, qc, value
Task: Retrieve value from snow_depth whose depth is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018124 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: unit, reading, level, qc
Sensor: visibility | fields: lat, ts, unit, level
Task: Retrieve lon from drought_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018125 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: ts, lon, qc, level
Sensor: evaporation | fields: depth, type, lat, ts
Task: Fetch reading from lightning that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018126 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, lon, qc, type
Sensor: lightning | fields: qc, type, level, unit
Task: Retrieve lon from temperature that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018127 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, unit, reading, lon
Sensor: soil_moisture | fields: reading, qc, ts, value
Task: Retrieve lon from air_quality that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018128 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, type, lon, ts
Sensor: visibility | fields: depth, level, lat, value
Task: Get value from humidity where reading exceeds the average reading from visibility for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018129 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, depth, lat, qc
Sensor: sunlight | fields: level, type, reading, unit
Task: Retrieve value from snow_depth with value above the MAX(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018130 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, qc, unit, ts
Sensor: air_quality | fields: unit, depth, ts, lon
Task: Fetch depth from drought_index where depth is greater than the total of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018131 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lat, depth, qc, lon
Sensor: temperature | fields: type, unit, qc, value
Task: Fetch depth from uv_index where depth is greater than the total of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018132 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, unit, ts, reading
Sensor: air_quality | fields: depth, ts, qc, reading
Task: Fetch lat from turbidity where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018133 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: level, depth, value, unit
Sensor: wind_speed | fields: level, lat, unit, ts
Task: Fetch lat from humidity where reading is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018134 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: value, unit, ts, depth
Sensor: soil_moisture | fields: type, reading, qc, value
Task: Retrieve reading from humidity with depth above the MAX(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018135 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, qc, lon, depth
Sensor: air_quality | fields: ts, lon, depth, qc
Task: Retrieve lon from evaporation that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018136 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, unit, type, lat
Sensor: humidity | fields: reading, lat, depth, ts
Task: Get depth from soil_moisture where reading exceeds the minimum depth from humidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018137 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lat, unit, type, depth
Sensor: visibility | fields: unit, qc, lon, reading
Task: Retrieve depth from pressure with depth above the SUM(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018138 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, depth, type, qc
Sensor: evaporation | fields: qc, lon, ts, lat
Task: Get level from humidity where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018139 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, type, value, depth
Sensor: air_quality | fields: unit, level, qc, lon
Task: Get value from uv_index where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018140 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, lat, level
Sensor: dew_point | fields: lon, depth, level, value
Task: Fetch lat from air_quality that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018141 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, lon, type, unit
Sensor: evaporation | fields: type, depth, lat, lon
Task: Get value from visibility where ts appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018142 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, lat, value, ts
Sensor: cloud_cover | fields: value, lat, depth, unit
Task: Retrieve reading from air_quality that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018143 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, lat, lon, ts
Sensor: uv_index | fields: ts, level, depth, lat
Task: Get reading from dew_point where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018144 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, ts, unit, lon
Sensor: rainfall | fields: qc, type, value, lon
Task: Retrieve lat from cloud_cover with depth above the MIN(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018145 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: depth, type, value, unit
Sensor: rainfall | fields: depth, type, ts, level
Task: Get value from dew_point where unit appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018146 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, type, value, lon
Sensor: soil_moisture | fields: lon, reading, unit, value
Task: Retrieve lat from cloud_cover whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018147 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: qc, ts, value, unit
Sensor: humidity | fields: depth, type, lat, reading
Task: Fetch level from visibility where value is greater than the count of of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018148 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: reading, value, type, lon
Sensor: wind_speed | fields: type, value, level, lat
Task: Retrieve lon from pressure whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018149 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: reading, ts, value, qc
Sensor: temperature | fields: lon, value, qc, unit
Task: Retrieve value from frost with value above the MIN(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018150 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: qc, lat, unit, type
Sensor: wind_speed | fields: depth, ts, lat, value
Task: Fetch level from lightning where depth is greater than the total of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018151 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, type, value, depth
Sensor: snow_depth | fields: lon, unit, depth, type
Task: Get depth from soil_moisture where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018152 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, ts, reading, unit
Sensor: uv_index | fields: qc, lat, lon, value
Task: Fetch lat from dew_point where depth is greater than the minimum of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018153 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: depth, value, unit, qc
Sensor: cloud_cover | fields: type, unit, qc, depth
Task: Retrieve lat from drought_index that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018154 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, unit, depth
Sensor: wind_speed | fields: unit, lon, level, ts
Task: Fetch value from cloud_cover where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018155 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, qc, ts, lon
Sensor: turbidity | fields: lon, level, value, ts
Task: Get reading from dew_point where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018156 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, reading, ts, lat
Sensor: rainfall | fields: level, ts, lon, reading
Task: Retrieve level from cloud_cover with value above the MIN(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"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_018157 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, level, value, qc
Sensor: lightning | fields: value, depth, unit, lon
Task: Fetch depth from sunlight where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018158 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, qc, unit, depth
Sensor: drought_index | fields: value, qc, unit, reading
Task: Fetch reading from temperature that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018159 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: qc, lon, ts, value
Sensor: rainfall | fields: type, reading, ts, unit
Task: Get depth from turbidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018160 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, lat, qc, depth
Sensor: cloud_cover | fields: reading, level, type, qc
Task: Retrieve value from uv_index whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018161 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, unit, qc, value
Sensor: frost | fields: unit, depth, lon, value
Task: Fetch lon from cloud_cover that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018162 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, reading, qc, ts
Sensor: uv_index | fields: unit, value, lat, level
Task: Fetch value from sunlight where value is greater than the minimum of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018163 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: value, ts, lat, level
Sensor: snow_depth | fields: lon, ts, reading, unit
Task: Get value from rainfall where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018164 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, lat, depth, qc
Sensor: rainfall | fields: reading, lon, unit, value
Task: Fetch value from sunlight where depth is greater than the total of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018165 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, ts, lon, level
Sensor: sunlight | fields: qc, type, depth, reading
Task: Get lat from turbidity where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018166 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, level, unit, type
Sensor: uv_index | fields: unit, reading, lon, depth
Task: Retrieve lat from snow_depth whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018167 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, level, qc, type
Sensor: uv_index | fields: value, reading, unit, lat
Task: Fetch lon from cloud_cover where reading is greater than the minimum of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018168 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, type, level, unit
Sensor: drought_index | fields: value, type, lat, qc
Task: Get lat from uv_index where value exceeds the minimum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"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_018169 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, lon, type, unit
Sensor: wind_speed | fields: lat, level, lon, depth
Task: Fetch value from soil_moisture where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018170 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, value, depth, unit
Sensor: temperature | fields: depth, level, reading, lat
Task: Retrieve level from frost whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018171 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, type, lat, lon
Sensor: lightning | fields: depth, reading, lon, type
Task: Retrieve lon from pressure whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018172 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, depth, ts, lon
Sensor: humidity | fields: lat, type, qc, unit
Task: Fetch reading from cloud_cover that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018173 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, reading, type, unit
Sensor: sunlight | fields: value, qc, lat, lon
Task: Retrieve lat from wind_speed with reading above the MIN(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018174 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: reading, lat, unit, ts
Sensor: cloud_cover | fields: type, lon, depth, level
Task: Get lat from uv_index where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018175 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, unit, lat, type
Sensor: soil_moisture | fields: type, qc, lat, ts
Task: Get depth from pressure where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018176 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, value, reading
Sensor: temperature | fields: type, ts, qc, unit
Task: Retrieve level from uv_index whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018177 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, lon, qc, level
Sensor: snow_depth | fields: unit, value, depth, qc
Task: Retrieve depth from dew_point with reading above the SUM(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018178 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: type, reading, depth, ts
Sensor: cloud_cover | fields: unit, reading, lon, level
Task: Get depth from snow_depth where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018179 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, unit, type, reading
Sensor: sunlight | fields: level, type, lat, value
Task: Retrieve value from cloud_cover that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018180 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, reading, depth, lon
Sensor: pressure | fields: ts, lon, level, lat
Task: Get value from uv_index where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018181 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, lat, value, ts
Sensor: drought_index | fields: lat, level, value, unit
Task: Get level from temperature where value exceeds the maximum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018182 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, unit, level, value
Sensor: rainfall | fields: type, level, lon, unit
Task: Fetch value from frost where reading is greater than the maximum of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018183 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, ts, lon, value
Sensor: sunlight | fields: qc, type, lat, reading
Task: Get lat from humidity where reading exceeds the maximum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018184 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, reading, unit, qc
Sensor: lightning | fields: type, ts, qc, unit
Task: Fetch lat from temperature where depth is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018185 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, reading, type, unit
Sensor: lightning | fields: value, type, qc, level
Task: Fetch level from cloud_cover where reading is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018186 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, value, reading, level
Sensor: cloud_cover | fields: depth, type, ts, reading
Task: Get lat from frost where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018187 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, type, lat
Sensor: drought_index | fields: lon, type, ts, level
Task: Fetch depth from air_quality where depth is greater than the average of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018188 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, lon, qc, type
Sensor: soil_moisture | fields: lon, type, value, qc
Task: Get reading from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018189 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, ts, lat, qc
Sensor: frost | fields: depth, type, reading, unit
Task: Get depth from pressure where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018190 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, value, type
Sensor: cloud_cover | fields: reading, depth, unit, lat
Task: Fetch reading from temperature that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"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_018191 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, value, depth, unit
Sensor: sunlight | fields: level, qc, ts, depth
Task: Retrieve level from soil_moisture whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018192 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, type, value, ts
Sensor: dew_point | fields: qc, lon, depth, level
Task: Retrieve level from drought_index whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018193 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, ts, type, reading
Sensor: visibility | fields: lat, reading, depth, 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="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018194 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, reading, ts, value
Sensor: temperature | fields: depth, unit, lon, type
Task: Fetch depth from snow_depth that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018195 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: value, unit, qc, reading
Sensor: air_quality | fields: qc, type, level, unit
Task: Retrieve lat from frost that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018196 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, depth, value, type
Sensor: soil_moisture | fields: ts, lat, value, unit
Task: Retrieve level from cloud_cover that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018197 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lat, level, unit
Sensor: wind_speed | fields: reading, level, value, unit
Task: Get level from evaporation where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018198 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, reading, qc, depth
Sensor: dew_point | fields: ts, type, reading, lat
Task: Get level from wind_speed where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.