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: evaporation | code: stn | fields: unit, lat, qc, ts
Sensor: drought_index | fields: lat, reading, lon, qc
Task: Get lon from evaporation where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081100 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, unit, ts, level
Sensor: pressure | fields: reading, depth, lat, level
Task: Get lon from soil_moisture where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081101 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lat, depth, qc, level
Sensor: pressure | fields: unit, value, lat, lon
Task: Retrieve lon from dew_point whose type is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081102 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lat, depth, lon
Sensor: cloud_cover | fields: type, depth, level, reading
Task: Get level from dew_point where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081103 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, ts, type, depth
Sensor: rainfall | fields: lon, depth, level, lat
Task: Get value from uv_index where reading exceeds the minimum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081104 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: unit, depth, qc, ts
Sensor: lightning | fields: type, lon, lat, value
Task: Fetch depth from humidity where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081105 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: value, type, lat, reading
Sensor: drought_index | fields: level, ts, depth, value
Task: Get depth from evaporation where reading exceeds the minimum value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081106 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: level, depth, type, lat
Sensor: sunlight | fields: ts, depth, reading, type
Task: Fetch depth from uv_index where reading is greater than the average of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081107 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, level, lon, qc
Sensor: uv_index | fields: value, level, ts, depth
Task: Retrieve value from frost with reading above the MIN(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081108 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, level, unit
Sensor: cloud_cover | fields: ts, level, lon, depth
Task: Fetch reading from sunlight where depth is greater than the minimum of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081109 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: qc, reading, level, lon
Sensor: lightning | fields: lat, level, lon, unit
Task: Get lon from frost where depth exceeds the maximum reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081110 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: unit, qc, level, value
Sensor: wind_speed | fields: qc, unit, type, lat
Task: Fetch reading from uv_index that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081111 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, qc, reading, unit
Sensor: humidity | fields: lat, type, level, qc
Task: Retrieve depth from drought_index with depth above the COUNT(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081112 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, qc, type, unit
Sensor: humidity | fields: depth, unit, lon, ts
Task: Retrieve value from dew_point with reading above the COUNT(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081113 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, depth, lat, level
Sensor: visibility | fields: lon, lat, reading, qc
Task: Get lat from frost where depth exceeds the total depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081114 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lon, depth, ts
Sensor: turbidity | fields: lat, lon, reading, depth
Task: Retrieve level from cloud_cover whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081115 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, unit, lat, ts
Sensor: rainfall | fields: unit, type, qc, lat
Task: Get reading from snow_depth where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081116 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, unit, lon, depth
Sensor: dew_point | fields: reading, depth, level, type
Task: Fetch lat from snow_depth where depth is greater than the count of of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081117 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, value, reading, qc
Sensor: turbidity | fields: level, ts, unit, depth
Task: Fetch lat from air_quality where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081118 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, value, unit, depth
Sensor: cloud_cover | fields: reading, unit, qc, lat
Task: Retrieve value from turbidity with value above the COUNT(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081119 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, qc, lon, unit
Sensor: drought_index | fields: level, reading, lon, unit
Task: Retrieve reading from frost that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081120 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, lon, ts, level
Sensor: humidity | fields: lon, reading, ts, depth
Task: Retrieve lat from soil_moisture with value above the SUM(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081121 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, depth, lon, reading
Sensor: soil_moisture | fields: lat, type, lon, qc
Task: Fetch depth from uv_index that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081122 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, qc, type, depth
Sensor: visibility | fields: reading, lat, level, ts
Task: Retrieve depth from cloud_cover whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081123 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, reading, value
Sensor: frost | fields: lat, level, reading, ts
Task: Retrieve value from soil_moisture whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081124 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, lat, ts, qc
Sensor: air_quality | fields: type, unit, qc, lat
Task: Retrieve depth from frost that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081125 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, ts, qc, depth
Sensor: cloud_cover | fields: depth, unit, type, reading
Task: Get value from lightning where depth exceeds the maximum reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081126 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, value, unit, lon
Sensor: sunlight | fields: ts, reading, unit, qc
Task: Fetch reading from air_quality that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081127 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, type, qc, unit
Sensor: turbidity | fields: lon, level, depth, value
Task: Fetch depth from evaporation that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081128 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, qc, unit, reading
Sensor: temperature | fields: reading, type, depth, value
Task: Retrieve lat from dew_point with depth above the MAX(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081129 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, type, value, level
Sensor: pressure | fields: reading, qc, lat, level
Task: Get lat from humidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081130 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lon, lat, unit, reading
Sensor: soil_moisture | fields: ts, value, level, reading
Task: Get lon from temperature where depth exceeds the maximum reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081131 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, lat, depth, lon
Sensor: air_quality | fields: value, lat, reading, unit
Task: Retrieve value from soil_moisture with reading above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081132 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, type, depth, qc
Sensor: dew_point | fields: unit, ts, lat, value
Task: Get level from rainfall where depth exceeds the total reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081133 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, lat, depth, lon
Sensor: soil_moisture | fields: reading, depth, level, unit
Task: Retrieve lon from wind_speed whose qc is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081134 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, qc, type, ts
Sensor: lightning | fields: type, depth, level, unit
Task: Retrieve level from cloud_cover whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081135 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lon, unit, ts
Sensor: frost | fields: ts, type, reading, lat
Task: Get depth from evaporation where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081136 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, unit, type, level
Sensor: wind_speed | fields: qc, lon, lat, level
Task: Get lat from air_quality where depth appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081137 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, unit, depth, lat
Sensor: lightning | fields: lat, level, unit, reading
Task: Retrieve reading from drought_index whose depth is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081138 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, value, lat, lon
Sensor: evaporation | fields: ts, lat, value, lon
Task: Retrieve reading from sunlight whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081139 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: qc, ts, reading, type
Sensor: lightning | fields: depth, ts, level, unit
Task: Get reading from humidity where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081140 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, level, reading, lat
Sensor: sunlight | fields: lon, unit, ts, type
Task: Fetch depth from air_quality that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081141 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, level, lon, qc
Sensor: visibility | fields: reading, value, lat, level
Task: Retrieve level from temperature whose ts is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081142 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, qc, lon, lat
Sensor: drought_index | fields: ts, value, type, qc
Task: Retrieve value from cloud_cover whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081143 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, level, depth, unit
Sensor: visibility | fields: lon, unit, ts, qc
Task: Get lat from snow_depth where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081144 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, lat, level, depth
Sensor: uv_index | fields: unit, lon, reading, level
Task: Get lon from cloud_cover where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081145 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, reading, depth
Sensor: lightning | fields: unit, value, lon, lat
Task: Get value from evaporation where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"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_081146 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, lat, value, ts
Sensor: snow_depth | fields: ts, type, value, lon
Task: Fetch lat from visibility where depth is greater than the count of of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081147 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, lat, level, type
Sensor: lightning | fields: lon, lat, level, qc
Task: Retrieve level from uv_index with depth above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081148 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, level, qc, ts
Sensor: frost | fields: unit, lon, qc, ts
Task: Retrieve level from air_quality with depth above the COUNT(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081149 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, type, qc, lon
Sensor: rainfall | fields: type, lon, level, reading
Task: Get level from frost where depth exceeds the average value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081150 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, type, lon, qc
Sensor: pressure | fields: reading, ts, value, type
Task: Fetch lon from humidity where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081151 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, type, reading, ts
Sensor: lightning | fields: value, level, lon, qc
Task: Get lon from frost where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081152 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, lat, value, reading
Sensor: soil_moisture | fields: lon, type, unit, depth
Task: Retrieve depth from wind_speed whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081153 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, value, level, qc
Sensor: sunlight | fields: level, reading, unit, qc
Task: Retrieve depth from cloud_cover with value above the MAX(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081154 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, unit, value, reading
Sensor: temperature | fields: lat, depth, level, ts
Task: Fetch depth from wind_speed where reading is greater than the count of of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081155 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, type, ts, value
Sensor: pressure | fields: unit, lat, lon, reading
Task: Retrieve lon from humidity whose ts is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081156 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, value, unit, level
Sensor: soil_moisture | fields: lon, qc, lat, type
Task: Fetch lon from lightning where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081157 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, lon, lat, type
Sensor: temperature | fields: ts, qc, unit, lon
Task: Retrieve lat from snow_depth with reading above the COUNT(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081158 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: unit, lat, reading, ts
Sensor: lightning | fields: lon, unit, level, ts
Task: Retrieve reading from rainfall with reading above the MIN(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081159 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, type, qc, value
Sensor: air_quality | fields: depth, ts, lon, unit
Task: Get value from turbidity where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081160 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, ts, lon
Sensor: rainfall | fields: level, lat, ts, value
Task: Retrieve level from cloud_cover with reading above the MAX(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081161 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, value, reading, level
Sensor: snow_depth | fields: type, value, depth, level
Task: Get lon from frost where depth exceeds the count of value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"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_081162 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, level, reading, type
Sensor: frost | fields: lon, lat, level, reading
Task: Retrieve depth from wind_speed that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081163 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, level, depth, qc
Sensor: dew_point | fields: unit, type, value, lon
Task: Fetch value from sunlight that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081164 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, lon, reading, ts
Sensor: turbidity | fields: type, depth, unit, qc
Task: Get depth from air_quality where depth exceeds the total depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081165 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, type, lat, unit
Sensor: dew_point | fields: lat, lon, qc, depth
Task: Get lon from temperature where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081166 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, depth, qc, unit
Sensor: snow_depth | fields: value, lat, unit, lon
Task: Get level from rainfall where value exceeds the average depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081167 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, ts, depth, lon
Sensor: uv_index | fields: type, lat, ts, qc
Task: Fetch lon from snow_depth where ts exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081168 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, qc, level, value
Sensor: lightning | fields: unit, type, reading, value
Task: Retrieve value from frost with reading above the AVG(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081169 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, lon, qc, value
Sensor: evaporation | fields: ts, value, lat, level
Task: Fetch lat from pressure where value is greater than the average of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081170 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, type, unit, qc
Sensor: humidity | fields: type, lon, reading, value
Task: Retrieve level from evaporation that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081171 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: depth, lon, value, type
Sensor: visibility | fields: lat, ts, type, qc
Task: Fetch reading from sunlight where value is greater than the total of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081172 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, unit, lat, qc
Sensor: snow_depth | fields: lat, unit, lon, type
Task: Get depth from temperature where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081173 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, depth, unit
Sensor: temperature | fields: reading, depth, lon, type
Task: Get value from visibility where unit appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081174 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: value, type, qc, lon
Sensor: evaporation | fields: qc, value, unit, lon
Task: Fetch lat from wind_speed where qc exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081175 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, type, lon, level
Sensor: turbidity | fields: ts, level, depth, lon
Task: Fetch lon from rainfall where depth is greater than the minimum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081176 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, value, ts, depth
Sensor: frost | fields: value, lon, qc, depth
Task: Fetch lon from uv_index that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081177 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, lon, level, unit
Sensor: pressure | fields: lon, depth, reading, qc
Task: Get lon from evaporation where depth exceeds the count of value from pressure for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081178 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, unit, lon, level
Sensor: humidity | fields: qc, ts, unit, type
Task: Fetch depth from frost where ts exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081179 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, ts, lat, lon
Sensor: visibility | fields: lat, lon, type, reading
Task: Get reading from pressure where value exceeds the total value from visibility for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081180 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, type, value, lat
Sensor: pressure | fields: depth, lon, unit, lat
Task: Get depth from snow_depth where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081181 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, unit, ts, lat
Sensor: turbidity | fields: lon, qc, value, unit
Task: Get depth from cloud_cover where reading exceeds the minimum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081182 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, value, ts, unit
Sensor: rainfall | fields: lon, qc, value, ts
Task: Retrieve value from cloud_cover with reading above the COUNT(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081183 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, value, depth
Sensor: lightning | fields: depth, type, level, unit
Task: Retrieve level from snow_depth that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081184 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, depth, value, type
Sensor: rainfall | fields: ts, lat, unit, level
Task: Get value from air_quality where reading exceeds the count of depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081185 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, lat, qc, level
Sensor: lightning | fields: value, depth, lat, type
Task: Get lon from soil_moisture where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081186 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, type, depth, lon
Sensor: turbidity | fields: value, lon, qc, type
Task: Fetch level from pressure where reading is greater than the average of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081187 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: level, type, unit, qc
Sensor: humidity | fields: qc, ts, level, type
Task: Fetch lat from snow_depth where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081188 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, reading, depth
Sensor: dew_point | fields: lat, reading, qc, ts
Task: Get level from uv_index where depth exceeds the maximum value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081189 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, lat, qc, value
Sensor: evaporation | fields: reading, value, unit, type
Task: Get depth from visibility where depth exceeds the average reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081190 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, type, level, reading
Sensor: drought_index | fields: reading, unit, type, lat
Task: Get value from turbidity where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081191 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, level, unit, lon
Sensor: visibility | fields: unit, ts, lon, type
Task: Retrieve depth from uv_index with reading above the SUM(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081192 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lon, value, type
Sensor: drought_index | fields: reading, lat, type, unit
Task: Get reading from wind_speed where reading exceeds the average depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"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_081193 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, lat, unit, depth
Sensor: dew_point | fields: type, lon, value, ts
Task: Fetch value from temperature where depth is greater than the minimum of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081194 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lon, value, depth, ts
Sensor: evaporation | fields: reading, ts, depth, unit
Task: Fetch lon from sunlight where depth is greater than the maximum of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081195 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, qc, type, unit
Sensor: uv_index | fields: type, unit, qc, reading
Task: Get level from dew_point where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081196 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, lon, unit, lat
Sensor: visibility | fields: level, qc, unit, value
Task: Retrieve lon from temperature with depth above the SUM(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081197 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, qc, value, reading
Sensor: turbidity | fields: reading, depth, lon, qc
Task: Fetch reading from dew_point that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081198 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, qc, level, reading
Sensor: humidity | fields: qc, value, lat, ts
Task: Fetch lon from uv_index where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.