variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, unit, level, ts
Sensor: air_quality | fields: lon, ts, value, depth
Task: Retrieve value from sunlight that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022200 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: reading, level, ts, depth
Sensor: lightning | fields: lat, reading, type, depth
Task: Get level from frost where value exceeds the total depth from lightning for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022201 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, value, reading, unit
Sensor: visibility | fields: type, unit, depth, qc
Task: Get lon from air_quality where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022202 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: unit, type, lat, depth
Sensor: visibility | fields: qc, unit, lat, value
Task: Retrieve lat from sunlight with value above the MIN(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022203 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: level, unit, value, depth
Sensor: rainfall | fields: unit, level, value, lon
Task: Fetch value from sunlight that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022204 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: qc, depth, unit, ts
Sensor: drought_index | fields: qc, depth, lat, ts
Task: Retrieve lat from air_quality that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022205 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, level, qc, reading
Sensor: rainfall | fields: lon, depth, lat, ts
Task: Fetch level from drought_index where value is greater than the average of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022206 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, lat, unit, type
Sensor: dew_point | fields: level, qc, reading, ts
Task: Fetch lat from turbidity where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022207 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, level, type, lon
Sensor: uv_index | fields: unit, reading, depth, type
Task: Fetch depth from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022208 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, lon, reading
Sensor: rainfall | fields: depth, ts, value, lon
Task: Get reading from evaporation where value exceeds the minimum depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022209 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: value, qc, ts, reading
Sensor: cloud_cover | fields: value, lat, qc, ts
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022210 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, reading, value, lon
Sensor: air_quality | fields: level, lon, qc, reading
Task: Retrieve value from snow_depth that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022211 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, reading, value, unit
Sensor: humidity | fields: depth, level, lon, reading
Task: Fetch depth from turbidity that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022212 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, lon, type, qc
Sensor: uv_index | fields: lat, unit, value, ts
Task: Fetch lat from snow_depth where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022213 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: reading, qc, type, level
Sensor: cloud_cover | fields: unit, lon, value, reading
Task: Fetch reading from temperature where value is greater than the count of of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022214 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, ts, lat, depth
Sensor: sunlight | fields: unit, depth, qc, value
Task: Retrieve lon from drought_index that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022215 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, unit, reading, ts
Sensor: uv_index | fields: reading, qc, level, lat
Task: Fetch level from dew_point where value is greater than the total of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022216 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, lat, qc
Sensor: air_quality | fields: value, type, qc, reading
Task: Get depth from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022217 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, unit, type, ts
Sensor: drought_index | fields: lon, value, reading, ts
Task: Fetch level from sunlight where value is greater than the minimum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022218 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, value, type, unit
Sensor: lightning | fields: unit, lon, level, qc
Task: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022219 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, reading, lat, unit
Sensor: soil_moisture | fields: lon, qc, unit, reading
Task: Fetch reading from air_quality that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022220 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, level, unit, qc
Sensor: temperature | fields: unit, ts, depth, level
Task: Retrieve depth from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022221 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, reading, value, type
Sensor: lightning | fields: reading, qc, lon, unit
Task: Fetch value from wind_speed where reading is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022222 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lon, ts, value, level
Sensor: frost | fields: ts, level, lon, lat
Task: Retrieve depth from rainfall with reading above the SUM(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022223 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lat, unit, lon
Sensor: uv_index | fields: reading, level, depth, type
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022224 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, qc, unit, type
Sensor: turbidity | fields: ts, reading, lon, unit
Task: Fetch depth from lightning that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022225 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: ts, depth, value, qc
Sensor: pressure | fields: lat, type, depth, unit
Task: Get depth from air_quality where depth exceeds the minimum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022226 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, value, type, qc
Sensor: air_quality | fields: ts, reading, level, unit
Task: Fetch value from dew_point where value is greater than the count of of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022227 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, type, ts, value
Sensor: cloud_cover | fields: depth, lon, level, lat
Task: Get lon from lightning where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022228 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, lon, depth, level
Sensor: turbidity | fields: reading, type, lat, lon
Task: Get reading from visibility where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022229 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, lat, depth, qc
Sensor: lightning | fields: qc, type, depth, reading
Task: Fetch depth from visibility where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022230 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, reading, type, lat
Sensor: lightning | fields: reading, depth, level, value
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022231 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, depth, value, type
Sensor: soil_moisture | fields: reading, level, lat, type
Task: Get level from wind_speed where reading exceeds the average depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022232 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: depth, type, qc, value
Sensor: pressure | fields: qc, reading, lat, value
Task: Retrieve reading from humidity whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022233 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, lon, level, lat
Sensor: cloud_cover | fields: lon, value, unit, lat
Task: Fetch lat from snow_depth where value is greater than the minimum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022234 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, depth, lon, ts
Sensor: lightning | fields: type, ts, level, lon
Task: Fetch depth from visibility where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022235 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: value, qc, unit, lat
Sensor: lightning | fields: level, value, reading, qc
Task: Fetch value from air_quality that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022236 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, unit, reading, depth
Sensor: uv_index | fields: ts, level, value, lat
Task: Get lat from turbidity where reading exceeds the minimum value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022237 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, type, lon, lat
Sensor: soil_moisture | fields: type, unit, ts, level
Task: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022238 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, unit, qc
Sensor: lightning | fields: lon, level, type, unit
Task: Retrieve value from uv_index with reading above the MIN(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022239 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, unit, reading, qc
Sensor: visibility | fields: reading, value, lon, type
Task: Retrieve lon from frost that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022240 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, qc, reading, unit
Sensor: sunlight | fields: reading, lat, depth, value
Task: Retrieve reading from lightning with reading above the MAX(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022241 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: unit, qc, type, reading
Sensor: visibility | fields: qc, value, lon, unit
Task: Get lat from temperature where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022242 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, type, reading, unit
Sensor: sunlight | fields: lon, value, qc, unit
Task: Retrieve lat from wind_speed whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022243 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, depth, value, type
Sensor: dew_point | fields: depth, lat, value, ts
Task: Fetch lon from soil_moisture where depth is greater than the count of of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"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_022244 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, lon, qc, type
Sensor: pressure | fields: level, depth, unit, reading
Task: Retrieve lon from turbidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022245 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: depth, reading, type, qc
Sensor: dew_point | fields: type, reading, level, lon
Task: Retrieve value from pressure that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022246 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lon, unit, lat
Sensor: rainfall | fields: qc, type, ts, value
Task: Fetch lat from evaporation where unit exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022247 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, depth, level, type
Sensor: temperature | fields: unit, reading, lon, type
Task: Get level from visibility where value exceeds the maximum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022248 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, reading, ts, lon
Sensor: soil_moisture | fields: lon, qc, value, depth
Task: Retrieve lat from sunlight whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022249 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, lon, lat, value
Sensor: rainfall | fields: reading, unit, ts, level
Task: Get value from temperature where depth appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022250 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: depth, qc, value, lon
Sensor: snow_depth | fields: lon, unit, value, reading
Task: Retrieve value from evaporation with reading above the AVG(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022251 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: level, type, ts, unit
Sensor: evaporation | fields: lon, depth, level, ts
Task: Fetch value from wind_speed that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022252 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: depth, value, unit, reading
Sensor: cloud_cover | fields: value, unit, reading, type
Task: Retrieve level from turbidity with reading above the AVG(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022253 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: depth, lon, type, value
Sensor: pressure | fields: lon, depth, qc, ts
Task: Fetch depth from evaporation where depth is greater than the average of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022254 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, ts, unit, lon
Sensor: wind_speed | fields: ts, lon, qc, depth
Task: Fetch value from snow_depth that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022255 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, lon, depth, ts
Sensor: evaporation | fields: level, ts, qc, depth
Task: Fetch lat from turbidity where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022256 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lat, ts, depth
Sensor: wind_speed | fields: depth, lat, level, lon
Task: Fetch lat from dew_point that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022257 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: depth, value, qc, level
Sensor: visibility | fields: unit, reading, type, depth
Task: Retrieve depth from frost that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022258 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: type, level, reading, qc
Sensor: lightning | fields: ts, unit, reading, lon
Task: Retrieve lat from wind_speed whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022259 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, level, reading, lon
Sensor: drought_index | fields: value, ts, lon, reading
Task: Get lat from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022260 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, qc, depth, lat
Sensor: rainfall | fields: qc, lon, ts, value
Task: Retrieve lon from snow_depth that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022261 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, unit, lat, lon
Sensor: drought_index | fields: lon, qc, level, lat
Task: Get reading from sunlight where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022262 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, value, ts, unit
Sensor: wind_speed | fields: lon, ts, unit, level
Task: Fetch value from turbidity where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022263 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, value, qc, ts
Sensor: frost | fields: type, depth, reading, lon
Task: Retrieve depth from sunlight that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022264 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, level, depth, type
Sensor: evaporation | fields: depth, level, unit, value
Task: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022265 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, lon, depth, lat
Sensor: evaporation | fields: unit, type, value, ts
Task: Get value from soil_moisture where reading exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022266 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, reading, lat, depth
Sensor: evaporation | fields: level, reading, qc, ts
Task: Retrieve value from temperature that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022267 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, reading, unit, level
Sensor: cloud_cover | fields: reading, depth, lat, unit
Task: Fetch lon from frost where unit exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022268 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, type, reading, level
Sensor: sunlight | fields: level, ts, unit, reading
Task: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022269 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: unit, lat, qc, depth
Sensor: wind_speed | fields: qc, level, lat, unit
Task: Get lon from temperature where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022270 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lon, unit, reading, ts
Sensor: air_quality | fields: lon, lat, reading, unit
Task: Fetch depth from frost where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022271 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, depth, type, qc
Sensor: humidity | fields: type, value, depth, qc
Task: Retrieve value from wind_speed that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022272 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, qc, type, lon
Sensor: lightning | fields: depth, qc, lon, type
Task: Retrieve reading from frost with value above the AVG(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022273 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, ts, lon, type
Sensor: sunlight | fields: qc, lat, value, ts
Task: Get lat from soil_moisture where reading exceeds the average value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022274 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, level, lon, depth
Sensor: cloud_cover | fields: type, value, ts, reading
Task: Retrieve reading from temperature with value above the MAX(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022275 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, lat, unit, type
Sensor: temperature | fields: reading, level, type, ts
Task: Fetch lon from rainfall that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022276 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, value, lat, ts
Sensor: rainfall | fields: unit, value, depth, reading
Task: Fetch lat from dew_point where depth is greater than the minimum of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022277 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, qc, lon, depth
Sensor: air_quality | fields: lat, type, depth, reading
Task: Get value from temperature where depth exceeds the minimum value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022278 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, ts, lat, unit
Sensor: humidity | fields: level, type, lat, reading
Task: Get level from cloud_cover where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022279 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: depth, level, qc, reading
Sensor: cloud_cover | fields: qc, type, ts, value
Task: Fetch value from uv_index where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022280 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, value, unit, lat
Sensor: lightning | fields: value, depth, unit, lon
Task: Retrieve lat from air_quality whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022281 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, depth, reading, lon
Sensor: cloud_cover | fields: type, lat, lon, level
Task: Retrieve value from dew_point whose type is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022282 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, qc, unit, depth
Sensor: temperature | fields: type, qc, depth, ts
Task: Retrieve reading from cloud_cover that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022283 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, type, depth, reading
Sensor: rainfall | fields: qc, lon, lat, reading
Task: Get level from wind_speed where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022284 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lon, unit, lat
Sensor: air_quality | fields: reading, depth, type, value
Task: Retrieve value from evaporation that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022285 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, lat, depth, lon
Sensor: frost | fields: ts, reading, unit, value
Task: Get lon from rainfall where reading exceeds the maximum value from frost for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022286 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, qc, level, reading
Sensor: frost | fields: lon, value, qc, ts
Task: Get value from cloud_cover where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022287 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, ts, lon, lat
Sensor: uv_index | fields: lat, depth, type, lon
Task: Get value from turbidity where depth appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022288 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lon, lat, reading, qc
Sensor: drought_index | fields: reading, value, depth, lat
Task: Retrieve lat from visibility whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022289 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, type, lat, reading
Sensor: rainfall | fields: level, depth, lon, type
Task: Get lon from visibility where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022290 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, level, type, ts
Sensor: pressure | fields: depth, qc, lat, unit
Task: Retrieve reading from wind_speed whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022291 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, depth, reading, level
Sensor: rainfall | fields: ts, unit, level, type
Task: Retrieve value from snow_depth that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022292 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, reading, ts, lat
Sensor: rainfall | fields: qc, type, lat, unit
Task: Fetch lon from dew_point where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022293 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, lon, value, depth
Sensor: uv_index | fields: reading, level, qc, type
Task: Fetch level from pressure where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022294 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, lat, ts, unit
Sensor: uv_index | fields: qc, level, lat, reading
Task: Retrieve level from soil_moisture whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022295 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, ts, unit, lat
Sensor: uv_index | fields: unit, ts, level, value
Task: Retrieve level from visibility that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022296 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, unit, lon, ts
Sensor: soil_moisture | fields: level, unit, type, value
Task: Get depth from drought_index where reading exceeds the minimum reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022297 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lat, type, reading, lon
Sensor: snow_depth | fields: level, unit, depth, value
Task: Get reading from sunlight where value exceeds the total reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022298 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, lon, ts, unit
Sensor: turbidity | fields: depth, reading, lat, value
Task: Get level from visibility where depth exceeds the total value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.