variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, depth, lat
Sensor: turbidity | fields: lon, unit, ts, type
Task: Get lon from visibility where depth exceeds the maximum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021200 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, value, reading, level
Sensor: lightning | fields: lon, ts, lat, qc
Task: Get lat from wind_speed where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021201 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, level, lat, depth
Sensor: humidity | fields: depth, qc, lat, ts
Task: Retrieve depth from sunlight whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021202 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lon, reading, depth, unit
Sensor: snow_depth | fields: lat, unit, lon, type
Task: Get value from turbidity where depth exceeds the minimum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021203 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: unit, level, reading, qc
Sensor: evaporation | fields: lon, unit, level, lat
Task: Fetch depth from turbidity where value is greater than the maximum of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021204 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, unit, ts, type
Sensor: frost | fields: level, reading, unit, value
Task: Fetch reading from visibility where value is greater than the total of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021205 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, reading, depth, type
Sensor: soil_moisture | fields: depth, ts, lat, value
Task: Fetch lon from visibility where reading is greater than the count of of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021206 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, ts, reading, depth
Sensor: frost | fields: depth, level, ts, qc
Task: Fetch reading from pressure that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021207 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, ts, lon, lat
Sensor: soil_moisture | fields: value, lat, depth, unit
Task: Fetch reading from visibility where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021208 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, ts, unit, lat
Sensor: sunlight | fields: unit, lon, qc, depth
Task: Fetch depth from turbidity where depth is greater than the maximum of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021209 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, lat, value, reading
Sensor: temperature | fields: value, ts, reading, type
Task: Get depth from rainfall where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021210 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, depth, unit, qc
Sensor: soil_moisture | fields: qc, unit, value, type
Task: Fetch depth from rainfall where depth is greater than the average of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021211 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, unit, lon, type
Sensor: uv_index | fields: ts, value, type, qc
Task: Fetch depth from cloud_cover where reading is greater than the count of of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021212 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: unit, lon, level, lat
Sensor: rainfall | fields: depth, value, ts, reading
Task: Get level from frost where type appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021213 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, qc, value, lon
Sensor: temperature | fields: depth, lon, unit, type
Task: Retrieve reading from lightning whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021214 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, unit, value, level
Sensor: sunlight | fields: reading, qc, lon, ts
Task: Retrieve lon from dew_point whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021215 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: unit, level, lat, value
Sensor: snow_depth | fields: lon, unit, lat, depth
Task: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021216 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: unit, lat, level, lon
Sensor: visibility | fields: reading, qc, ts, unit
Task: Get reading from humidity where reading exceeds the count of value from visibility for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"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_021217 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, depth, ts, type
Sensor: cloud_cover | fields: reading, lat, type, qc
Task: Retrieve depth from sunlight whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021218 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: reading, lat, ts, qc
Sensor: sunlight | fields: lat, value, ts, unit
Task: Get lon from frost where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021219 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: level, reading, depth, lat
Sensor: sunlight | fields: level, value, lat, lon
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021220 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, lat, type, depth
Sensor: humidity | fields: reading, value, unit, ts
Task: Retrieve value from cloud_cover that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021221 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, unit, lat, value
Sensor: snow_depth | fields: level, type, depth, reading
Task: Retrieve lon from uv_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021222 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, type, lon, reading
Sensor: uv_index | fields: lon, value, ts, depth
Task: Get value from wind_speed where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021223 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, level, unit, lat
Sensor: temperature | fields: lat, type, level, unit
Task: Get value from dew_point where depth exceeds the average value from temperature for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021224 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: type, ts, level, qc
Sensor: soil_moisture | fields: ts, lon, unit, qc
Task: Retrieve lon from sunlight whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021225 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, unit, lon, reading
Sensor: temperature | fields: qc, level, ts, lat
Task: Fetch level from visibility where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021226 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, ts, value, level
Sensor: air_quality | fields: reading, lat, level, depth
Task: Fetch lat from snow_depth where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021227 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lon, level, qc, lat
Sensor: cloud_cover | fields: ts, unit, level, lat
Task: Fetch level from evaporation where value is greater than the total of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021228 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: ts, type, qc, reading
Sensor: turbidity | fields: lon, value, ts, qc
Task: Retrieve lon from lightning that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021229 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, lat, qc
Sensor: lightning | fields: qc, type, depth, value
Task: Fetch level from turbidity where value is greater than the minimum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021230 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lon, ts, type, level
Sensor: pressure | fields: unit, lat, ts, level
Task: Fetch reading from dew_point where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021231 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, qc, unit, lat
Sensor: sunlight | fields: level, depth, lon, value
Task: Get lon from frost where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021232 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lon, lat, depth, ts
Sensor: pressure | fields: lat, reading, depth, type
Task: Retrieve depth from rainfall whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021233 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, ts, qc, type
Sensor: evaporation | fields: level, reading, lat, type
Task: Fetch level from soil_moisture where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021234 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, depth, reading, value
Sensor: lightning | fields: reading, lat, value, unit
Task: Get reading from pressure where depth exceeds the average depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021235 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: level, unit, reading, type
Sensor: rainfall | fields: reading, value, lon, lat
Task: Fetch level from snow_depth that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021236 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, reading, depth, ts
Sensor: turbidity | fields: reading, lat, type, qc
Task: Fetch reading from rainfall where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021237 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, level, ts, depth
Sensor: uv_index | fields: depth, value, level, lon
Task: Retrieve value from temperature whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021238 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: depth, value, unit, type
Sensor: visibility | fields: ts, type, value, depth
Task: Get depth from sunlight where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021239 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, lat, lon, depth
Sensor: air_quality | fields: level, lat, value, qc
Task: Get lat from pressure where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021240 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: qc, reading, depth, type
Sensor: visibility | fields: value, qc, level, reading
Task: Get lon from temperature where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021241 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, ts, type, qc
Sensor: dew_point | fields: lat, unit, lon, reading
Task: Fetch lat from evaporation where depth is greater than the total of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021242 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, lon, depth, value
Sensor: wind_speed | fields: unit, lat, lon, ts
Task: Fetch level from lightning where depth is greater than the maximum of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021243 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, ts, type, qc
Sensor: temperature | fields: type, lat, lon, depth
Task: Get lon from visibility where value exceeds the count of reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021244 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, ts, reading, qc
Sensor: dew_point | fields: lon, lat, value, reading
Task: Fetch value from pressure where depth is greater than the maximum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021245 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: level, value, depth, reading
Sensor: soil_moisture | fields: ts, type, qc, value
Task: Fetch depth from visibility where value is greater than the total of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021246 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, ts, lat, depth
Sensor: cloud_cover | fields: reading, unit, ts, lon
Task: Fetch lat from visibility where depth is greater than the average of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021247 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, ts, level, lon
Sensor: humidity | fields: lon, reading, value, lat
Task: Fetch lat from air_quality where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021248 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, value, depth, qc
Sensor: sunlight | fields: unit, ts, value, lat
Task: Get value from air_quality where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021249 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, reading, qc, lat
Sensor: snow_depth | fields: type, lat, lon, reading
Task: Fetch value from air_quality where type exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021250 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: reading, type, qc, lon
Sensor: temperature | fields: reading, depth, unit, type
Task: Get depth from lightning where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021251 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, lon, value
Sensor: rainfall | fields: reading, value, lon, ts
Task: Get depth from sunlight where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021252 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, reading, level, unit
Sensor: snow_depth | fields: reading, lat, depth, value
Task: Fetch value from turbidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021253 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, value, lon, ts
Sensor: dew_point | fields: qc, level, type, depth
Task: Get value from humidity where value exceeds the minimum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021254 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, ts, value, unit
Sensor: air_quality | fields: unit, ts, reading, type
Task: Retrieve value from visibility with depth above the AVG(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021255 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, qc, lat, unit
Sensor: evaporation | fields: depth, level, unit, value
Task: Fetch lon from dew_point that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021256 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, type, qc, reading
Sensor: turbidity | fields: level, unit, ts, value
Task: Retrieve reading from uv_index that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021257 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, lon, type, depth
Sensor: lightning | fields: qc, ts, unit, lon
Task: Get lat from pressure where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021258 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: level, lon, depth, lat
Sensor: sunlight | fields: value, lat, qc, level
Task: Get lon from temperature where value exceeds the count of depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021259 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, level, depth, reading
Sensor: cloud_cover | fields: reading, depth, level, type
Task: Fetch lon from pressure where value is greater than the total of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021260 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, level, depth, unit
Sensor: snow_depth | fields: lon, depth, ts, reading
Task: Retrieve reading from temperature with depth above the SUM(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021261 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, qc, lon, reading
Sensor: pressure | fields: level, reading, depth, lat
Task: Get reading from temperature where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021262 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lon, unit, ts
Sensor: lightning | fields: value, lon, unit, type
Task: Retrieve lon from sunlight whose ts is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021263 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, lat, type, ts
Sensor: cloud_cover | fields: level, value, qc, lat
Task: Get value from visibility where value exceeds the maximum value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021264 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, reading, unit, level
Sensor: pressure | fields: reading, level, qc, unit
Task: Get level from cloud_cover where reading exceeds the total value from pressure for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021265 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, lat, depth, qc
Sensor: soil_moisture | fields: ts, reading, qc, lat
Task: Get depth from temperature where reading exceeds the count of value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021266 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, qc, unit, type
Sensor: lightning | fields: reading, qc, level, ts
Task: Fetch reading from evaporation where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021267 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, depth, level, lat
Sensor: air_quality | fields: level, qc, reading, unit
Task: Get reading from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021268 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, qc, value, lat
Sensor: pressure | fields: level, value, depth, qc
Task: Get level from drought_index where reading exceeds the total depth from pressure for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021269 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, unit, level, qc
Sensor: temperature | fields: lon, unit, lat, depth
Task: Fetch reading from rainfall that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021270 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, type, lon, value
Sensor: temperature | fields: unit, lon, lat, level
Task: Retrieve lon from snow_depth whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021271 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: level, reading, unit, type
Sensor: humidity | fields: unit, ts, lon, qc
Task: Get level from pressure where depth exceeds the minimum reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021272 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, ts, type, lat
Sensor: wind_speed | fields: reading, level, unit, lat
Task: Fetch lat from frost where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021273 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: unit, lon, ts, type
Sensor: frost | fields: reading, lon, lat, unit
Task: Retrieve depth from turbidity with value above the SUM(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021274 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, type, ts, depth
Sensor: soil_moisture | fields: type, value, unit, ts
Task: Fetch reading from visibility where value is greater than the count of of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021275 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, depth, value, type
Sensor: dew_point | fields: lat, unit, depth, ts
Task: Get reading from snow_depth where type appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021276 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, value, lon, qc
Sensor: snow_depth | fields: type, depth, value, level
Task: Get depth from air_quality where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"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_021277 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, value, lon, depth
Sensor: visibility | fields: qc, lon, type, lat
Task: Get lon from turbidity where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021278 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: value, reading, depth, lon
Sensor: evaporation | fields: type, lon, lat, ts
Task: Get value from wind_speed where reading exceeds the minimum reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021279 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, lon, ts, reading
Sensor: lightning | fields: reading, type, lat, lon
Task: Retrieve lat from humidity whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021280 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, type, depth, lon
Sensor: wind_speed | fields: reading, ts, value, qc
Task: Get lat from soil_moisture where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021281 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, type, ts, unit
Sensor: lightning | fields: lat, lon, value, reading
Task: Fetch level from pressure where value is greater than the average of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021282 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, depth, lat, value
Sensor: rainfall | fields: type, qc, lat, unit
Task: Get reading from dew_point where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021283 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, ts, level, value
Sensor: dew_point | fields: depth, type, lon, qc
Task: Fetch reading from soil_moisture that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021284 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: value, ts, level, unit
Sensor: rainfall | fields: lat, type, ts, reading
Task: Retrieve value from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021285 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, ts, depth, value
Sensor: snow_depth | fields: type, lon, reading, value
Task: Fetch value from wind_speed that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021286 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, unit, level, lat
Sensor: frost | fields: lat, depth, reading, ts
Task: Retrieve level from lightning with reading above the COUNT(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021287 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: qc, level, reading, depth
Sensor: dew_point | fields: value, lon, lat, type
Task: Get value from evaporation where value exceeds the maximum depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021288 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, lat, value
Sensor: frost | fields: value, reading, lon, qc
Task: Get level from pressure where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021289 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, reading, type, depth
Sensor: evaporation | fields: qc, type, level, ts
Task: Get lat from drought_index where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021290 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lat, type, ts, reading
Sensor: lightning | fields: lat, value, qc, level
Task: Retrieve reading from evaporation whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021291 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, value, lat, reading
Sensor: turbidity | fields: unit, ts, qc, value
Task: Get lat from snow_depth where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021292 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, level, ts, lat
Sensor: turbidity | fields: type, qc, unit, ts
Task: Fetch reading from uv_index where reading is greater than the minimum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021293 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, unit, level, type
Sensor: wind_speed | fields: unit, lon, value, type
Task: Fetch level from evaporation where reading is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021294 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, depth, value, ts
Sensor: snow_depth | fields: value, level, lat, lon
Task: Retrieve reading from pressure whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021295 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, lat, reading, lon
Sensor: uv_index | fields: unit, value, type, lon
Task: Fetch reading from air_quality where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021296 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, level, value
Sensor: frost | fields: depth, unit, value, type
Task: Retrieve depth from pressure with reading above the MIN(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021297 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, reading, value, lon
Sensor: visibility | fields: lat, value, ts, lon
Task: Retrieve lat from air_quality that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021298 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lat, value, depth, level
Sensor: soil_moisture | fields: reading, ts, level, lon
Task: Fetch reading from air_quality where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.