variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, lon, depth, reading
Sensor: drought_index | fields: level, unit, type, depth
Task: Retrieve level from snow_depth with value above the SUM(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005000 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, reading, depth, ts
Sensor: pressure | fields: unit, lon, qc, type
Task: Get reading from wind_speed where depth appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005001 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, lat, value, qc
Sensor: lightning | fields: reading, lat, value, lon
Task: Retrieve reading from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005002 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, level, value, reading
Sensor: wind_speed | fields: depth, lat, qc, value
Task: Get lon from humidity where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005003 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, value, depth, lat
Sensor: drought_index | fields: depth, ts, qc, unit
Task: Get reading from air_quality where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005004 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, lat, unit, depth
Sensor: temperature | fields: lon, value, reading, lat
Task: Fetch reading from dew_point where reading is greater than the count of of value in temperature for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005005 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, reading, unit, level
Sensor: soil_moisture | fields: value, reading, lat, lon
Task: Get depth from air_quality where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005006 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: type, lon, ts, level
Sensor: drought_index | fields: value, lon, depth, unit
Task: Fetch lat from temperature where unit exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005007 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, reading, qc, unit
Sensor: pressure | fields: level, reading, type, lat
Task: Fetch lon from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005008 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, unit, reading, depth
Sensor: dew_point | fields: ts, value, depth, level
Task: Fetch lat from uv_index where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005009 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, ts, unit, type
Sensor: visibility | fields: qc, ts, lat, level
Task: Get lon from snow_depth where depth exceeds the total reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005010 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, level, lat, unit
Sensor: drought_index | fields: ts, lat, lon, unit
Task: Retrieve lon from frost with depth above the SUM(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005011 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: ts, lat, qc, lon
Sensor: drought_index | fields: ts, level, reading, value
Task: Get level from lightning where ts appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005012 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: type, qc, unit, ts
Sensor: turbidity | fields: value, lon, level, reading
Task: Retrieve level from lightning with depth above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005013 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, depth, unit, type
Sensor: uv_index | fields: type, value, lon, reading
Task: Fetch reading from evaporation where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005014 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: qc, lat, ts, lon
Sensor: rainfall | fields: value, unit, level, depth
Task: Retrieve depth from sunlight with reading above the AVG(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005015 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, lon, depth, value
Sensor: wind_speed | fields: level, reading, type, lat
Task: Retrieve reading from visibility whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005016 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, lon, reading, depth
Sensor: frost | fields: qc, level, lat, value
Task: Get lon from snow_depth where reading exceeds the count of reading from frost for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005017 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, ts, lat, qc
Sensor: air_quality | fields: value, lat, unit, qc
Task: Get reading from pressure where depth exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005018 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: qc, depth, ts, reading
Sensor: uv_index | fields: lon, unit, qc, ts
Task: Retrieve value from turbidity that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005019 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, lon, unit, qc
Sensor: cloud_cover | fields: qc, unit, type, value
Task: Fetch level from drought_index where depth is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005020 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lat, value, qc
Sensor: air_quality | fields: level, type, value, unit
Task: Get lon from rainfall where reading exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005021 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: value, unit, reading, qc
Sensor: frost | fields: unit, lon, value, reading
Task: Fetch value from wind_speed where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005022 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, lat, level, unit
Sensor: cloud_cover | fields: lat, reading, unit, lon
Task: Retrieve level from turbidity that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005023 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, level, depth, value
Sensor: humidity | fields: reading, ts, value, unit
Task: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005024 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: unit, ts, qc, reading
Sensor: dew_point | fields: lat, value, lon, type
Task: Retrieve reading from frost whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005025 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: reading, level, depth, qc
Sensor: turbidity | fields: ts, value, type, depth
Task: Retrieve lat from sunlight whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005026 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: ts, type, reading, unit
Sensor: lightning | fields: unit, level, ts, lat
Task: Get level from sunlight where reading exceeds the average value from lightning for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005027 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: type, unit, ts, lat
Sensor: humidity | fields: reading, ts, depth, level
Task: Get lon from temperature where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005028 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, unit, lon, value
Sensor: frost | fields: depth, lat, qc, lon
Task: Get value from dew_point where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005029 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, lon, depth, unit
Sensor: soil_moisture | fields: depth, reading, qc, lat
Task: Retrieve lon from snow_depth whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005030 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, value, reading, lat
Sensor: cloud_cover | fields: qc, lat, level, reading
Task: Get lat from soil_moisture where reading exceeds the maximum depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005031 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, unit, lat, value
Sensor: pressure | fields: unit, lat, qc, type
Task: Get depth from turbidity where depth exceeds the average depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005032 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, unit, value, lon
Sensor: wind_speed | fields: lon, type, depth, reading
Task: Get value from pressure where depth exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005033 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, lat, value, reading
Sensor: rainfall | fields: value, ts, unit, depth
Task: Retrieve lat from visibility whose qc is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005034 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: qc, reading, depth, type
Sensor: lightning | fields: unit, type, lon, qc
Task: Get reading from sunlight where depth exceeds the minimum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005035 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, level, unit, ts
Sensor: wind_speed | fields: reading, qc, unit, type
Task: Fetch value from visibility where depth exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005036 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, reading, lon, lat
Sensor: lightning | fields: value, type, qc, level
Task: Retrieve depth from air_quality whose depth is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005037 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, level, lat, ts
Sensor: frost | fields: reading, type, qc, ts
Task: Get level from wind_speed where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005038 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: depth, level, lon, ts
Sensor: rainfall | fields: level, depth, lat, reading
Task: Get lon from turbidity where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005039 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, level, qc, depth
Sensor: soil_moisture | fields: reading, ts, lon, value
Task: Get value from wind_speed where reading exceeds the average reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005040 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, type, ts, depth
Sensor: wind_speed | fields: lat, type, value, unit
Task: Get depth from cloud_cover where ts appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005041 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, depth, lon, value
Sensor: wind_speed | fields: level, type, depth, lat
Task: Get lon from air_quality where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005042 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, reading, lon, depth
Sensor: rainfall | fields: qc, value, depth, lat
Task: Retrieve lat from uv_index that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005043 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, value, level, depth
Sensor: sunlight | fields: level, qc, unit, reading
Task: Fetch level from humidity that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005044 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, depth, ts
Sensor: drought_index | fields: reading, ts, unit, depth
Task: Get depth from uv_index where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005045 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, ts, type, reading
Sensor: snow_depth | fields: level, type, lon, unit
Task: Get level from humidity where reading exceeds the count of value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005046 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, ts, qc, lon
Sensor: evaporation | fields: unit, type, lat, lon
Task: Fetch value from turbidity where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005047 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: reading, lat, value, level
Sensor: uv_index | fields: unit, lon, level, value
Task: Get reading from pressure where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005048 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, ts, lat, depth
Sensor: rainfall | fields: value, reading, unit, lat
Task: Retrieve depth from cloud_cover whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005049 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: qc, type, reading, depth
Sensor: humidity | fields: depth, ts, reading, lon
Task: Retrieve value from air_quality with depth above the MAX(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005050 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, depth, unit, reading
Sensor: dew_point | fields: type, value, lon, qc
Task: Fetch reading from snow_depth where ts exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005051 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lon, reading, depth, value
Sensor: wind_speed | fields: ts, value, type, lon
Task: Get value from frost where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005052 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, ts, unit, value
Sensor: pressure | fields: value, unit, level, lon
Task: Get reading from evaporation where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005053 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: value, ts, reading, lat
Sensor: lightning | fields: ts, level, depth, unit
Task: Get reading from turbidity where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005054 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, unit, qc, level
Sensor: dew_point | fields: reading, ts, type, lat
Task: Get level from pressure where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"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_005055 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, qc, lon, type
Sensor: frost | fields: qc, depth, unit, value
Task: Retrieve lon from visibility whose qc is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005056 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, type, qc, unit
Sensor: cloud_cover | fields: lon, qc, value, depth
Task: Fetch level from wind_speed where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005057 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, lon, ts, type
Sensor: air_quality | fields: value, level, qc, type
Task: Fetch value from cloud_cover where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005058 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, qc, level, ts
Sensor: cloud_cover | fields: lat, ts, value, depth
Task: Fetch reading from pressure that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005059 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, value, qc, type
Sensor: soil_moisture | fields: lon, reading, lat, qc
Task: Fetch depth from wind_speed that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005060 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, lat, unit, reading
Sensor: cloud_cover | fields: value, lon, ts, qc
Task: Fetch lat from evaporation where ts exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005061 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lon, qc, unit, level
Sensor: dew_point | fields: value, lat, lon, type
Task: Get value from turbidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005062 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, unit, lon, type
Sensor: lightning | fields: reading, unit, lat, depth
Task: Fetch value from dew_point where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005063 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, unit, value, reading
Sensor: air_quality | fields: lat, unit, lon, qc
Task: Get lon from cloud_cover where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005064 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, reading, depth, value
Sensor: temperature | fields: level, type, ts, lon
Task: Fetch reading from soil_moisture where value is greater than the minimum of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005065 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, depth, unit, ts
Sensor: humidity | fields: level, lon, qc, ts
Task: Retrieve lon from temperature that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005066 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, qc, lat, type
Sensor: pressure | fields: depth, level, lat, qc
Task: Retrieve lat from visibility that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005067 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, lat, unit, reading
Sensor: cloud_cover | fields: ts, qc, value, lon
Task: Retrieve value from turbidity with reading above the MIN(value) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005068 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, level, ts, qc
Sensor: drought_index | fields: ts, type, level, reading
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005069 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, ts, lat
Sensor: evaporation | fields: type, level, qc, lat
Task: Retrieve reading from air_quality that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005070 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: level, type, qc, ts
Sensor: drought_index | fields: value, depth, reading, ts
Task: Get value from pressure where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005071 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, level, qc, reading
Sensor: temperature | fields: value, lon, depth, lat
Task: Fetch level from snow_depth where reading is greater than the average of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005072 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, qc, reading, level
Sensor: turbidity | fields: value, unit, level, reading
Task: Retrieve depth from air_quality that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005073 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, value, level, unit
Sensor: uv_index | fields: level, type, lon, qc
Task: Retrieve reading from rainfall with depth above the MAX(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005074 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, ts, qc, level
Sensor: turbidity | fields: type, ts, unit, lat
Task: Retrieve value from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005075 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, depth, type, lat
Sensor: evaporation | fields: lon, depth, type, unit
Task: Retrieve lat from turbidity with value above the SUM(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005076 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, value, depth, lon
Sensor: drought_index | fields: level, reading, value, type
Task: Retrieve depth from humidity with depth above the MIN(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005077 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, reading, unit, ts
Sensor: evaporation | fields: level, lon, value, reading
Task: Retrieve depth from soil_moisture with depth above the AVG(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005078 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, lat, level, unit
Sensor: lightning | fields: qc, unit, type, level
Task: Retrieve value from air_quality whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005079 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, lat, reading, type
Sensor: cloud_cover | fields: ts, unit, type, lon
Task: Get lon from lightning where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005080 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, reading, lon, depth
Sensor: soil_moisture | fields: qc, type, lat, value
Task: Get depth from frost where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005081 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: type, depth, lat, ts
Sensor: turbidity | fields: lat, type, qc, value
Task: Retrieve depth from wind_speed that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005082 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, qc, ts, lon
Sensor: air_quality | fields: lon, depth, lat, type
Task: Fetch value from evaporation where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005083 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, ts, qc, level
Sensor: snow_depth | fields: lat, unit, qc, type
Task: Get level from soil_moisture where depth exceeds the minimum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005084 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, lat, depth, level
Sensor: drought_index | fields: lon, type, unit, value
Task: Fetch depth from humidity where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005085 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, value, reading, lat
Sensor: evaporation | fields: ts, value, type, qc
Task: Fetch value from temperature where reading is greater than the minimum of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005086 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, reading, ts, depth
Sensor: snow_depth | fields: level, reading, lon, type
Task: Retrieve depth from uv_index whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005087 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, lon, lat, reading
Sensor: rainfall | fields: reading, lon, value, unit
Task: Retrieve value from drought_index with reading above the COUNT(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005088 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, level, reading, lat
Sensor: temperature | fields: lon, ts, reading, unit
Task: Get value from air_quality where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005089 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: value, depth, ts, level
Sensor: turbidity | fields: unit, lat, level, ts
Task: Fetch lat from wind_speed where type exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005090 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: reading, level, unit, value
Sensor: turbidity | fields: level, qc, value, reading
Task: Fetch level from temperature where reading is greater than the total of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005091 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, level, qc, unit
Sensor: sunlight | fields: ts, reading, value, level
Task: Get lon from frost where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005092 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, reading, qc, level
Sensor: dew_point | fields: reading, qc, lat, ts
Task: Retrieve reading from drought_index whose unit is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005093 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, type, depth, unit
Sensor: dew_point | fields: level, qc, lat, value
Task: Fetch level from turbidity where depth is greater than the maximum of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005094 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, value, reading, level
Sensor: wind_speed | fields: lon, reading, unit, level
Task: Fetch depth from soil_moisture where qc exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005095 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: type, level, depth, unit
Sensor: frost | fields: lat, lon, ts, unit
Task: Get depth from lightning where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005096 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, lat, level, reading
Sensor: drought_index | fields: level, reading, qc, type
Task: Retrieve lon from visibility whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005097 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: type, reading, ts, depth
Sensor: evaporation | fields: qc, unit, ts, level
Task: Fetch reading from frost where depth is greater than the minimum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005098 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: unit, lon, qc, depth
Sensor: humidity | fields: value, level, type, ts
Task: Retrieve level from visibility that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.