variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: clr | fields: depth, lat, value, ts
Sensor: dew_point | fields: lon, value, ts, lat
Task: Fetch level from frost that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025700 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lon, unit, lat, qc
Sensor: pressure | fields: lon, type, level, depth
Task: Fetch level from evaporation where value is greater than the total of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025701 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: qc, depth, reading, type
Sensor: sunlight | fields: unit, value, lat, lon
Task: Fetch depth from evaporation that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025702 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: level, lon, lat, value
Sensor: humidity | fields: value, reading, ts, qc
Task: Fetch value from frost where value is greater than the count of of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025703 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, lon, unit, value
Sensor: turbidity | fields: type, depth, level, value
Task: Fetch reading from cloud_cover where reading is greater than the count of of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025704 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, type, level, lon
Sensor: wind_speed | fields: lat, value, reading, ts
Task: Fetch depth from frost where value is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025705 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: type, unit, depth, lon
Sensor: pressure | fields: reading, type, unit, lon
Task: Retrieve reading from turbidity that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025706 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: level, lon, value, ts
Sensor: temperature | fields: lon, lat, qc, level
Task: Fetch reading from dew_point where depth exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
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": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025707 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, unit, reading, level
Sensor: snow_depth | fields: value, type, reading, lon
Task: Get value from visibility where depth exceeds the count of depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025708 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lon, lat, value
Sensor: uv_index | fields: ts, type, value, lat
Task: Retrieve lon from rainfall that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025709 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, depth, type, level
Sensor: turbidity | fields: value, lat, ts, depth
Task: Retrieve lon from lightning that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025710 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, lon, unit, reading
Sensor: evaporation | fields: type, qc, level, lon
Task: Retrieve level from visibility whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025711 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, value, reading, unit
Sensor: cloud_cover | fields: unit, lon, reading, type
Task: Get level from soil_moisture where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025712 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, reading, lat, value
Sensor: drought_index | fields: lat, unit, depth, qc
Task: Get value from air_quality where qc appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025713 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, depth, type, lat
Sensor: rainfall | fields: ts, reading, type, qc
Task: Get value from temperature where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025714 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, lat, reading
Sensor: sunlight | fields: qc, reading, unit, lat
Task: Fetch depth from evaporation that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025715 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, value, level, depth
Sensor: evaporation | fields: depth, qc, reading, ts
Task: Get lon from air_quality where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025716 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: unit, ts, type, lon
Sensor: humidity | fields: lat, unit, lon, type
Task: Get lat from temperature where value exceeds the maximum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025717 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, level, value, lon
Sensor: uv_index | fields: lon, level, unit, type
Task: Retrieve depth from frost that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025718 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, reading, type, lon
Sensor: snow_depth | fields: qc, lon, depth, value
Task: Retrieve depth from turbidity that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025719 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, depth, ts, lat
Sensor: wind_speed | fields: lat, value, reading, unit
Task: Fetch reading from cloud_cover that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025720 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, depth, lat, reading
Sensor: humidity | fields: lat, type, depth, reading
Task: Retrieve depth from soil_moisture whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025721 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, value, reading, type
Sensor: frost | fields: ts, unit, lat, depth
Task: Retrieve reading from drought_index with reading above the SUM(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025722 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, level, lon, qc
Sensor: drought_index | fields: unit, ts, qc, depth
Task: Retrieve level from sunlight that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025723 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, lat, level, unit
Sensor: dew_point | fields: value, lat, unit, type
Task: Fetch lon from lightning where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025724 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: level, qc, unit, lat
Sensor: air_quality | fields: lon, type, reading, level
Task: Get depth from frost where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025725 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, lon, ts, value
Sensor: turbidity | fields: lon, level, value, type
Task: Fetch reading from lightning that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025726 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lat, lon, depth, type
Sensor: drought_index | fields: reading, lat, lon, ts
Task: Fetch level from frost where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025727 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, level, unit, depth
Sensor: cloud_cover | fields: ts, depth, qc, lat
Task: Get depth from turbidity where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025728 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, level, reading, lon
Sensor: frost | fields: lat, level, unit, reading
Task: Get level from sunlight where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025729 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lat, lon, reading, value
Sensor: uv_index | fields: lon, qc, level, lat
Task: Fetch value from humidity where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025730 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, ts, depth, qc
Sensor: uv_index | fields: lon, unit, level, ts
Task: Get lon from drought_index where value exceeds the count of value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025731 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: level, ts, unit, lat
Sensor: sunlight | fields: type, depth, lon, lat
Task: Fetch lat from evaporation that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025732 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, lon, lat, level
Sensor: soil_moisture | fields: ts, level, depth, reading
Task: Get reading from pressure where reading exceeds the count of reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025733 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, lon, type, unit
Sensor: soil_moisture | fields: type, qc, depth, reading
Task: Fetch value from turbidity that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025734 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, type, lon, ts
Sensor: soil_moisture | fields: level, lat, qc, depth
Task: Retrieve lat from drought_index with depth above the MIN(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025735 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: ts, lat, value, level
Sensor: air_quality | fields: depth, qc, level, reading
Task: Retrieve lon from drought_index with reading above the SUM(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025736 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, type, lat, reading
Sensor: drought_index | fields: lon, depth, reading, qc
Task: Retrieve value from dew_point with depth above the AVG(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025737 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: value, lat, depth, unit
Sensor: temperature | fields: lon, value, type, unit
Task: Get level from frost where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025738 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, level, depth, qc
Sensor: pressure | fields: reading, level, ts, lat
Task: Retrieve value from cloud_cover with reading above the SUM(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025739 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lat, lon, ts, type
Sensor: evaporation | fields: ts, level, reading, depth
Task: Retrieve reading from humidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025740 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: type, level, depth, qc
Sensor: rainfall | fields: reading, lat, type, ts
Task: Get lon from turbidity where value exceeds the minimum reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025741 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, lat, value, lon
Sensor: turbidity | fields: unit, lon, lat, depth
Task: Fetch lat from frost that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025742 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: ts, depth, reading, value
Sensor: rainfall | fields: reading, value, lat, level
Task: Fetch value from drought_index where value is greater than the minimum of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025743 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, level, ts, qc
Sensor: soil_moisture | fields: type, ts, lat, lon
Task: Fetch reading from evaporation where unit exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025744 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, ts, depth, value
Sensor: uv_index | fields: type, level, lon, ts
Task: Retrieve lon from dew_point that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025745 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, lat, type, ts
Sensor: dew_point | fields: qc, depth, lat, unit
Task: Retrieve level from snow_depth with value above the MAX(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025746 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: unit, value, lon, depth
Sensor: evaporation | fields: depth, ts, level, value
Task: Fetch level from visibility where depth is greater than the minimum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025747 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, type, lon, lat
Sensor: rainfall | fields: type, reading, level, lat
Task: Get lat from evaporation where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025748 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, depth, ts, unit
Sensor: cloud_cover | fields: ts, lat, level, reading
Task: Fetch level from drought_index where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025749 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, type, level, ts
Sensor: soil_moisture | fields: level, lat, unit, lon
Task: Retrieve depth from air_quality that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025750 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, reading, unit, value
Sensor: cloud_cover | fields: qc, type, lat, depth
Task: Get lat from humidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025751 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, reading, unit
Sensor: frost | fields: lat, reading, ts, depth
Task: Fetch depth from turbidity where depth is greater than the average of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025752 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: ts, level, type, unit
Sensor: soil_moisture | fields: reading, unit, value, qc
Task: Fetch lon from pressure where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025753 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, ts, level, value
Sensor: snow_depth | fields: lat, ts, depth, reading
Task: Fetch depth from lightning where ts exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025754 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, qc, level, unit
Sensor: wind_speed | fields: value, depth, unit, type
Task: Retrieve lon from drought_index with reading above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025755 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, lat, ts, reading
Sensor: pressure | fields: depth, reading, ts, unit
Task: Retrieve reading from frost with reading above the SUM(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025756 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, depth, level, lat
Sensor: rainfall | fields: unit, depth, qc, type
Task: Get level from snow_depth where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025757 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, lat, value, depth
Sensor: uv_index | fields: unit, type, lat, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025758 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, depth, reading, level
Sensor: evaporation | fields: value, qc, depth, lat
Task: Retrieve lat from rainfall whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025759 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: type, lon, depth, reading
Sensor: air_quality | fields: qc, lon, reading, depth
Task: Retrieve value from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025760 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, lat, value, reading
Sensor: sunlight | fields: depth, lat, lon, value
Task: Get value from air_quality where value exceeds the maximum depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025761 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, unit, type, level
Sensor: wind_speed | fields: reading, qc, depth, ts
Task: Fetch reading from air_quality where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025762 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, ts, value, type
Sensor: dew_point | fields: lon, qc, type, value
Task: Retrieve depth from wind_speed that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025763 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, value, reading
Sensor: snow_depth | fields: lat, depth, qc, type
Task: Fetch lat from visibility where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025764 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, lat, unit, qc
Sensor: wind_speed | fields: reading, lon, depth, value
Task: Fetch lat from pressure where reading is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025765 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, reading, ts, lat
Sensor: temperature | fields: lon, value, reading, ts
Task: Retrieve lat from drought_index with value above the AVG(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025766 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: depth, level, value, unit
Sensor: evaporation | fields: type, depth, ts, unit
Task: Get level from visibility where reading exceeds the count of reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025767 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: reading, qc, unit, type
Sensor: humidity | fields: qc, reading, type, lon
Task: Get depth from temperature where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025768 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, unit, type, depth
Sensor: drought_index | fields: lat, qc, lon, type
Task: Get level from soil_moisture where reading exceeds the maximum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025769 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: level, unit, value, lon
Sensor: dew_point | fields: lat, qc, unit, reading
Task: Retrieve depth from turbidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025770 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lat, ts, value
Sensor: snow_depth | fields: level, lon, type, lat
Task: Fetch reading from sunlight where reading is greater than the average of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025771 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, reading, type, unit
Sensor: rainfall | fields: type, lat, lon, reading
Task: Retrieve reading from sunlight whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025772 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, type, ts, lat
Sensor: cloud_cover | fields: ts, type, depth, value
Task: Retrieve lon from lightning that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025773 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: level, unit, lon, value
Sensor: temperature | fields: ts, type, value, lon
Task: Fetch lat from turbidity where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025774 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, level, value, lat
Sensor: lightning | fields: lon, value, type, lat
Task: Retrieve reading from frost whose depth is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025775 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: reading, depth, value, qc
Sensor: turbidity | fields: qc, depth, type, ts
Task: Fetch level from rainfall where reading is greater than the minimum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025776 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, qc, lat, value
Sensor: wind_speed | fields: ts, level, reading, value
Task: Retrieve value from sunlight whose depth is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025777 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lat, depth, lon
Sensor: air_quality | fields: type, qc, reading, lat
Task: Fetch lat from wind_speed where depth is greater than the average of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025778 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: depth, value, qc, level
Sensor: dew_point | fields: depth, value, qc, ts
Task: Fetch depth from uv_index where value is greater than the average of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025779 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, type, unit, qc
Sensor: dew_point | fields: lon, reading, level, value
Task: Retrieve lat from cloud_cover whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025780 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, value, unit, depth
Sensor: air_quality | fields: type, ts, level, value
Task: Fetch value from visibility that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025781 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lon, qc, type
Sensor: lightning | fields: level, lon, value, reading
Task: Get depth from wind_speed where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025782 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, level, depth, qc
Sensor: pressure | fields: value, qc, ts, reading
Task: Fetch value from soil_moisture where value is greater than the minimum of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025783 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: depth, lat, type, unit
Sensor: uv_index | fields: type, qc, level, reading
Task: Get reading from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025784 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, level, value, reading
Sensor: soil_moisture | fields: value, lat, type, depth
Task: Retrieve depth from pressure that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025785 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: depth, lat, type, lon
Sensor: uv_index | fields: type, reading, depth, lat
Task: Fetch reading from drought_index where unit exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025786 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: ts, qc, unit, lon
Sensor: sunlight | fields: depth, lon, lat, ts
Task: Fetch level from frost that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025787 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, value, reading, ts
Sensor: drought_index | fields: depth, type, qc, level
Task: Get value from wind_speed where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025788 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: level, depth, qc, unit
Sensor: temperature | fields: level, unit, value, ts
Task: Retrieve lon from dew_point that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025789 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, value, qc, reading
Sensor: sunlight | fields: ts, depth, unit, lon
Task: Retrieve depth from rainfall whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025790 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: value, lon, depth, type
Sensor: pressure | fields: value, type, depth, lon
Task: Retrieve reading from air_quality whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025791 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: type, unit, reading, lat
Sensor: frost | fields: value, type, reading, qc
Task: Fetch lon from sunlight where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025792 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, level, lon, type
Sensor: wind_speed | fields: level, unit, ts, depth
Task: Get reading from snow_depth where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025793 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, qc, depth
Sensor: dew_point | fields: unit, qc, lon, reading
Task: Fetch reading from temperature where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025794 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, depth, reading, lon
Sensor: soil_moisture | fields: reading, level, value, ts
Task: Get value from temperature where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025795 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, value, lat
Sensor: uv_index | fields: type, lat, value, level
Task: Fetch lat from evaporation where depth is greater than the average of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025796 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, depth, qc, unit
Sensor: sunlight | fields: unit, type, qc, ts
Task: Retrieve value from lightning whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025797 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, ts, lat
Sensor: wind_speed | fields: level, lon, type, reading
Task: Get reading from snow_depth where ts appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_025798 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, lat, unit, reading
Sensor: humidity | fields: depth, ts, type, unit
Task: Retrieve value from rainfall with depth above the SUM(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_025799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.