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: lightning | code: prt | fields: level, lon, reading, lat
Sensor: uv_index | fields: lon, level, qc, unit
Task: Get lat from lightning where value exceeds the average value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048200 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, depth, lat, unit
Sensor: drought_index | fields: lon, depth, type, level
Task: Fetch reading from rainfall where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048201 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: ts, qc, depth, unit
Sensor: drought_index | fields: qc, value, reading, ts
Task: Retrieve reading from sunlight that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048202 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, type, depth, lat
Sensor: soil_moisture | fields: level, qc, depth, reading
Task: Get lat from uv_index where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048203 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: reading, qc, unit, type
Sensor: rainfall | fields: ts, unit, lon, value
Task: Fetch value from uv_index where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048204 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: ts, unit, level, lon
Sensor: wind_speed | fields: depth, lon, lat, type
Task: Retrieve lat from sunlight with reading above the MAX(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048205 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: level, depth, ts, type
Sensor: rainfall | fields: level, unit, ts, reading
Task: Get reading from wind_speed where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048206 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, ts, reading, depth
Sensor: lightning | fields: depth, lon, reading, lat
Task: Fetch level from rainfall where depth is greater than the minimum of value in lightning for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048207 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, qc, unit, value
Sensor: frost | fields: level, value, unit, lat
Task: Retrieve lon from lightning that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048208 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lon, type, reading
Sensor: turbidity | fields: depth, type, ts, value
Task: Fetch lat from wind_speed where value is greater than the maximum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048209 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: qc, reading, unit, ts
Sensor: frost | fields: lon, level, qc, unit
Task: Retrieve lat from temperature whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048210 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, type, reading, level
Sensor: visibility | fields: qc, level, depth, ts
Task: Get value from air_quality where depth exceeds the maximum value from visibility for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048211 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: value, qc, unit, reading
Sensor: snow_depth | fields: type, lat, qc, depth
Task: Retrieve value from pressure with value above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048212 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, unit, ts, lon
Sensor: uv_index | fields: level, depth, lon, reading
Task: Fetch value from visibility where value is greater than the average of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048213 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, lat, level, qc
Sensor: evaporation | fields: type, unit, value, qc
Task: Get depth from visibility where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048214 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, unit, value, reading
Sensor: pressure | fields: qc, type, unit, lat
Task: Get level from sunlight where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048215 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, unit, depth, reading
Sensor: air_quality | fields: lat, qc, level, type
Task: Get value from temperature where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048216 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, unit, qc, type
Sensor: temperature | fields: level, lat, type, qc
Task: Retrieve reading from humidity that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"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_048217 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lon, level, reading, depth
Sensor: cloud_cover | fields: unit, lon, qc, level
Task: Get depth from rainfall where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048218 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, level, lon, qc
Sensor: cloud_cover | fields: value, unit, lat, depth
Task: Fetch depth from frost that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048219 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: level, ts, type, value
Sensor: sunlight | fields: depth, level, value, lon
Task: Get reading from evaporation where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048220 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: level, qc, value, reading
Sensor: uv_index | fields: depth, lat, ts, type
Task: Get lon from pressure where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048221 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: ts, lon, level, unit
Sensor: snow_depth | fields: depth, ts, reading, unit
Task: Get level from drought_index where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048222 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, unit, value, qc
Sensor: cloud_cover | fields: type, level, value, lat
Task: Retrieve value from frost with value above the SUM(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048223 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, qc, unit, lat
Sensor: frost | fields: value, ts, unit, level
Task: Fetch level from uv_index where type exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048224 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, ts, reading, depth
Sensor: rainfall | fields: reading, value, level, unit
Task: Get depth from dew_point where depth exceeds the minimum reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048225 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, type, lon, ts
Sensor: wind_speed | fields: unit, reading, level, lat
Task: Get level from drought_index where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048226 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, qc, reading, value
Sensor: soil_moisture | fields: lon, type, reading, level
Task: Get level from dew_point where depth exceeds the minimum depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048227 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: unit, type, qc, reading
Sensor: humidity | fields: type, unit, reading, lat
Task: Get reading from rainfall where unit appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048228 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, reading, ts, unit
Sensor: turbidity | fields: unit, value, depth, lon
Task: Retrieve depth from frost with value above the SUM(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048229 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: type, lat, qc, reading
Sensor: turbidity | fields: qc, type, lat, unit
Task: Retrieve level from uv_index whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048230 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, reading, type, unit
Sensor: air_quality | fields: depth, type, lon, unit
Task: Fetch reading from sunlight where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048231 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: type, level, depth, value
Sensor: soil_moisture | fields: qc, lon, level, depth
Task: Fetch depth from frost where reading is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048232 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, qc, value, type
Sensor: lightning | fields: qc, unit, lat, ts
Task: Fetch reading from pressure that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048233 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, lat, depth, qc
Sensor: soil_moisture | fields: unit, lon, reading, ts
Task: Fetch reading from temperature that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048234 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, level, lon, unit
Sensor: pressure | fields: unit, type, depth, lat
Task: Fetch lon from dew_point where reading is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048235 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, depth, level, value
Sensor: frost | fields: lon, type, depth, ts
Task: Get level from sunlight where value exceeds the count of depth from frost for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048236 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, qc, value, depth
Sensor: lightning | fields: ts, level, reading, lat
Task: Get lat from air_quality where qc appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048237 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, ts, value, unit
Sensor: pressure | fields: level, type, lon, lat
Task: Get reading from humidity where depth exceeds the total depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048238 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, lon, depth, unit
Sensor: air_quality | fields: depth, qc, lon, type
Task: Get value from rainfall where value exceeds the total value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048239 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, level, lon, ts
Sensor: rainfall | fields: reading, type, depth, lon
Task: Fetch reading from humidity where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048240 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, lat, reading
Sensor: pressure | fields: lat, qc, type, level
Task: Retrieve value from sunlight with value above the AVG(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048241 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, lon, ts, depth
Sensor: air_quality | fields: level, value, reading, lat
Task: Get reading from snow_depth where reading exceeds the minimum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048242 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, type, depth, lon
Sensor: rainfall | fields: ts, lat, qc, type
Task: Fetch lon from evaporation where qc exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048243 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, level, reading, value
Sensor: visibility | fields: lon, ts, unit, lat
Task: Fetch lon from wind_speed that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048244 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, ts, value, type
Sensor: air_quality | fields: qc, lon, value, lat
Task: Get reading from dew_point where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048245 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, reading, ts, qc
Sensor: evaporation | fields: lat, depth, type, qc
Task: Retrieve reading from wind_speed that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048246 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, reading, type, qc
Sensor: snow_depth | fields: depth, unit, lon, type
Task: Retrieve lat from evaporation whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048247 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, lon, qc, depth
Sensor: cloud_cover | fields: depth, lat, value, lon
Task: Get lat from visibility where value exceeds the average reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048248 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, unit, level, lon
Sensor: soil_moisture | fields: level, value, reading, ts
Task: Fetch value from turbidity where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048249 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lon, lat, type
Sensor: frost | fields: depth, lon, value, qc
Task: Get lon from wind_speed where depth exceeds the total value from frost for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048250 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, level, value, type
Sensor: lightning | fields: type, level, lat, unit
Task: Fetch lat from frost where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048251 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: depth, lon, lat, level
Sensor: snow_depth | fields: type, qc, value, reading
Task: Get lon from temperature where value exceeds the total depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048252 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, type, qc, lon
Sensor: evaporation | fields: qc, lon, unit, level
Task: Fetch lat from wind_speed where ts exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048253 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, type, value, reading
Sensor: soil_moisture | fields: reading, lat, level, depth
Task: Fetch level from snow_depth that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048254 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, lon, level, unit
Sensor: snow_depth | fields: type, ts, level, lon
Task: Fetch reading from sunlight where type exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048255 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lon, level, reading, qc
Sensor: cloud_cover | fields: reading, type, lon, ts
Task: Get value from lightning where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048256 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, value, ts, lat
Sensor: lightning | fields: depth, lat, reading, unit
Task: Fetch level from humidity where depth is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048257 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: ts, reading, depth, type
Sensor: evaporation | fields: ts, reading, level, qc
Task: Fetch reading from lightning where depth is greater than the maximum of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048258 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, value, lat, qc
Sensor: temperature | fields: depth, ts, lat, value
Task: Get reading from pressure where reading exceeds the minimum value from temperature for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048259 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, qc, reading, level
Sensor: cloud_cover | fields: reading, unit, qc, ts
Task: Fetch reading from lightning where value is greater than the total of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048260 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lat, qc, depth, level
Sensor: dew_point | fields: ts, qc, lon, value
Task: Retrieve lat from turbidity whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048261 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, reading, lat, lon
Sensor: drought_index | fields: lat, lon, level, unit
Task: Fetch value from temperature that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048262 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, qc, unit, level
Sensor: evaporation | fields: unit, depth, lat, type
Task: Get reading from temperature where value exceeds the count of reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048263 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: qc, level, depth, lon
Sensor: uv_index | fields: type, qc, level, depth
Task: Retrieve reading from visibility with value above the COUNT(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048264 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, ts, value, qc
Sensor: pressure | fields: unit, ts, type, depth
Task: Fetch lat from wind_speed that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048265 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, unit, ts, level
Sensor: rainfall | fields: lat, value, type, qc
Task: Get lon from frost where value exceeds the average value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048266 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, lat, ts, qc
Sensor: wind_speed | fields: lat, type, lon, reading
Task: Get lon from temperature where reading exceeds the maximum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048267 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, lat, type, depth
Sensor: humidity | fields: lon, level, value, depth
Task: Get level from turbidity where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048268 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lon, unit, level
Sensor: turbidity | fields: depth, qc, value, level
Task: Retrieve level from rainfall that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048269 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, value, depth, ts
Sensor: humidity | fields: value, qc, level, unit
Task: Get value from rainfall where depth exceeds the total value from humidity for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048270 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, lon, unit, lat
Sensor: pressure | fields: lon, lat, qc, value
Task: Fetch reading from snow_depth where qc exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048271 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lat, level, reading, qc
Sensor: visibility | fields: type, depth, qc, lon
Task: Get reading from frost where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048272 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, type, qc, reading
Sensor: soil_moisture | fields: depth, type, value, reading
Task: Retrieve depth from frost that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048273 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: value, ts, depth, type
Sensor: sunlight | fields: depth, lon, lat, type
Task: Get reading from visibility where reading exceeds the minimum reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048274 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, type, ts, depth
Sensor: turbidity | fields: value, depth, unit, qc
Task: Get lat from cloud_cover where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048275 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, value, qc, unit
Sensor: lightning | fields: lat, reading, ts, depth
Task: Get reading from soil_moisture where value exceeds the minimum value from lightning for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048276 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, depth, unit, reading
Sensor: rainfall | fields: qc, lon, type, lat
Task: Get value from soil_moisture where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048277 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, depth, lon, value
Sensor: wind_speed | fields: level, value, qc, ts
Task: Get depth from drought_index where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048278 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, reading, ts, qc
Sensor: cloud_cover | fields: lat, lon, level, value
Task: Get reading from visibility where reading exceeds the minimum depth from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048279 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, unit, depth, lon
Sensor: rainfall | fields: unit, value, qc, reading
Task: Get depth from evaporation where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048280 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lon, depth, level, lat
Sensor: soil_moisture | fields: lon, qc, depth, type
Task: Retrieve value from visibility that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048281 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, type, lat, value
Sensor: rainfall | fields: type, value, unit, qc
Task: Get value from air_quality where value exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048282 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: type, level, reading, ts
Sensor: frost | fields: type, level, depth, unit
Task: Retrieve lat from visibility with depth above the AVG(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048283 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, type, lon, lat
Sensor: temperature | fields: unit, lat, value, level
Task: Fetch lat from turbidity where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048284 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lon, ts, level, unit
Sensor: air_quality | fields: type, qc, reading, level
Task: Retrieve reading from rainfall whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048285 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, unit, qc, type
Sensor: pressure | fields: unit, value, depth, lon
Task: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048286 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, reading, lat, value
Sensor: visibility | fields: value, lat, type, unit
Task: Retrieve depth from snow_depth with depth above the SUM(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048287 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, lat, reading, qc
Sensor: wind_speed | fields: value, unit, depth, type
Task: Fetch lon from visibility where unit exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048288 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, reading, qc
Sensor: soil_moisture | fields: unit, level, qc, lat
Task: Retrieve lat from lightning whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048289 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, unit, level, value
Sensor: cloud_cover | fields: ts, qc, reading, unit
Task: Fetch lat from air_quality where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048290 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, level, ts, reading
Sensor: pressure | fields: ts, qc, depth, value
Task: Retrieve level from frost that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048291 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, level, qc, ts
Sensor: air_quality | fields: depth, level, type, lon
Task: Retrieve depth from snow_depth with depth above the COUNT(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048292 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, ts, value, reading
Sensor: dew_point | fields: type, depth, unit, lon
Task: Get reading from cloud_cover where reading exceeds the maximum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048293 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lat, type, qc, lon
Sensor: wind_speed | fields: reading, value, ts, lat
Task: Get depth from humidity where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_048294 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, lon, depth, unit
Sensor: snow_depth | fields: qc, unit, reading, type
Task: Get lon from frost where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048295 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, qc, lon, level
Sensor: uv_index | fields: reading, level, unit, value
Task: Get value from air_quality where depth exceeds the count of depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048296 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, level, unit, qc
Sensor: frost | fields: lat, qc, depth, reading
Task: Get lon from lightning where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048297 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, qc, ts, unit
Sensor: pressure | fields: type, lat, unit, ts
Task: Retrieve level from air_quality with reading above the MAX(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048298 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, depth, lon, qc
Sensor: snow_depth | fields: level, depth, unit, lat
Task: Fetch lon from turbidity where value is greater than the total of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_048299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.