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: temperature | code: mst | fields: qc, reading, level, unit
Sensor: wind_speed | fields: qc, reading, value, level
Task: Fetch value from temperature where reading is greater than the maximum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019300 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: ts, lon, reading, value
Sensor: drought_index | fields: ts, lon, unit, value
Task: Fetch lon from frost where depth is greater than the count of of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019301 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, type, unit, reading
Sensor: lightning | fields: level, ts, depth, lon
Task: Get value from visibility where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019302 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, type, level, unit
Sensor: uv_index | fields: reading, depth, lat, lon
Task: Retrieve lon from visibility with value above the AVG(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019303 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, lon, value, qc
Sensor: visibility | fields: reading, depth, level, lon
Task: Retrieve lat from uv_index whose qc is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019304 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: depth, ts, type, lat
Sensor: turbidity | fields: lon, qc, level, depth
Task: Get value from pressure where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019305 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, unit, ts, type
Sensor: lightning | fields: level, qc, depth, reading
Task: Get depth from cloud_cover where value exceeds the minimum depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019306 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, lon, qc, reading
Sensor: cloud_cover | fields: lon, value, ts, lat
Task: Get level from sunlight where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019307 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, reading, level, type
Sensor: temperature | fields: unit, lon, qc, value
Task: Retrieve value from snow_depth whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019308 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, reading, lat, lon
Sensor: visibility | fields: value, depth, ts, reading
Task: Fetch level from drought_index that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019309 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: reading, lon, depth, qc
Sensor: dew_point | fields: depth, qc, reading, value
Task: Fetch level from temperature where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019310 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: value, reading, depth, lat
Sensor: visibility | fields: lat, reading, type, level
Task: Fetch value from turbidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019311 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: depth, unit, type, level
Sensor: frost | fields: qc, lon, depth, ts
Task: Get reading from drought_index where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019312 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: unit, lon, level, reading
Sensor: snow_depth | fields: level, lat, lon, depth
Task: Fetch level from temperature where type exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019313 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, reading, lon, qc
Sensor: evaporation | fields: reading, lat, unit, depth
Task: Fetch lat from frost that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019314 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: unit, value, ts, qc
Sensor: soil_moisture | fields: type, depth, ts, reading
Task: Fetch reading from frost where reading is greater than the count of of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019315 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, lon, type, ts
Sensor: frost | fields: value, level, unit, type
Task: Retrieve reading from drought_index with reading above the SUM(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019316 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: level, unit, value, depth
Sensor: rainfall | fields: lon, ts, reading, unit
Task: Get depth from humidity where qc appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019317 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, reading, ts, depth
Sensor: turbidity | fields: depth, reading, lat, ts
Task: Get value from pressure where reading exceeds the maximum reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019318 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, lat, level, value
Sensor: humidity | fields: lon, level, unit, qc
Task: Fetch value from uv_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019319 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, level, type, value
Sensor: pressure | fields: unit, depth, ts, lat
Task: Get value from turbidity where reading exceeds the minimum reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019320 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, level, ts, depth
Sensor: evaporation | fields: lat, type, level, lon
Task: Retrieve value from humidity with depth above the SUM(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019321 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: level, reading, depth, lon
Sensor: evaporation | fields: type, qc, reading, ts
Task: Get level from frost where reading exceeds the minimum reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019322 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, qc, unit, lat
Sensor: humidity | fields: value, type, lat, depth
Task: Get lat from lightning where value exceeds the average depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019323 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, value, reading, lon
Sensor: visibility | fields: lon, type, unit, lat
Task: Retrieve lat from evaporation whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019324 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lon, unit, qc, reading
Sensor: soil_moisture | fields: ts, level, type, unit
Task: Get level from turbidity where depth exceeds the average value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019325 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, level, depth, lat
Sensor: frost | fields: unit, lon, level, depth
Task: Get value from wind_speed where depth exceeds the maximum reading from frost for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019326 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: type, level, lat, unit
Sensor: evaporation | fields: qc, type, lat, unit
Task: Retrieve lat from temperature with reading above the COUNT(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019327 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, value, qc, ts
Sensor: wind_speed | fields: ts, unit, value, depth
Task: Retrieve lon from frost that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019328 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: type, value, ts, unit
Sensor: lightning | fields: type, depth, reading, qc
Task: Fetch reading from humidity where value is greater than the minimum of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019329 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: unit, value, ts, qc
Sensor: dew_point | fields: level, reading, unit, lon
Task: Fetch depth from pressure where reading is greater than the total of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019330 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, value, reading, lat
Sensor: evaporation | fields: unit, depth, lon, lat
Task: Retrieve value from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019331 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, lon, type, level
Sensor: turbidity | fields: ts, lon, level, lat
Task: Fetch value from frost where qc exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019332 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, value, qc, unit
Sensor: visibility | fields: lon, ts, unit, level
Task: Get level from turbidity where depth exceeds the count of depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019333 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, type, lat, qc
Sensor: uv_index | fields: type, ts, unit, value
Task: Get reading from drought_index where reading exceeds the maximum value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019334 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, lon, unit, lat
Sensor: air_quality | fields: level, lat, ts, reading
Task: Get reading from dew_point where depth exceeds the average reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019335 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, type, lat
Sensor: soil_moisture | fields: level, lat, unit, qc
Task: Fetch lon from dew_point where depth is greater than the average of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019336 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, lat, ts, depth
Sensor: visibility | fields: depth, type, lat, lon
Task: Fetch value from lightning that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019337 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: type, ts, reading, depth
Sensor: cloud_cover | fields: reading, unit, ts, level
Task: Get value from dew_point where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019338 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, qc, depth, ts
Sensor: wind_speed | fields: lat, unit, reading, qc
Task: Fetch level from pressure where reading is greater than the total of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019339 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, lat, ts, reading
Sensor: frost | fields: qc, ts, depth, unit
Task: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019340 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, lat, lon, qc
Sensor: evaporation | fields: reading, type, qc, depth
Task: Fetch level from rainfall where reading is greater than the total of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019341 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, lat, unit, value
Sensor: rainfall | fields: lon, reading, qc, lat
Task: Fetch reading from frost where value is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019342 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, reading, lon
Sensor: evaporation | fields: ts, type, depth, level
Task: Retrieve depth from air_quality whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019343 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, lat, ts, type
Sensor: pressure | fields: level, depth, ts, lon
Task: Retrieve lon from frost whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019344 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, unit, level, depth
Sensor: temperature | fields: lon, type, depth, reading
Task: Retrieve lat from visibility that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019345 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: level, reading, ts, unit
Sensor: humidity | fields: ts, depth, unit, value
Task: Retrieve reading from wind_speed with reading above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019346 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, qc, reading, type
Sensor: cloud_cover | fields: ts, qc, lat, unit
Task: Retrieve value from soil_moisture that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019347 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, unit, type, ts
Sensor: drought_index | fields: value, type, unit, depth
Task: Fetch level from evaporation where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019348 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: type, depth, qc, reading
Sensor: air_quality | fields: lat, type, lon, qc
Task: Get level from sunlight where reading exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019349 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, qc, lon, type
Sensor: pressure | fields: lat, lon, type, unit
Task: Retrieve reading from air_quality whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019350 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, depth, ts, type
Sensor: frost | fields: unit, depth, level, lat
Task: Get value from air_quality where value exceeds the average reading from frost for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019351 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, ts, unit, reading
Sensor: sunlight | fields: value, type, unit, ts
Task: Fetch depth from drought_index where depth is greater than the count of of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019352 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, lat, ts, unit
Sensor: cloud_cover | fields: value, unit, reading, qc
Task: Get depth from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019353 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, level, ts, lon
Sensor: dew_point | fields: type, lat, value, qc
Task: Retrieve lat from soil_moisture with value above the SUM(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019354 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, lat, depth, type
Sensor: wind_speed | fields: lat, level, type, unit
Task: Retrieve level from frost that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019355 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, lon, depth
Sensor: temperature | fields: depth, value, unit, type
Task: Retrieve lat from pressure that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019356 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, type, reading, depth
Sensor: snow_depth | fields: reading, ts, value, qc
Task: Retrieve value from uv_index that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019357 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, value, level, lon
Sensor: air_quality | fields: ts, reading, qc, unit
Task: Retrieve reading from humidity with value above the MIN(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019358 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, level, qc, reading
Sensor: sunlight | fields: depth, lat, lon, unit
Task: Get level from pressure where value exceeds the average reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019359 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, lat, value, unit
Sensor: snow_depth | fields: lat, lon, qc, type
Task: Fetch lat from temperature where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019360 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, value, level, lon
Sensor: humidity | fields: level, lat, qc, ts
Task: Fetch depth from temperature that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019361 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, reading, qc, depth
Sensor: air_quality | fields: lon, lat, depth, unit
Task: Fetch depth from humidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019362 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, type, qc, depth
Sensor: uv_index | fields: unit, reading, type, value
Task: Fetch depth from frost that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019363 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, lon, value, ts
Sensor: snow_depth | fields: ts, qc, type, lat
Task: Fetch level from uv_index that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019364 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: level, value, lat, depth
Sensor: soil_moisture | fields: unit, value, lat, ts
Task: Fetch level from visibility where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019365 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, ts, depth, type
Sensor: frost | fields: depth, lat, ts, qc
Task: Retrieve reading from cloud_cover with reading above the MAX(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019366 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, ts, lon, reading
Sensor: sunlight | fields: ts, value, unit, type
Task: Get lat from visibility where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019367 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, lon, value, qc
Sensor: humidity | fields: lon, type, reading, depth
Task: Get reading from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019368 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, lat, ts, reading
Sensor: wind_speed | fields: level, reading, depth, lon
Task: Get depth from visibility where value exceeds the maximum value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019369 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, qc, value, level
Sensor: visibility | fields: lon, reading, unit, depth
Task: Retrieve value from lightning that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019370 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: ts, qc, level, lat
Sensor: temperature | fields: ts, level, value, reading
Task: Fetch lon from pressure where depth is greater than the total of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019371 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, unit, lon, level
Sensor: pressure | fields: type, qc, ts, value
Task: Get level from turbidity where unit appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019372 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, depth, qc, lon
Sensor: pressure | fields: depth, lon, reading, type
Task: Get value from wind_speed where reading exceeds the count of value from pressure for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019373 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: level, value, type, lat
Sensor: temperature | fields: type, lat, ts, reading
Task: Get value from humidity where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019374 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, depth, ts, lon
Sensor: sunlight | fields: type, lon, lat, level
Task: Retrieve lon from snow_depth that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019375 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, qc, lat, depth
Sensor: lightning | fields: depth, level, lon, lat
Task: Fetch reading from cloud_cover that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019376 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, depth, reading, ts
Sensor: sunlight | fields: level, unit, lat, lon
Task: Fetch value from soil_moisture where reading is greater than the total of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019377 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, lat, reading, unit
Sensor: uv_index | fields: qc, lon, level, lat
Task: Retrieve reading from wind_speed whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019378 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, type, level, depth
Sensor: visibility | fields: type, value, lat, depth
Task: Retrieve reading from pressure whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019379 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, level, reading, ts
Sensor: snow_depth | fields: type, value, level, reading
Task: Get depth from cloud_cover where depth exceeds the count of depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019380 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lat, qc, reading, lon
Sensor: frost | fields: lon, qc, depth, unit
Task: Retrieve lon from rainfall with reading above the SUM(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019381 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, value, lat, reading
Sensor: frost | fields: qc, depth, lon, unit
Task: Get lon from humidity where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019382 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: reading, unit, type, lon
Sensor: humidity | fields: type, ts, depth, value
Task: Get value from dew_point where reading exceeds the total value from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019383 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lat, qc, lon
Sensor: drought_index | fields: type, depth, lat, reading
Task: Fetch reading from soil_moisture that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019384 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, value, lat, level
Sensor: uv_index | fields: lon, value, qc, type
Task: Get value from sunlight where reading exceeds the minimum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019385 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, lat, reading, ts
Sensor: pressure | fields: unit, reading, type, lon
Task: Fetch value from humidity where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019386 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, reading, lat, lon
Sensor: soil_moisture | fields: level, depth, lat, type
Task: Retrieve value from dew_point whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019387 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, reading, qc, ts
Sensor: turbidity | fields: qc, level, unit, lat
Task: Retrieve value from soil_moisture with value above the MAX(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019388 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, lat, type, ts
Sensor: humidity | fields: lon, value, ts, lat
Task: Get lon from frost where reading exceeds the total value from humidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"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_019389 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, lat, level, qc
Sensor: dew_point | fields: value, qc, reading, ts
Task: Retrieve lat from pressure that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019390 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, reading, ts, qc
Sensor: pressure | fields: lat, reading, level, qc
Task: Get reading from wind_speed where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019391 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: ts, value, unit, depth
Sensor: drought_index | fields: unit, depth, type, lat
Task: Retrieve reading from visibility with value above the COUNT(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019392 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, lon, unit, ts
Sensor: turbidity | fields: reading, lon, level, lat
Task: Get value from lightning where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019393 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, unit, level, depth
Sensor: evaporation | fields: type, lon, unit, depth
Task: Retrieve lon from humidity with reading above the COUNT(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019394 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, lon, depth, ts
Sensor: rainfall | fields: reading, value, type, unit
Task: Get level from sunlight where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019395 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lat, depth, lon
Sensor: drought_index | fields: ts, type, level, lon
Task: Fetch level from evaporation where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019396 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lat, qc, type
Sensor: wind_speed | fields: type, qc, unit, value
Task: Retrieve level from turbidity with depth above the COUNT(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019397 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, qc, level, type
Sensor: frost | fields: lat, unit, ts, value
Task: Fetch value from humidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019398 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, value, ts, type
Sensor: wind_speed | fields: ts, value, lon, type
Task: Retrieve reading from lightning with value above the AVG(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.