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: frost | code: thr | fields: reading, unit, type, value
Sensor: humidity | fields: level, unit, type, qc
Task: Retrieve value from frost with value above the MIN(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034200 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, depth, lon, lat
Sensor: wind_speed | fields: lon, qc, level, unit
Task: Retrieve depth from snow_depth whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034201 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, unit, ts, value
Sensor: evaporation | fields: ts, qc, value, lat
Task: Get lat from snow_depth where reading exceeds the minimum depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034202 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, unit, ts, qc
Sensor: wind_speed | fields: level, qc, value, reading
Task: Retrieve lon from cloud_cover with value above the MIN(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034203 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, qc, reading, value
Sensor: rainfall | fields: ts, qc, reading, unit
Task: Retrieve lat from drought_index whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034204 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, depth, value, level
Sensor: snow_depth | fields: ts, unit, lat, reading
Task: Retrieve depth from wind_speed that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034205 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lat, depth, lon
Sensor: pressure | fields: type, level, value, qc
Task: Fetch value from soil_moisture where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034206 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, unit, level, lat
Sensor: turbidity | fields: depth, ts, lon, level
Task: Retrieve reading from humidity with depth above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034207 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, lon, depth, unit
Sensor: lightning | fields: value, lon, ts, type
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034208 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, qc, type, lon
Sensor: air_quality | fields: unit, depth, lat, value
Task: Get lat from cloud_cover where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034209 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, ts, value, lon
Sensor: visibility | fields: type, depth, qc, value
Task: Fetch value from cloud_cover where depth is greater than the minimum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034210 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, depth, unit, qc
Sensor: uv_index | fields: unit, ts, value, lon
Task: Fetch lat from lightning where reading is greater than the count of of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034211 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, level, lon, reading
Sensor: drought_index | fields: reading, ts, qc, value
Task: Get lat from cloud_cover where reading exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034212 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: ts, unit, depth, lat
Sensor: lightning | fields: reading, value, qc, depth
Task: Retrieve lon from uv_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034213 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, level, type, value
Sensor: rainfall | fields: type, lat, reading, qc
Task: Retrieve reading from cloud_cover whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034214 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lat, lon, reading, level
Sensor: rainfall | fields: qc, depth, lon, type
Task: Get lon from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034215 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lon, level, depth, lat
Sensor: dew_point | fields: value, level, type, depth
Task: Retrieve level from sunlight with depth above the AVG(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034216 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: qc, depth, type, lat
Sensor: lightning | fields: lat, ts, depth, lon
Task: Retrieve value from visibility with depth above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034217 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, type, depth, unit
Sensor: dew_point | fields: depth, qc, value, ts
Task: Retrieve reading from humidity that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034218 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: qc, value, level, reading
Sensor: temperature | fields: type, ts, value, reading
Task: Get depth from visibility where reading exceeds the count of depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034219 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, type, unit, reading
Sensor: evaporation | fields: depth, qc, type, reading
Task: Retrieve reading from temperature whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034220 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, unit, ts, lat
Sensor: dew_point | fields: depth, qc, ts, lon
Task: Retrieve depth from rainfall whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034221 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, ts, unit, qc
Sensor: evaporation | fields: qc, value, ts, type
Task: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034222 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: value, reading, type, lon
Sensor: pressure | fields: value, ts, reading, depth
Task: Retrieve lat from rainfall whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034223 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, qc, unit, type
Sensor: uv_index | fields: lon, ts, unit, lat
Task: Get lon from dew_point where value exceeds the total value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034224 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: qc, unit, depth, level
Sensor: pressure | fields: depth, lat, unit, type
Task: Retrieve level from visibility that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"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_034225 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, reading, ts, type
Sensor: wind_speed | fields: type, depth, qc, reading
Task: Get lon from turbidity where value exceeds the total value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034226 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, ts, value, type
Sensor: wind_speed | fields: depth, unit, reading, ts
Task: Get lat from evaporation where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034227 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, ts, type, lon
Sensor: turbidity | fields: level, value, type, unit
Task: Get lat from rainfall where reading exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034228 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, ts, lon, type
Sensor: air_quality | fields: type, unit, lon, depth
Task: Fetch lat from uv_index where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034229 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, qc, depth, type
Sensor: soil_moisture | fields: level, reading, qc, value
Task: Get lat from drought_index where depth appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034230 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, qc, lat, unit
Sensor: temperature | fields: lat, type, depth, level
Task: Get level from lightning where depth exceeds the count of reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034231 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: unit, ts, level, depth
Sensor: humidity | fields: reading, ts, value, level
Task: Get reading from frost where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034232 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: qc, value, unit, lat
Sensor: turbidity | fields: type, ts, level, lat
Task: Get lat from frost where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034233 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lon, lat, value, level
Sensor: drought_index | fields: ts, level, unit, lon
Task: Get reading from temperature where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034234 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, depth, lon, qc
Sensor: uv_index | fields: level, reading, type, ts
Task: Retrieve level from air_quality whose depth is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034235 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, reading, level, value
Sensor: temperature | fields: depth, reading, unit, type
Task: Retrieve lat from dew_point with value above the COUNT(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034236 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, value, lat, level
Sensor: temperature | fields: unit, level, reading, depth
Task: Fetch lon from rainfall where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034237 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, type, reading, unit
Sensor: sunlight | fields: ts, lat, unit, lon
Task: Retrieve depth from wind_speed that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034238 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, lon, reading, value
Sensor: turbidity | fields: lat, ts, reading, level
Task: Get reading from frost where value exceeds the average reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034239 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, depth, ts, reading
Sensor: snow_depth | fields: lat, reading, type, qc
Task: Fetch depth from evaporation where reading is greater than the average of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034240 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, type, ts, unit
Sensor: humidity | fields: depth, lat, unit, reading
Task: Get level from visibility where depth exceeds the total reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034241 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, depth, unit, level
Sensor: humidity | fields: lat, type, depth, level
Task: Fetch depth from dew_point where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034242 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: ts, type, level, lat
Sensor: evaporation | fields: lat, unit, lon, reading
Task: Get reading from rainfall where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034243 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, unit, value, reading
Sensor: pressure | fields: lon, lat, depth, type
Task: Fetch level from uv_index that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034244 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lon, value, qc
Sensor: rainfall | fields: value, qc, level, ts
Task: Get depth from air_quality where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034245 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, qc, type
Sensor: dew_point | fields: depth, qc, ts, reading
Task: Get lon from humidity where value exceeds the count of depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034246 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, unit, depth, level
Sensor: temperature | fields: type, lat, reading, lon
Task: Retrieve lon from soil_moisture that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034247 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, reading, lat, ts
Sensor: air_quality | fields: depth, level, reading, qc
Task: Get reading from turbidity where qc appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034248 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lat, level, ts, reading
Sensor: cloud_cover | fields: qc, depth, lon, value
Task: Retrieve reading from visibility whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034249 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, value, level, depth
Sensor: wind_speed | fields: lon, level, reading, type
Task: Retrieve reading from evaporation whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034250 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: reading, qc, level, value
Sensor: sunlight | fields: level, lon, value, reading
Task: Get reading from drought_index where ts appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034251 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, qc, value, reading
Sensor: snow_depth | fields: lon, lat, unit, ts
Task: Get level from drought_index where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034252 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, lon, lat, depth
Sensor: pressure | fields: value, depth, reading, ts
Task: Fetch lon from visibility where depth is greater than the total of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034253 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, reading, value
Sensor: evaporation | fields: ts, level, type, value
Task: Retrieve depth from sunlight with reading above the SUM(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034254 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, reading, unit, value
Sensor: soil_moisture | fields: lon, value, ts, qc
Task: Retrieve level from humidity whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034255 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, reading, lat, lon
Sensor: evaporation | fields: level, depth, lat, qc
Task: Get value from snow_depth where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034256 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, lat, ts, type
Sensor: wind_speed | fields: lon, level, reading, type
Task: Retrieve value from sunlight that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034257 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lat, lon, type
Sensor: wind_speed | fields: level, qc, type, value
Task: Retrieve lat from soil_moisture that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034258 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, unit, depth, type
Sensor: temperature | fields: lat, ts, unit, type
Task: Fetch level from sunlight that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034259 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, level, qc, reading
Sensor: frost | fields: level, depth, reading, qc
Task: Fetch reading from soil_moisture that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034260 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: type, reading, lat, depth
Sensor: wind_speed | fields: depth, ts, lon, qc
Task: Retrieve lon from dew_point that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034261 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, unit, level, lat
Sensor: cloud_cover | fields: reading, lon, qc, lat
Task: Retrieve value from drought_index whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034262 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, ts, value, type
Sensor: dew_point | fields: reading, type, level, lon
Task: Fetch lat from wind_speed that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034263 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, type, reading
Sensor: soil_moisture | fields: unit, value, ts, qc
Task: Fetch reading from wind_speed that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034264 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lat, value, reading, ts
Sensor: frost | fields: ts, value, level, lat
Task: Fetch lat from pressure where type exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034265 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, reading, depth, ts
Sensor: dew_point | fields: ts, type, qc, value
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034266 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lon, ts, unit
Sensor: soil_moisture | fields: lon, unit, type, ts
Task: Retrieve reading from evaporation with value above the COUNT(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034267 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lat, value, lon
Sensor: wind_speed | fields: ts, lon, type, lat
Task: Get lat from air_quality where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034268 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lat, value, level
Sensor: wind_speed | fields: depth, qc, type, unit
Task: Get value from soil_moisture where value exceeds the maximum depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034269 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: reading, unit, lat, ts
Sensor: uv_index | fields: type, qc, depth, unit
Task: Get depth from turbidity where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034270 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, lon, unit, ts
Sensor: frost | fields: ts, type, unit, level
Task: Fetch value from drought_index that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034271 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, ts, type, lon
Sensor: air_quality | fields: qc, value, depth, reading
Task: Retrieve lon from sunlight with reading above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034272 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, qc, level, lon
Sensor: cloud_cover | fields: reading, qc, type, lat
Task: Get reading from frost where reading exceeds the average value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034273 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, lon, depth, ts
Sensor: soil_moisture | fields: lon, depth, reading, ts
Task: Get depth from frost where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034274 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, ts, type, value
Sensor: frost | fields: level, ts, value, type
Task: Get value from drought_index where value exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034275 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, ts, reading, unit
Sensor: drought_index | fields: lat, value, depth, unit
Task: Fetch level from soil_moisture that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034276 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, type, lat
Sensor: rainfall | fields: qc, value, depth, unit
Task: Fetch depth from soil_moisture that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034277 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: reading, ts, depth, value
Sensor: rainfall | fields: qc, lon, lat, unit
Task: Retrieve lat from temperature that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034278 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: unit, lat, reading, lon
Sensor: cloud_cover | fields: qc, lat, type, reading
Task: Fetch lat from humidity where depth is greater than the minimum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034279 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, lat, unit, reading
Sensor: cloud_cover | fields: lat, value, qc, type
Task: Get lat from evaporation where depth appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034280 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lon, lat, unit
Sensor: dew_point | fields: depth, qc, value, ts
Task: Retrieve lon from turbidity with depth above the MIN(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034281 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, type, level, ts
Sensor: snow_depth | fields: unit, lon, reading, type
Task: Retrieve level from visibility whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034282 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lat, value, reading
Sensor: wind_speed | fields: lon, reading, lat, value
Task: Get depth from rainfall where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034283 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, ts, type, unit
Sensor: sunlight | fields: level, ts, lat, value
Task: Retrieve value from visibility with depth above the AVG(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034284 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: type, unit, lon, ts
Sensor: sunlight | fields: lat, type, unit, value
Task: Retrieve lat from visibility with reading above the COUNT(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034285 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, lat, lon, value
Sensor: wind_speed | fields: lon, depth, ts, reading
Task: Retrieve reading from turbidity whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034286 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, type, depth, value
Sensor: uv_index | fields: type, unit, depth, level
Task: Fetch value from wind_speed where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034287 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, type, qc, level
Sensor: evaporation | fields: level, qc, lon, type
Task: Retrieve level from drought_index with reading above the MAX(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034288 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, depth, lat, value
Sensor: wind_speed | fields: lon, unit, level, reading
Task: Fetch level from snow_depth where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034289 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, unit, depth, value
Sensor: visibility | fields: reading, lat, level, type
Task: Get lon from humidity where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034290 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lat, depth, lon, unit
Sensor: soil_moisture | fields: lon, qc, type, level
Task: Fetch lat from lightning where qc exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
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": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034291 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, value, level, lon
Sensor: humidity | fields: lat, type, value, reading
Task: Fetch depth from temperature where depth is greater than the minimum of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034292 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, lon, level, qc
Sensor: snow_depth | fields: reading, value, ts, lat
Task: Retrieve reading from lightning that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034293 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, unit, reading, level
Sensor: humidity | fields: lon, depth, value, qc
Task: Fetch lon from lightning where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034294 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, type, qc, level
Sensor: evaporation | fields: reading, ts, lon, unit
Task: Fetch value from sunlight where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034295 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, level, unit, depth
Sensor: sunlight | fields: depth, qc, lon, ts
Task: Fetch depth from humidity where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034296 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, type, value, unit
Sensor: rainfall | fields: unit, lat, lon, level
Task: Retrieve depth from visibility whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034297 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, qc, level, reading
Sensor: uv_index | fields: value, lon, reading, type
Task: Fetch reading from snow_depth where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034298 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, ts, reading
Sensor: drought_index | fields: qc, unit, lat, level
Task: Fetch reading from temperature where value is greater than the count of of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.