variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: uv_index | code: hub | fields: type, qc, level, depth
Sensor: drought_index | fields: depth, reading, lon, type
Task: Retrieve depth from uv_index whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066000 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, lat, value, level
Sensor: dew_point | fields: lon, level, ts, reading
Task: Fetch reading from temperature that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066001 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lon, level, lat
Sensor: air_quality | fields: type, ts, depth, level
Task: Fetch lon from uv_index where value is greater than the count of of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066002 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, unit, depth, lon
Sensor: pressure | fields: ts, value, unit, lon
Task: Fetch lat from evaporation where type exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066003 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, type, reading, unit
Sensor: evaporation | fields: unit, depth, value, lon
Task: Retrieve depth from pressure with value above the MAX(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066004 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, value, depth, lon
Sensor: dew_point | fields: reading, value, lon, unit
Task: Get depth from evaporation where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066005 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, depth, level, type
Sensor: turbidity | fields: depth, lat, type, lon
Task: Get depth from air_quality where reading exceeds the average depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066006 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: type, ts, level, lon
Sensor: frost | fields: lat, lon, unit, depth
Task: Get depth from wind_speed where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066007 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, lat, qc
Sensor: frost | fields: lon, lat, value, level
Task: Fetch lon from uv_index where value is greater than the maximum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"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_066008 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, level, lat, lon
Sensor: drought_index | fields: value, unit, qc, lat
Task: Get lon from temperature where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066009 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lat, lon, reading, type
Sensor: wind_speed | fields: ts, lon, reading, level
Task: Get reading from temperature where reading exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066010 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, depth, unit, level
Sensor: soil_moisture | fields: lat, unit, value, lon
Task: Get value from evaporation where qc appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066011 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, qc, lat, unit
Sensor: uv_index | fields: level, type, lat, ts
Task: Get value from lightning where depth appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066012 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, qc, depth, reading
Sensor: drought_index | fields: qc, reading, lon, unit
Task: Fetch lat from temperature where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
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": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066013 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: depth, qc, reading, level
Sensor: snow_depth | fields: level, depth, reading, type
Task: Retrieve value from sunlight with depth above the AVG(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066014 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, depth, lat
Sensor: pressure | fields: qc, lon, depth, reading
Task: Get level from cloud_cover where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066015 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, unit, ts, lon
Sensor: wind_speed | fields: ts, lon, type, unit
Task: Get value from air_quality where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066016 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, value, unit, reading
Sensor: drought_index | fields: qc, value, lon, depth
Task: Retrieve level from wind_speed with value above the COUNT(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066017 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, level, qc, lon
Sensor: turbidity | fields: depth, unit, ts, level
Task: Get lat from pressure where value exceeds the maximum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066018 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, level, qc, reading
Sensor: wind_speed | fields: level, unit, reading, lon
Task: Retrieve level from drought_index whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066019 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, depth, lon, type
Sensor: rainfall | fields: lat, lon, ts, type
Task: Retrieve depth from snow_depth with reading above the MIN(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066020 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, reading, ts, level
Sensor: pressure | fields: lon, type, value, depth
Task: Fetch lon from wind_speed where depth is greater than the count of of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066021 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, ts, level, reading
Sensor: wind_speed | fields: depth, unit, level, ts
Task: Get lon from temperature where value exceeds the maximum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066022 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, value, type, reading
Sensor: soil_moisture | fields: value, lat, qc, ts
Task: Retrieve reading from frost with reading above the COUNT(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066023 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: value, reading, level, lat
Sensor: pressure | fields: lat, level, unit, depth
Task: Fetch reading from visibility where reading is greater than the count of of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066024 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, reading, unit, value
Sensor: temperature | fields: lat, reading, depth, unit
Task: Fetch lat from humidity where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066025 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, unit, type, value
Sensor: sunlight | fields: type, lat, depth, ts
Task: Get reading from air_quality where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066026 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, level, unit, qc
Sensor: wind_speed | fields: value, level, type, ts
Task: Get value from rainfall where reading exceeds the count of depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066027 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, depth, lat, ts
Sensor: uv_index | fields: lat, reading, lon, level
Task: Fetch depth from lightning where qc exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066028 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, ts, unit, qc
Sensor: sunlight | fields: level, ts, unit, reading
Task: Retrieve lon from cloud_cover that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066029 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, qc, value, lon
Sensor: temperature | fields: lat, value, unit, type
Task: Retrieve value from dew_point that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066030 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, qc, unit, ts
Sensor: wind_speed | fields: level, ts, type, depth
Task: Fetch reading from pressure where qc exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066031 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, qc, level, lon
Sensor: sunlight | fields: qc, level, ts, lon
Task: Fetch reading from snow_depth where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066032 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, reading, depth, type
Sensor: visibility | fields: unit, value, qc, reading
Task: Fetch level from cloud_cover that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066033 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, unit, level, type
Sensor: snow_depth | fields: ts, lon, value, reading
Task: Retrieve lat from drought_index whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066034 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, level, type
Sensor: snow_depth | fields: depth, qc, unit, type
Task: Retrieve reading from turbidity that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066035 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, lon, reading, lat
Sensor: drought_index | fields: lon, reading, depth, lat
Task: Fetch level from evaporation where reading is greater than the average of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066036 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, lat, unit, value
Sensor: turbidity | fields: qc, depth, ts, reading
Task: Get reading from rainfall where reading exceeds the count of depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066037 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lon, level, depth, value
Sensor: uv_index | fields: lon, value, reading, ts
Task: Fetch value from frost where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066038 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, lon, type, depth
Sensor: drought_index | fields: level, lon, unit, reading
Task: Retrieve lat from dew_point with reading above the AVG(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066039 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, value, ts, type
Sensor: drought_index | fields: depth, level, qc, ts
Task: Get value from evaporation where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066040 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, value, qc, lat
Sensor: cloud_cover | fields: type, lon, ts, reading
Task: Retrieve level from drought_index whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066041 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: qc, unit, reading, level
Sensor: pressure | fields: type, lat, level, reading
Task: Get lat from lightning where depth exceeds the average reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066042 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: depth, level, reading, type
Sensor: air_quality | fields: value, level, unit, lon
Task: Get value from humidity where value exceeds the total depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066043 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, level, type, ts
Sensor: dew_point | fields: lat, qc, unit, depth
Task: Fetch reading from turbidity where value is greater than the count of of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066044 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, ts, type, level
Sensor: dew_point | fields: depth, level, lat, lon
Task: Fetch lat from drought_index that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066045 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, reading, lon
Sensor: dew_point | fields: value, depth, level, ts
Task: Retrieve depth from cloud_cover whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066046 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, lon, type
Sensor: sunlight | fields: depth, lat, level, lon
Task: Fetch level from wind_speed that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066047 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: value, depth, level, unit
Sensor: wind_speed | fields: qc, lat, level, lon
Task: Get level from snow_depth where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066048 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, lon, ts, value
Sensor: lightning | fields: lon, type, qc, ts
Task: Fetch lon from cloud_cover where type exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066049 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, depth, value, qc
Sensor: temperature | fields: type, lon, depth, lat
Task: Fetch value from turbidity that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066050 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, reading, level
Sensor: snow_depth | fields: type, depth, unit, lon
Task: Fetch value from cloud_cover where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066051 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, level, ts, lat
Sensor: visibility | fields: ts, level, unit, qc
Task: Fetch value from pressure where reading is greater than the count of of value in visibility for matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066052 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, qc, ts, lon
Sensor: soil_moisture | fields: unit, level, reading, depth
Task: Retrieve lon from drought_index with depth above the AVG(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066053 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, unit, type, depth
Sensor: wind_speed | fields: type, lon, level, ts
Task: Get lat from temperature where depth exceeds the count of depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066054 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, lat, value, lon
Sensor: uv_index | fields: lat, depth, lon, unit
Task: Get lat from cloud_cover where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066055 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: value, unit, depth, type
Sensor: turbidity | fields: value, unit, qc, ts
Task: Get reading from dew_point where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066056 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, lat, unit, level
Sensor: rainfall | fields: unit, qc, lon, value
Task: Get value from visibility where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066057 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, depth, value
Sensor: frost | fields: value, lat, qc, reading
Task: Fetch reading from temperature where depth exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066058 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, ts, lon, level
Sensor: dew_point | fields: reading, ts, lat, value
Task: Retrieve depth from visibility whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066059 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, level, type, reading
Sensor: turbidity | fields: level, qc, ts, lat
Task: Fetch lon from sunlight that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066060 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, value, qc, depth
Sensor: sunlight | fields: depth, unit, lat, lon
Task: Get depth from wind_speed where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066061 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lat, ts, value
Sensor: frost | fields: lat, unit, depth, value
Task: Fetch depth from evaporation where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066062 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, depth, type, level
Sensor: rainfall | fields: ts, depth, lon, level
Task: Retrieve level from evaporation that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066063 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, unit, depth, type
Sensor: dew_point | fields: level, value, depth, unit
Task: Get depth from wind_speed where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066064 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, reading, unit, value
Sensor: humidity | fields: qc, type, lat, level
Task: Retrieve value from temperature that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066065 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, reading, value, lat
Sensor: humidity | fields: qc, type, reading, ts
Task: Fetch level from drought_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066066 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, type, ts, unit
Sensor: drought_index | fields: lat, unit, level, depth
Task: Get reading from dew_point where value exceeds the total value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066067 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: ts, type, reading, depth
Sensor: drought_index | fields: unit, ts, lon, qc
Task: Get lat from air_quality where value exceeds the count of value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066068 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: type, level, ts, lat
Sensor: visibility | fields: level, lon, lat, ts
Task: Fetch value from rainfall that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066069 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, depth, unit, type
Sensor: drought_index | fields: lat, ts, unit, qc
Task: Get reading from frost where depth exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066070 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, type, level, reading
Sensor: drought_index | fields: reading, type, ts, lat
Task: Get level from turbidity where type appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066071 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, depth, reading, type
Sensor: lightning | fields: lon, level, reading, depth
Task: Retrieve lon from visibility that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066072 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, value, level, ts
Sensor: lightning | fields: value, lat, depth, unit
Task: Get value from wind_speed where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066073 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: reading, level, ts, lon
Sensor: frost | fields: ts, level, depth, value
Task: Fetch level from pressure where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066074 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, lat, value, ts
Sensor: uv_index | fields: unit, ts, type, value
Task: Get lon from drought_index where reading exceeds the maximum depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066075 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, reading, lat, qc
Sensor: frost | fields: level, depth, type, reading
Task: Fetch reading from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066076 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: ts, value, lon, reading
Sensor: cloud_cover | fields: type, ts, level, lon
Task: Retrieve lat from temperature with reading above the COUNT(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066077 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, qc, lon, level
Sensor: lightning | fields: type, depth, unit, value
Task: Fetch value from wind_speed where depth is greater than the total of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"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_066078 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, reading, level, lon
Sensor: turbidity | fields: depth, type, value, unit
Task: Get depth from wind_speed where value exceeds the maximum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066079 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: qc, unit, type, ts
Sensor: frost | fields: level, ts, reading, type
Task: Retrieve level from humidity whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066080 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lat, depth, unit
Sensor: temperature | fields: type, depth, lon, unit
Task: Get lat from evaporation where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066081 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: value, qc, reading, depth
Sensor: temperature | fields: type, lat, depth, lon
Task: Get lat from visibility where value exceeds the average reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066082 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: level, reading, value, qc
Sensor: humidity | fields: value, level, qc, unit
Task: Retrieve lon from sunlight that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066083 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, unit, qc, depth
Sensor: turbidity | fields: depth, reading, lon, level
Task: Retrieve level from uv_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066084 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, level, lat, unit
Sensor: rainfall | fields: reading, value, lat, lon
Task: Retrieve depth from air_quality with value above the MAX(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066085 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, type, unit, qc
Sensor: drought_index | fields: depth, unit, lon, ts
Task: Fetch value from air_quality that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066086 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, lon, type
Sensor: humidity | fields: level, type, value, unit
Task: Fetch level from snow_depth that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066087 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, qc, reading
Sensor: pressure | fields: qc, reading, unit, ts
Task: Retrieve reading from humidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066088 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, reading, unit, depth
Sensor: turbidity | fields: qc, reading, lat, value
Task: Fetch lat from rainfall where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066089 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, type, lon, qc
Sensor: sunlight | fields: qc, depth, unit, lon
Task: Get value from wind_speed where depth exceeds the average value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066090 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: ts, lon, type, value
Sensor: evaporation | fields: lat, value, unit, ts
Task: Retrieve level from dew_point whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066091 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, value, depth, ts
Sensor: pressure | fields: level, type, lon, value
Task: Retrieve lon from temperature whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066092 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, level, value, qc
Sensor: uv_index | fields: lon, level, ts, qc
Task: Get reading from cloud_cover where depth exceeds the maximum value from uv_index for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066093 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, reading, unit, level
Sensor: air_quality | fields: ts, lat, reading, type
Task: Fetch lon from humidity where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066094 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, lat, lon, unit
Sensor: cloud_cover | fields: level, type, lon, qc
Task: Get reading from wind_speed where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066095 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, ts, type
Sensor: soil_moisture | fields: qc, lon, lat, value
Task: Fetch depth from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066096 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: value, unit, qc, lon
Sensor: lightning | fields: type, qc, reading, ts
Task: Retrieve value from wind_speed whose qc is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_066097 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: depth, level, lon, qc
Sensor: wind_speed | fields: lon, type, qc, ts
Task: Fetch lat from rainfall that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_066098 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: type, ts, lon, value
Sensor: soil_moisture | fields: lat, lon, type, depth
Task: Get lon from rainfall where depth exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"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_066099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.