variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, lat, unit, value
Sensor: air_quality | fields: type, lat, ts, value
Task: Retrieve value from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012100 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: level, type, depth, qc
Sensor: sunlight | fields: level, ts, unit, qc
Task: Fetch depth from frost that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012101 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, level, lat, qc
Sensor: wind_speed | fields: qc, reading, level, depth
Task: Fetch lon from rainfall where depth is greater than the count of of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012102 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, depth, value, lon
Sensor: temperature | fields: ts, value, type, lon
Task: Get reading from rainfall where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012103 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: ts, qc, unit, lat
Sensor: snow_depth | fields: type, level, reading, lon
Task: Get depth from turbidity where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012104 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, qc, lat, unit
Sensor: lightning | fields: lon, type, reading, qc
Task: Retrieve lon from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012105 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, qc, reading, level
Sensor: visibility | fields: type, unit, qc, depth
Task: Fetch level from snow_depth where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012106 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, unit, level
Sensor: frost | fields: depth, value, type, level
Task: Fetch level from evaporation where depth is greater than the count of of reading in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012107 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, type, qc, lon
Sensor: sunlight | fields: lat, type, unit, qc
Task: Fetch lat from visibility that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012108 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: unit, type, reading, lon
Sensor: lightning | fields: qc, value, ts, depth
Task: Fetch level from turbidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012109 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: value, ts, depth, qc
Sensor: pressure | fields: lon, level, unit, depth
Task: Retrieve level from snow_depth whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012110 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, unit, value, reading
Sensor: sunlight | fields: unit, lat, value, reading
Task: Get lon from snow_depth where reading exceeds the maximum reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012111 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, lat, qc, ts
Sensor: rainfall | fields: ts, value, reading, type
Task: Get value from temperature where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012112 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, lat, qc, reading
Sensor: evaporation | fields: value, type, level, qc
Task: Get reading from visibility where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012113 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, qc, value, level
Sensor: sunlight | fields: lat, level, depth, lon
Task: Get reading from pressure where value exceeds the count of reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012114 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: reading, depth, value, type
Sensor: air_quality | fields: depth, lon, lat, qc
Task: Fetch lat from rainfall that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012115 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, reading, level, unit
Sensor: wind_speed | fields: ts, lat, unit, lon
Task: Fetch reading from turbidity where unit exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012116 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, reading, value, depth
Sensor: drought_index | fields: level, value, unit, reading
Task: Get lat from snow_depth where value exceeds the count of value from drought_index for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012117 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, unit, type, lat
Sensor: visibility | fields: level, reading, type, lat
Task: Retrieve reading from dew_point that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012118 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, value, reading, lon
Sensor: pressure | fields: depth, lon, type, level
Task: Retrieve lon from frost with reading above the MAX(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012119 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, value, depth, ts
Sensor: sunlight | fields: unit, level, lon, reading
Task: Fetch level from lightning where reading is greater than the average of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012120 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, level, lat, unit
Sensor: sunlight | fields: reading, qc, unit, depth
Task: Retrieve reading from cloud_cover with depth above the SUM(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012121 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, qc, lat, ts
Sensor: wind_speed | fields: depth, qc, unit, value
Task: Fetch lon from uv_index where value is greater than the count of of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012122 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, unit, reading, ts
Sensor: turbidity | fields: level, lon, type, value
Task: Get reading from air_quality where unit appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012123 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lon, ts, qc
Sensor: cloud_cover | fields: qc, unit, lon, ts
Task: Get depth from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012124 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, qc, level, lon
Sensor: cloud_cover | fields: lon, value, level, reading
Task: Fetch value from temperature that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012125 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, lat, depth, ts
Sensor: temperature | fields: qc, lon, lat, level
Task: Get lon from humidity where reading exceeds the maximum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"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_012126 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, level, lat, depth
Sensor: sunlight | fields: lon, value, ts, lat
Task: Retrieve lon from wind_speed that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012127 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: lon, qc, type, lat
Sensor: evaporation | fields: value, lon, type, qc
Task: Get depth from rainfall where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012128 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, unit, type
Sensor: lightning | fields: value, type, level, qc
Task: Get reading from air_quality where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012129 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, reading, ts, depth
Sensor: temperature | fields: lat, type, lon, unit
Task: Fetch value from frost where depth is greater than the maximum of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012130 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, unit, lat, level
Sensor: lightning | fields: qc, lat, level, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012131 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, qc, type
Sensor: soil_moisture | fields: unit, value, level, type
Task: Retrieve lon from cloud_cover with reading above the SUM(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012132 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: type, lat, unit, depth
Sensor: turbidity | fields: value, reading, lon, qc
Task: Fetch value from dew_point where depth is greater than the maximum of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012133 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: reading, unit, qc, ts
Sensor: evaporation | fields: ts, value, depth, level
Task: Get value from air_quality where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012134 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, qc, level, reading
Sensor: uv_index | fields: ts, level, lon, qc
Task: Get reading from drought_index where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012135 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, lat, value, unit
Sensor: pressure | fields: depth, value, level, type
Task: Retrieve depth from wind_speed whose type is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012136 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, qc, value, level
Sensor: drought_index | fields: level, value, qc, reading
Task: Retrieve lon from air_quality whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012137 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, unit, level, lat
Sensor: humidity | fields: type, lat, reading, ts
Task: Retrieve reading from wind_speed with value above the SUM(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012138 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, depth, lon, level
Sensor: soil_moisture | fields: value, type, unit, qc
Task: Get depth from wind_speed where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012139 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, value, depth, lat
Sensor: dew_point | fields: type, reading, depth, qc
Task: Fetch value from snow_depth that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012140 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, lon, reading, qc
Sensor: drought_index | fields: level, reading, unit, value
Task: Fetch lat from pressure where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012141 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, type, lat, reading
Sensor: rainfall | fields: ts, qc, lat, unit
Task: Get level from evaporation where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012142 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, depth, value, level
Sensor: visibility | fields: qc, type, depth, lat
Task: Get depth from pressure where value exceeds the average reading from visibility for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012143 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, ts, lon, depth
Sensor: wind_speed | fields: unit, reading, qc, value
Task: Retrieve depth from humidity whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012144 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lat, level, reading, unit
Sensor: turbidity | fields: unit, type, level, value
Task: Retrieve depth from frost with depth above the MAX(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012145 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, qc, reading, unit
Sensor: pressure | fields: lon, depth, value, lat
Task: Fetch lat from humidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012146 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, lon, type, level
Sensor: air_quality | fields: lat, value, type, depth
Task: Get level from wind_speed where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012147 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, reading, depth, value
Sensor: sunlight | fields: lon, qc, lat, level
Task: Fetch depth from turbidity that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012148 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, ts, lat, lon
Sensor: air_quality | fields: type, lat, qc, lon
Task: Fetch lon from frost where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012149 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, depth, lat
Sensor: dew_point | fields: type, qc, lat, ts
Task: Get value from wind_speed where reading exceeds the average depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012150 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, unit, lat
Sensor: rainfall | fields: lat, value, qc, depth
Task: Fetch reading from humidity where reading is greater than the maximum of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012151 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, qc, lat, reading
Sensor: cloud_cover | fields: type, depth, qc, lon
Task: Get depth from soil_moisture where ts appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012152 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: reading, value, ts, unit
Sensor: pressure | fields: depth, qc, unit, level
Task: Get lon from frost where depth exceeds the total depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012153 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lon, level, qc
Sensor: drought_index | fields: unit, qc, value, level
Task: Retrieve reading from evaporation with reading above the AVG(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012154 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, lon, type, unit
Sensor: dew_point | fields: depth, unit, lon, qc
Task: Retrieve lon from air_quality with depth above the COUNT(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012155 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, lat, depth, lon
Sensor: visibility | fields: lon, reading, qc, depth
Task: Fetch lat from cloud_cover where reading is greater than the maximum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012156 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: qc, ts, unit, level
Sensor: sunlight | fields: reading, type, value, lat
Task: Fetch level from air_quality where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012157 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, reading, ts, lon
Sensor: dew_point | fields: level, unit, lat, lon
Task: Get level from evaporation where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012158 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, lon, ts, unit
Sensor: temperature | fields: level, type, depth, unit
Task: Get lat from evaporation where reading exceeds the minimum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012159 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, ts, value, qc
Sensor: humidity | fields: reading, qc, lon, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012160 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, lat, type, ts
Sensor: uv_index | fields: lon, type, level, depth
Task: Fetch level from turbidity where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012161 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, reading, qc, type
Sensor: air_quality | fields: value, level, lon, reading
Task: Retrieve depth from sunlight with value above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012162 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, value, depth
Sensor: sunlight | fields: depth, unit, level, type
Task: Retrieve depth from dew_point with depth above the SUM(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012163 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, unit, type, depth
Sensor: soil_moisture | fields: level, unit, ts, type
Task: Fetch lon from humidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012164 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: reading, unit, level, lon
Sensor: sunlight | fields: level, unit, lon, reading
Task: Retrieve value from visibility with value above the COUNT(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012165 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, value, unit, ts
Sensor: humidity | fields: unit, type, lat, value
Task: Get depth from dew_point where value exceeds the maximum value from humidity for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012166 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, lon, ts, depth
Sensor: temperature | fields: lon, qc, unit, level
Task: Fetch depth from dew_point where reading is greater than the maximum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012167 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, qc, lon, unit
Sensor: evaporation | fields: reading, level, lon, qc
Task: Fetch value from snow_depth where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012168 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, type, qc, value
Sensor: temperature | fields: lat, qc, unit, ts
Task: Retrieve level from frost that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012169 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, value, type
Sensor: rainfall | fields: qc, lat, unit, ts
Task: Retrieve value from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012170 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, lon, type, ts
Sensor: drought_index | fields: reading, value, qc, type
Task: Get lon from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012171 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: reading, ts, lat, depth
Sensor: visibility | fields: type, lat, depth, ts
Task: Retrieve lat from temperature with depth above the COUNT(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012172 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, depth, type, unit
Sensor: cloud_cover | fields: lon, lat, depth, unit
Task: Retrieve depth from wind_speed that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012173 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, ts, unit, lon
Sensor: rainfall | fields: type, unit, depth, value
Task: Retrieve value from frost with reading above the COUNT(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012174 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lat, value, ts, type
Sensor: turbidity | fields: depth, lat, lon, level
Task: Get lat from frost where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012175 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, value, depth, unit
Sensor: wind_speed | fields: value, ts, level, lon
Task: Retrieve depth from visibility that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012176 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, unit, reading, lon
Sensor: uv_index | fields: value, type, lat, depth
Task: Get level from frost where value exceeds the average reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012177 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, ts, lat, depth
Sensor: dew_point | fields: qc, depth, unit, reading
Task: Get value from visibility where depth exceeds the minimum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012178 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, lat, level, lon
Sensor: turbidity | fields: value, depth, lat, ts
Task: Retrieve lat from dew_point that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012179 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: depth, type, ts, unit
Sensor: frost | fields: ts, depth, reading, unit
Task: Retrieve level from humidity whose depth is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012180 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, ts, level, qc
Sensor: lightning | fields: value, type, qc, reading
Task: Get reading from frost where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012181 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, unit, lon, reading
Sensor: drought_index | fields: ts, reading, unit, type
Task: Get level from wind_speed where value exceeds the maximum value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"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_012182 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, unit, lat, type
Sensor: sunlight | fields: unit, value, depth, reading
Task: Retrieve depth from pressure whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012183 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, unit, qc, level
Sensor: evaporation | fields: qc, reading, ts, lat
Task: Fetch lon from frost where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012184 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, unit, qc, type
Sensor: humidity | fields: level, value, ts, lon
Task: Retrieve lat from soil_moisture with value above the AVG(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012185 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, ts, level, value
Sensor: sunlight | fields: lon, unit, depth, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012186 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lat, lon, depth, ts
Sensor: rainfall | fields: lon, unit, value, type
Task: Retrieve level from uv_index with reading above the SUM(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012187 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lon, unit, qc, level
Sensor: drought_index | fields: lat, qc, value, unit
Task: Retrieve lat from uv_index whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012188 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, depth, qc, ts
Sensor: cloud_cover | fields: unit, level, lon, lat
Task: Get depth from snow_depth where depth appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012189 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: value, reading, unit, lat
Sensor: rainfall | fields: level, lat, ts, lon
Task: Fetch value from air_quality where value is greater than the average of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012190 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, reading, qc, ts
Sensor: temperature | fields: type, depth, reading, value
Task: Get lon from soil_moisture where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012191 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, qc, depth, reading
Sensor: cloud_cover | fields: type, lon, reading, qc
Task: Get value from pressure where depth appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012192 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, type, lat, qc
Sensor: temperature | fields: unit, ts, type, lon
Task: Fetch level from sunlight where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012193 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, qc, unit, depth
Sensor: temperature | fields: lon, value, unit, lat
Task: Get lon from turbidity where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012194 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, level, unit, qc
Sensor: air_quality | fields: depth, lat, type, unit
Task: Get lat from temperature where depth exceeds the minimum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_012195 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, value, ts, type
Sensor: rainfall | fields: level, qc, value, type
Task: Retrieve lat from evaporation whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012196 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, unit, lat, reading
Sensor: soil_moisture | fields: lat, lon, type, qc
Task: Get lon from humidity where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012197 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, lat, unit, level
Sensor: snow_depth | fields: reading, level, qc, value
Task: Fetch level from sunlight where ts exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012198 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, unit, qc
Sensor: turbidity | fields: level, qc, depth, unit
Task: Retrieve value from snow_depth whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_012199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.