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: humidity | code: stn | fields: lon, lat, depth, ts
Sensor: uv_index | fields: lon, depth, level, lat
Task: Fetch lat from humidity that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036800 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: level, value, type, reading
Sensor: snow_depth | fields: reading, depth, value, ts
Task: Fetch lon from dew_point where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036801 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, level, qc, value
Sensor: pressure | fields: lat, value, ts, type
Task: Retrieve depth from dew_point with value above the AVG(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036802 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, lat, qc, unit
Sensor: temperature | fields: unit, value, level, type
Task: Retrieve reading from sunlight whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036803 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: type, lat, qc, level
Sensor: wind_speed | fields: lon, type, lat, level
Task: Retrieve value from air_quality that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036804 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, type, lat, reading
Sensor: wind_speed | fields: reading, value, depth, ts
Task: Retrieve reading from sunlight whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036805 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, type, lat, level
Sensor: rainfall | fields: reading, level, qc, ts
Task: Fetch lon from dew_point where reading is greater than the count of of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036806 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, unit, lon, type
Sensor: air_quality | fields: unit, lon, type, ts
Task: Fetch reading from lightning where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036807 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, lon, unit
Sensor: uv_index | fields: type, level, reading, lat
Task: Retrieve level from temperature whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036808 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, qc, type, depth
Sensor: drought_index | fields: unit, lon, value, qc
Task: Fetch value from air_quality where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036809 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, value, ts, type
Sensor: lightning | fields: value, lat, ts, reading
Task: Fetch depth from wind_speed where value is greater than the total of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036810 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, level, unit, reading
Sensor: uv_index | fields: unit, depth, value, ts
Task: Get reading from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036811 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: qc, type, level, lon
Sensor: sunlight | fields: ts, type, lon, unit
Task: Fetch value from uv_index that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036812 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: type, lat, lon, unit
Sensor: cloud_cover | fields: level, lat, value, ts
Task: Retrieve level from lightning with value above the AVG(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036813 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, ts, value, type
Sensor: pressure | fields: unit, ts, level, lon
Task: Fetch level from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036814 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, ts, unit, reading
Sensor: pressure | fields: value, reading, lat, level
Task: Get reading from sunlight where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036815 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, reading, type, level
Sensor: rainfall | fields: lat, level, lon, reading
Task: Fetch lat from sunlight where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036816 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: level, depth, unit, type
Sensor: rainfall | fields: lat, value, reading, ts
Task: Retrieve lon from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036817 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, qc, reading, value
Sensor: humidity | fields: type, ts, reading, depth
Task: Retrieve level from pressure whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036818 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, type, value, reading
Sensor: uv_index | fields: unit, reading, qc, type
Task: Retrieve lon from dew_point with value above the MIN(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036819 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, unit, ts, level
Sensor: pressure | fields: lat, type, depth, level
Task: Retrieve lat from visibility whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036820 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lon, value, ts
Sensor: air_quality | fields: lon, lat, ts, qc
Task: Retrieve level from cloud_cover whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036821 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: value, ts, qc, type
Sensor: uv_index | fields: lon, depth, reading, type
Task: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036822 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, type, lat, qc
Sensor: soil_moisture | fields: level, qc, type, value
Task: Get value from wind_speed where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036823 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, depth, reading, ts
Sensor: lightning | fields: unit, lon, lat, qc
Task: Fetch reading from soil_moisture where ts exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036824 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: level, reading, value, unit
Sensor: turbidity | fields: lon, ts, lat, reading
Task: Get lat from drought_index where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036825 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, lat, type, unit
Sensor: cloud_cover | fields: unit, qc, level, type
Task: Fetch value from lightning where depth is greater than the maximum of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
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": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036826 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, qc, lon, unit
Sensor: humidity | fields: unit, lat, lon, type
Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036827 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, type, lon
Sensor: wind_speed | fields: depth, lat, level, value
Task: Retrieve depth from evaporation that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036828 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, unit, reading, level
Sensor: temperature | fields: type, ts, level, lat
Task: Fetch reading from sunlight where depth is greater than the minimum of depth in temperature for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036829 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, lon, level, qc
Sensor: wind_speed | fields: qc, ts, type, unit
Task: Retrieve value from drought_index whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036830 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, depth, lon, level
Sensor: visibility | fields: lat, level, ts, reading
Task: Get lat from cloud_cover where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036831 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, depth, value, type
Sensor: evaporation | fields: lat, level, unit, depth
Task: Retrieve value from humidity with reading above the AVG(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036832 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, type, lat, ts
Sensor: visibility | fields: qc, reading, type, lon
Task: Retrieve lat from turbidity whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036833 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, lat, lon, qc
Sensor: visibility | fields: ts, reading, type, lat
Task: Get reading from pressure where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036834 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, ts, reading
Sensor: visibility | fields: type, lat, unit, level
Task: Get lat from dew_point where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036835 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, lon, reading, unit
Sensor: uv_index | fields: type, unit, reading, qc
Task: Get level from lightning where value exceeds the maximum value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036836 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, type, reading, qc
Sensor: turbidity | fields: lat, unit, value, level
Task: Fetch lon from soil_moisture where type exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036837 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: unit, depth, value, level
Sensor: wind_speed | fields: unit, reading, lon, level
Task: Fetch lat from evaporation where qc exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036838 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, unit, value, qc
Sensor: cloud_cover | fields: qc, value, lon, type
Task: Get lat from frost where value exceeds the total reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036839 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: type, depth, level, unit
Sensor: turbidity | fields: unit, level, depth, lat
Task: Get reading from snow_depth where reading exceeds the total depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036840 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: level, value, unit, reading
Sensor: visibility | fields: depth, lat, unit, reading
Task: Retrieve value from humidity with value above the MAX(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036841 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, ts, lon, depth
Sensor: cloud_cover | fields: qc, ts, level, reading
Task: Get value from pressure where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036842 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, value, lon, qc
Sensor: temperature | fields: qc, lat, ts, unit
Task: Get level from evaporation where reading exceeds the maximum value from temperature for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036843 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, type, lat
Sensor: rainfall | fields: qc, level, value, depth
Task: Fetch level from temperature that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036844 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, lon, level, type
Sensor: cloud_cover | fields: value, lat, reading, type
Task: Retrieve depth from snow_depth with depth above the COUNT(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036845 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, type, lat, depth
Sensor: evaporation | fields: ts, lon, qc, depth
Task: Retrieve lon from rainfall with depth above the SUM(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036846 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, type, depth, reading
Sensor: visibility | fields: ts, unit, level, reading
Task: Get level from pressure where qc appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036847 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lon, lat, unit, ts
Sensor: cloud_cover | fields: unit, value, type, reading
Task: Fetch lon from humidity where value is greater than the average of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036848 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, type, level, depth
Sensor: sunlight | fields: depth, value, lon, qc
Task: Retrieve value from turbidity whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036849 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, unit, depth, ts
Sensor: air_quality | fields: value, ts, depth, lat
Task: Fetch lon from snow_depth where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036850 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, level, ts, qc
Sensor: pressure | fields: type, reading, lon, value
Task: Fetch value from soil_moisture where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036851 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, lat, depth, type
Sensor: snow_depth | fields: lat, unit, qc, lon
Task: Get lat from humidity where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036852 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, level, depth, lat
Sensor: soil_moisture | fields: qc, unit, lat, type
Task: Get reading from cloud_cover where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036853 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, value, level, type
Sensor: drought_index | fields: value, qc, lat, level
Task: Retrieve value from pressure that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036854 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, lon, level
Sensor: uv_index | fields: qc, reading, ts, unit
Task: Retrieve value from air_quality with value above the AVG(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"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_036855 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, unit, type, lat
Sensor: drought_index | fields: reading, unit, ts, lon
Task: Retrieve lat from air_quality that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036856 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, lat, lon
Sensor: dew_point | fields: depth, qc, lat, reading
Task: Fetch lon from rainfall that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"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_036857 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: qc, ts, depth, reading
Sensor: dew_point | fields: depth, unit, value, level
Task: Fetch level from lightning that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036858 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, qc, type, ts
Sensor: uv_index | fields: ts, unit, lon, depth
Task: Retrieve lat from snow_depth that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036859 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, level, qc, reading
Sensor: visibility | fields: ts, unit, qc, type
Task: Get value from air_quality where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036860 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, value, depth, lon
Sensor: snow_depth | fields: qc, lat, level, ts
Task: Fetch level from air_quality where type exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036861 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, unit, depth, lat
Sensor: humidity | fields: type, ts, depth, lon
Task: Fetch level from pressure that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036862 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, value, type, unit
Sensor: wind_speed | fields: qc, lon, lat, level
Task: Get level from evaporation where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036863 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, lon, reading, type
Sensor: cloud_cover | fields: ts, qc, unit, lon
Task: Retrieve depth from drought_index with depth above the AVG(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"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_036864 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, reading, depth, unit
Sensor: turbidity | fields: lat, reading, unit, value
Task: Get level from dew_point where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036865 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, level, qc, reading
Sensor: uv_index | fields: level, type, lat, unit
Task: Retrieve reading from air_quality with value above the AVG(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036866 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, value, reading, type
Sensor: soil_moisture | fields: unit, reading, level, value
Task: Retrieve lon from turbidity that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036867 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: level, type, unit, lat
Sensor: humidity | fields: qc, lon, depth, value
Task: Retrieve level from wind_speed that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036868 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, lat, reading, lon
Sensor: rainfall | fields: level, ts, reading, unit
Task: Fetch level from lightning where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036869 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, ts, depth, qc
Sensor: snow_depth | fields: qc, reading, lat, type
Task: Fetch lon from sunlight where value is greater than the total of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036870 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, qc, type, lon
Sensor: lightning | fields: lat, lon, type, value
Task: Retrieve level from humidity whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036871 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, value, qc
Sensor: soil_moisture | fields: ts, lon, value, qc
Task: Get lon from sunlight where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036872 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, ts, level, lat
Sensor: frost | fields: depth, value, type, level
Task: Fetch reading from cloud_cover where depth is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036873 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, lat, lon, reading
Sensor: frost | fields: lon, reading, ts, depth
Task: Fetch lon from rainfall where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
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": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036874 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, level, reading, unit
Sensor: turbidity | fields: depth, level, type, ts
Task: Retrieve reading from humidity that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036875 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, qc, unit, depth
Sensor: lightning | fields: level, qc, value, unit
Task: Fetch value from rainfall that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036876 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, level, qc, value
Sensor: air_quality | fields: reading, lat, ts, type
Task: Fetch level from sunlight where value is greater than the minimum of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036877 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, level, qc, type
Sensor: air_quality | fields: depth, lon, type, unit
Task: Get depth from turbidity where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036878 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: qc, lat, ts, lon
Sensor: uv_index | fields: lat, reading, value, depth
Task: Retrieve value from pressure whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036879 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, unit, value, reading
Sensor: sunlight | fields: depth, value, lon, reading
Task: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036880 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, type, lon, depth
Sensor: pressure | fields: qc, ts, level, depth
Task: Get reading from air_quality where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036881 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, depth, value, unit
Sensor: lightning | fields: unit, ts, value, type
Task: Get lat from air_quality where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036882 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: level, type, depth, ts
Sensor: turbidity | fields: lat, level, type, reading
Task: Fetch reading from lightning that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036883 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, unit, reading, type
Sensor: drought_index | fields: depth, level, unit, lon
Task: Fetch lat from cloud_cover that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036884 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, type, ts, value
Sensor: air_quality | fields: reading, ts, qc, depth
Task: Get lat from drought_index where reading exceeds the minimum reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036885 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, ts, reading, lon
Sensor: rainfall | fields: qc, reading, lat, level
Task: Fetch lat from soil_moisture where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036886 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: depth, lat, ts, qc
Sensor: snow_depth | fields: reading, type, level, lat
Task: Get level from uv_index where reading exceeds the maximum depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036887 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: level, lon, reading, ts
Sensor: rainfall | fields: lat, reading, value, unit
Task: Fetch lon from lightning that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036888 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, value, unit, lon
Sensor: sunlight | fields: qc, level, reading, lon
Task: Fetch depth from temperature that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036889 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: reading, value, type, lon
Sensor: uv_index | fields: lat, unit, qc, level
Task: Fetch level from drought_index where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036890 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, level, reading, qc
Sensor: drought_index | fields: lon, value, ts, qc
Task: Get lat from rainfall where reading exceeds the minimum depth from drought_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"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_036891 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lon, lat, unit, ts
Sensor: frost | fields: unit, lon, level, qc
Task: Fetch lat from rainfall that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036892 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, reading, ts, lon
Sensor: humidity | fields: qc, value, type, ts
Task: Fetch depth from turbidity where reading is greater than the minimum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036893 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, unit, lon, depth
Sensor: snow_depth | fields: lon, ts, lat, value
Task: Fetch reading from visibility that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036894 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, reading, lat, unit
Sensor: temperature | fields: lat, ts, type, depth
Task: Retrieve level from pressure with value above the COUNT(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036895 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, reading, lon, value
Sensor: humidity | fields: reading, lon, depth, lat
Task: Fetch value from wind_speed where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036896 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, level, qc, unit
Sensor: air_quality | fields: value, type, qc, lat
Task: Retrieve reading from rainfall whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036897 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, unit, lat, depth
Sensor: evaporation | fields: ts, reading, lon, depth
Task: Get level from pressure where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036898 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, type, value
Sensor: snow_depth | fields: value, unit, qc, depth
Task: Get reading from dew_point where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.