variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, type, level, value
Sensor: turbidity | fields: value, lon, ts, unit
Task: Fetch level from rainfall where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059200 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, lon, depth, value
Sensor: turbidity | fields: lat, level, lon, value
Task: Retrieve reading from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059201 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, lat, unit, reading
Sensor: rainfall | fields: qc, lon, depth, level
Task: Get reading from cloud_cover where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059202 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, reading, level, lat
Sensor: drought_index | fields: type, qc, value, reading
Task: Fetch lon from snow_depth that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059203 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: depth, reading, qc, ts
Sensor: turbidity | fields: depth, lon, lat, level
Task: Fetch lat from temperature where reading is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059204 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, value, lat, reading
Sensor: drought_index | fields: depth, lat, level, value
Task: Retrieve reading from evaporation whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059205 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, unit, level
Sensor: wind_speed | fields: level, value, lat, ts
Task: Retrieve lon from evaporation with value above the COUNT(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059206 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, ts, depth, lon
Sensor: uv_index | fields: value, ts, lat, unit
Task: Fetch value from temperature that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059207 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: level, ts, unit, reading
Sensor: visibility | fields: depth, reading, lon, unit
Task: Fetch value from evaporation where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059208 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, lat, reading, qc
Sensor: turbidity | fields: value, depth, ts, unit
Task: Retrieve lon from wind_speed whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059209 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, reading, unit, lon
Sensor: sunlight | fields: level, unit, depth, ts
Task: Get level from wind_speed where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059210 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, level, ts, value
Sensor: pressure | fields: ts, qc, lat, reading
Task: Fetch lat from drought_index where depth is greater than the count of of value in pressure for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059211 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, depth, level, ts
Sensor: wind_speed | fields: value, reading, qc, lat
Task: Fetch lat from snow_depth that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059212 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lon, type, ts, lat
Sensor: cloud_cover | fields: depth, lon, type, level
Task: Fetch reading from rainfall where depth is greater than the count of of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059213 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lon, type, level, depth
Sensor: evaporation | fields: value, unit, qc, reading
Task: Retrieve depth from air_quality that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059214 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, unit, reading, qc
Sensor: cloud_cover | fields: lon, depth, qc, level
Task: Retrieve level from lightning with depth above the MAX(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059215 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, depth, level, unit
Sensor: air_quality | fields: unit, lon, level, value
Task: Fetch value from soil_moisture where reading is greater than the maximum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059216 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: type, lat, lon, value
Sensor: dew_point | fields: level, type, unit, value
Task: Fetch value from turbidity where depth is greater than the total of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059217 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, type, ts, reading
Sensor: visibility | fields: type, level, qc, depth
Task: Retrieve lat from air_quality with reading above the MAX(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059218 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, depth, value, ts
Sensor: air_quality | fields: lat, ts, depth, value
Task: Retrieve depth from soil_moisture whose qc is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059219 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, ts, reading, type
Sensor: drought_index | fields: unit, lat, qc, ts
Task: Retrieve reading from cloud_cover whose type is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059220 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: unit, value, ts, reading
Sensor: frost | fields: reading, depth, ts, lon
Task: Fetch value from turbidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059221 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, reading, level, qc
Sensor: visibility | fields: level, lat, ts, qc
Task: Get reading from pressure where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059222 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lon, unit, type, ts
Sensor: evaporation | fields: value, ts, depth, lon
Task: Retrieve level from humidity with reading above the SUM(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059223 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, unit, reading
Sensor: sunlight | fields: depth, reading, value, lon
Task: Retrieve lon from air_quality whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059224 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, ts, lon, value
Sensor: cloud_cover | fields: qc, level, unit, value
Task: Fetch reading from turbidity where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059225 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, ts, unit, lon
Sensor: dew_point | fields: lat, depth, type, ts
Task: Retrieve lat from visibility that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"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_059226 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, lat, value
Sensor: snow_depth | fields: qc, level, lon, ts
Task: Fetch level from evaporation where value is greater than the average of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059227 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, lon, type, level
Sensor: lightning | fields: type, unit, lon, reading
Task: Get depth from turbidity where reading exceeds the maximum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059228 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: qc, depth, lat, lon
Sensor: air_quality | fields: reading, depth, lat, type
Task: Retrieve value from dew_point with depth above the MIN(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059229 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: reading, ts, unit, depth
Sensor: visibility | fields: reading, depth, type, value
Task: Fetch lon from uv_index where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059230 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, qc, level, lon
Sensor: temperature | fields: lat, ts, lon, unit
Task: Retrieve level from lightning whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059231 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, qc, lat, ts
Sensor: soil_moisture | fields: unit, level, depth, qc
Task: Get level from uv_index where reading exceeds the average reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059232 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lon, qc, reading, level
Sensor: temperature | fields: unit, lon, type, reading
Task: Retrieve reading from rainfall whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059233 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, lon, reading, unit
Sensor: wind_speed | fields: type, depth, qc, value
Task: Retrieve reading from frost whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059234 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, reading, qc, lat
Sensor: humidity | fields: depth, level, unit, value
Task: Get level from pressure where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059235 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, level, lat, depth
Sensor: air_quality | fields: type, reading, lat, value
Task: Get lon from soil_moisture where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059236 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, level, lon, reading
Sensor: dew_point | fields: reading, value, lat, depth
Task: Fetch level from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059237 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, qc, reading, lon
Sensor: uv_index | fields: qc, depth, reading, lon
Task: Retrieve lon from turbidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059238 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, type, value, depth
Sensor: frost | fields: type, ts, lon, reading
Task: Get depth from uv_index where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059239 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, unit, lat, type
Sensor: lightning | fields: lat, unit, qc, level
Task: Get value from cloud_cover where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059240 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, lat, ts, type
Sensor: dew_point | fields: value, lat, ts, unit
Task: Get lat from evaporation where value exceeds the minimum reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059241 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, qc, unit, lon
Sensor: wind_speed | fields: lat, type, ts, unit
Task: Fetch depth from uv_index that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059242 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, qc, lon, type
Sensor: evaporation | fields: type, level, qc, depth
Task: Get lon from air_quality where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059243 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lon, value, level, reading
Sensor: temperature | fields: reading, lon, ts, value
Task: Fetch lon from lightning where depth is greater than the minimum of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059244 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, reading, type, lat
Sensor: turbidity | fields: ts, unit, value, depth
Task: Get level from drought_index where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059245 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: type, level, depth, ts
Sensor: uv_index | fields: qc, lat, unit, value
Task: Fetch lat from turbidity where depth is greater than the minimum of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059246 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, reading, lon, type
Sensor: wind_speed | fields: ts, qc, lon, reading
Task: Fetch lon from dew_point where depth is greater than the average of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059247 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, level, reading, lon
Sensor: frost | fields: depth, value, ts, lon
Task: Get lon from snow_depth where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059248 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, qc, lat, lon
Sensor: evaporation | fields: unit, type, qc, value
Task: Fetch depth from lightning that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059249 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, depth, ts, unit
Sensor: cloud_cover | fields: qc, ts, unit, value
Task: Fetch reading from temperature where reading is greater than the minimum of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059250 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, reading, ts, qc
Sensor: snow_depth | fields: level, lon, ts, unit
Task: Retrieve reading from evaporation that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059251 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: depth, type, lat, unit
Sensor: dew_point | fields: unit, lat, reading, qc
Task: Get lat from visibility where value exceeds the total depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059252 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, depth, qc, reading
Sensor: snow_depth | fields: level, lon, depth, lat
Task: Get lat from wind_speed where value exceeds the minimum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059253 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: depth, value, ts, level
Sensor: visibility | fields: lat, ts, level, unit
Task: Get value from turbidity where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059254 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: reading, lon, level, lat
Sensor: wind_speed | fields: reading, lon, ts, qc
Task: Fetch reading from drought_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059255 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: reading, type, level, lon
Sensor: frost | fields: value, level, unit, depth
Task: Fetch reading from pressure where reading is greater than the count of of depth in frost for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059256 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, level, qc, lat
Sensor: pressure | fields: lon, qc, ts, unit
Task: Retrieve reading from air_quality with reading above the MAX(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059257 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, lat, unit, value
Sensor: soil_moisture | fields: qc, reading, ts, lon
Task: Get level from evaporation where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059258 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lon, unit, reading, ts
Sensor: frost | fields: type, reading, qc, depth
Task: Retrieve depth from air_quality with reading above the MIN(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"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_059259 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, lon, type, level
Sensor: rainfall | fields: level, value, ts, lat
Task: Retrieve depth from pressure with depth above the SUM(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"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_059260 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, reading, lat, qc
Sensor: snow_depth | fields: type, reading, depth, value
Task: Fetch value from temperature where reading is greater than the average of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059261 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, level, unit, value
Sensor: cloud_cover | fields: lon, level, lat, qc
Task: Fetch level from wind_speed that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059262 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, level, unit, reading
Sensor: soil_moisture | fields: qc, unit, level, value
Task: Fetch lat from sunlight where unit exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059263 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: level, value, ts, unit
Sensor: dew_point | fields: unit, depth, lon, ts
Task: Retrieve lon from temperature whose unit is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059264 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, value, unit, type
Sensor: humidity | fields: ts, level, unit, qc
Task: Retrieve reading from sunlight that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059265 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, value, reading
Sensor: temperature | fields: level, reading, value, lat
Task: Retrieve depth from drought_index whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059266 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, depth, value, lat
Sensor: soil_moisture | fields: value, ts, type, depth
Task: Retrieve reading from humidity that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059267 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, value, type, level
Sensor: cloud_cover | fields: depth, value, level, lon
Task: Fetch lon from uv_index where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059268 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, lon, type, depth
Sensor: humidity | fields: value, reading, ts, lon
Task: Retrieve reading from dew_point that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059269 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, level, value, depth
Sensor: visibility | fields: unit, qc, reading, lat
Task: Get lat from uv_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059270 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, type, ts, unit
Sensor: soil_moisture | fields: depth, unit, level, value
Task: Fetch reading from lightning that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059271 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, value, level, qc
Sensor: dew_point | fields: qc, depth, type, lon
Task: Fetch reading from soil_moisture where value is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059272 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, ts, lat, unit
Sensor: snow_depth | fields: qc, lon, ts, level
Task: Fetch lon from visibility that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059273 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, reading, ts, depth
Sensor: sunlight | fields: reading, unit, depth, lat
Task: Retrieve lat from cloud_cover with depth above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059274 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, reading, value, depth
Sensor: humidity | fields: level, ts, unit, lat
Task: Fetch reading from uv_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059275 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, type, depth, lat
Sensor: evaporation | fields: lat, type, unit, reading
Task: Get depth from soil_moisture where value exceeds the count of depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059276 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, qc, lat, ts
Sensor: cloud_cover | fields: unit, depth, lon, ts
Task: Fetch lat from humidity that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059277 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, ts, value, unit
Sensor: pressure | fields: depth, level, type, lon
Task: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059278 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, type, reading, lat
Sensor: humidity | fields: reading, level, value, unit
Task: Get value from visibility where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059279 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, level, type, unit
Sensor: dew_point | fields: qc, type, lat, reading
Task: Fetch depth from cloud_cover where depth exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059280 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, depth, type, qc
Sensor: temperature | fields: reading, unit, lon, depth
Task: Fetch level from rainfall that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059281 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, depth, level, lon
Sensor: pressure | fields: depth, reading, lat, value
Task: Fetch reading from evaporation where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059282 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, depth, value, unit
Sensor: humidity | fields: value, lon, type, qc
Task: Get lat from sunlight where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059283 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, reading, ts, level
Sensor: frost | fields: lat, lon, type, value
Task: Get value from visibility where reading exceeds the total value from frost for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059284 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: unit, ts, depth, lon
Sensor: lightning | fields: lon, unit, qc, reading
Task: Retrieve value from air_quality with reading above the MIN(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059285 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, reading, depth, value
Sensor: air_quality | fields: lon, ts, lat, unit
Task: Retrieve level from cloud_cover whose type is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059286 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, level, lon
Sensor: air_quality | fields: reading, type, qc, lon
Task: Get reading from dew_point where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059287 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, lat, qc, type
Sensor: humidity | fields: lon, reading, lat, type
Task: Get depth from pressure where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059288 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: ts, lat, unit, lon
Sensor: turbidity | fields: lon, reading, value, type
Task: Get depth from pressure where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059289 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: ts, depth, unit, reading
Sensor: air_quality | fields: depth, level, type, value
Task: Fetch reading from humidity where value is greater than the average of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059290 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, lon, type, lat
Sensor: wind_speed | fields: qc, lon, reading, depth
Task: Get lat from air_quality where depth exceeds the total value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
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": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059291 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: reading, level, qc, lon
Sensor: evaporation | fields: type, value, qc, level
Task: Retrieve lon from turbidity with reading above the MAX(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059292 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, value, lon, type
Sensor: dew_point | fields: reading, ts, lon, type
Task: Retrieve lon from frost whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059293 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: type, value, reading, lat
Sensor: air_quality | fields: value, ts, type, unit
Task: Get depth from temperature where value exceeds the total reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059294 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, unit, lon, qc
Sensor: lightning | fields: qc, value, level, lat
Task: Retrieve reading from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059295 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, unit, ts
Sensor: lightning | fields: lon, qc, level, reading
Task: Retrieve value from humidity that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059296 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: ts, value, level, unit
Sensor: cloud_cover | fields: value, qc, unit, type
Task: Get reading from temperature where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059297 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, depth, level
Sensor: visibility | fields: reading, lat, level, depth
Task: Retrieve reading from uv_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059298 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, level, qc, depth
Sensor: cloud_cover | fields: depth, value, level, unit
Task: Get value from drought_index where ts appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.