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: visibility | code: clr | fields: unit, value, lon, lat
Sensor: frost | fields: lat, depth, lon, ts
Task: Get lon from visibility where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079900 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lon, unit, level, lat
Sensor: air_quality | fields: type, depth, ts, lat
Task: Get depth from sunlight where value exceeds the count of value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079901 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, ts, lon, qc
Sensor: uv_index | fields: lon, value, type, depth
Task: Retrieve lat from temperature that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079902 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, unit, value, reading
Sensor: uv_index | fields: level, qc, unit, ts
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079903 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, level, type, reading
Sensor: cloud_cover | fields: unit, reading, lat, qc
Task: Retrieve reading from dew_point that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079904 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, lat, lon, level
Sensor: soil_moisture | fields: lon, level, type, qc
Task: Fetch lat from temperature where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079905 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, reading, ts, type
Sensor: lightning | fields: lon, unit, level, ts
Task: Fetch depth from wind_speed where reading is greater than the total of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079906 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, level, depth, type
Sensor: turbidity | fields: reading, lat, lon, value
Task: Fetch value from drought_index where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079907 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, depth, reading, type
Sensor: uv_index | fields: lon, lat, depth, value
Task: Fetch lat from evaporation where reading is greater than the average of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079908 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, qc, type, lon
Sensor: turbidity | fields: qc, unit, lon, value
Task: Fetch lon from soil_moisture where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079909 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, unit, value, type
Sensor: pressure | fields: value, lat, depth, level
Task: Retrieve lon from humidity with depth above the SUM(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079910 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: ts, reading, unit, lat
Sensor: sunlight | fields: value, type, qc, lat
Task: Fetch lat from pressure where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079911 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, type, value, lat
Sensor: wind_speed | fields: lat, qc, unit, type
Task: Get value from cloud_cover where depth exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079912 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: value, ts, lon, level
Sensor: wind_speed | fields: depth, ts, lat, qc
Task: Fetch lon from snow_depth where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079913 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, lat, level, type
Sensor: frost | fields: type, lon, lat, reading
Task: Fetch lat from turbidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079914 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, lon, level, reading
Sensor: dew_point | fields: lat, value, reading, unit
Task: Fetch level from air_quality that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079915 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, lat, value, qc
Sensor: visibility | fields: unit, type, ts, lon
Task: Fetch reading from temperature where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079916 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, type, ts, lat
Sensor: snow_depth | fields: value, ts, reading, qc
Task: Get value from frost where value exceeds the average depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079917 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: level, type, value, qc
Sensor: snow_depth | fields: unit, lon, qc, level
Task: Get value from frost where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079918 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, unit, lat
Sensor: visibility | fields: depth, type, qc, lat
Task: Retrieve value from temperature that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079919 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: level, reading, unit, ts
Sensor: temperature | fields: qc, ts, type, lat
Task: Get lat from visibility where value exceeds the count of value from temperature for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079920 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, level, ts, type
Sensor: evaporation | fields: lon, type, reading, lat
Task: Fetch level from frost where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079921 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lon, value, depth
Sensor: evaporation | fields: lon, value, level, depth
Task: Retrieve value from wind_speed that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079922 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, qc, value, reading
Sensor: humidity | fields: unit, ts, depth, level
Task: Get depth from cloud_cover where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079923 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, type, lat, unit
Sensor: frost | fields: qc, unit, lon, lat
Task: Get lat from pressure where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079924 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, depth, lon, unit
Sensor: lightning | fields: level, lat, qc, type
Task: Fetch value from pressure where depth is greater than the total of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079925 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: level, ts, unit, depth
Sensor: snow_depth | fields: unit, depth, ts, type
Task: Retrieve reading from air_quality that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079926 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, reading, lon, lat
Sensor: drought_index | fields: lon, value, reading, type
Task: Retrieve depth from soil_moisture that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079927 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lat, level, reading, depth
Sensor: dew_point | fields: value, level, ts, type
Task: Fetch lon from temperature that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079928 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, lon, value, lat
Sensor: air_quality | fields: value, unit, ts, level
Task: Retrieve depth from dew_point with reading above the MAX(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079929 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, unit, type, lat
Sensor: rainfall | fields: unit, reading, qc, lon
Task: Fetch lat from visibility that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079930 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, level, ts, lon
Sensor: wind_speed | fields: ts, lat, lon, unit
Task: Fetch lon from sunlight that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079931 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, lat, value, reading
Sensor: visibility | fields: lon, ts, value, unit
Task: Get value from lightning where reading exceeds the total depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079932 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: type, level, lat, ts
Sensor: visibility | fields: lat, lon, unit, type
Task: Get lon from drought_index where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079933 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: reading, level, lat, type
Sensor: rainfall | fields: value, qc, type, lon
Task: Fetch value from frost where reading is greater than the count of of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079934 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, value, lat, ts
Sensor: dew_point | fields: type, lat, reading, ts
Task: Retrieve value from drought_index with depth above the MIN(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079935 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, qc, type, lat
Sensor: snow_depth | fields: type, level, lon, ts
Task: Get lon from wind_speed where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079936 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: qc, level, lon, type
Sensor: evaporation | fields: unit, lat, reading, ts
Task: Retrieve value from air_quality with reading above the COUNT(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079937 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: type, depth, qc, lon
Sensor: sunlight | fields: value, lon, level, type
Task: Get depth from lightning where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079938 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lon, unit, type, lat
Sensor: frost | fields: type, unit, lon, value
Task: Fetch value from drought_index where depth is greater than the total of depth in frost for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079939 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, ts, unit, depth
Sensor: dew_point | fields: unit, lon, reading, value
Task: Get lat from pressure where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079940 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, reading, value, lat
Sensor: dew_point | fields: reading, type, unit, depth
Task: Fetch lon from rainfall where qc exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079941 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, type, lon, unit
Sensor: visibility | fields: qc, type, lat, ts
Task: Fetch reading from dew_point where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079942 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, ts, level, lon
Sensor: humidity | fields: level, unit, lat, ts
Task: Retrieve lon from pressure whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079943 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, ts, level, lat
Sensor: cloud_cover | fields: lat, lon, type, ts
Task: Get lon from wind_speed where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079944 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: reading, lon, level, qc
Sensor: evaporation | fields: unit, level, ts, reading
Task: Fetch depth from turbidity that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079945 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, reading, level, type
Sensor: air_quality | fields: qc, reading, lon, ts
Task: Retrieve depth from evaporation that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079946 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, type, depth, lat
Sensor: sunlight | fields: level, lat, reading, lon
Task: Get reading from drought_index where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079947 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, depth, qc, lon
Sensor: frost | fields: reading, ts, type, unit
Task: Get value from cloud_cover where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079948 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: unit, lon, qc, ts
Sensor: evaporation | fields: lon, reading, depth, level
Task: Fetch reading from dew_point where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079949 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, reading, unit, level
Sensor: cloud_cover | fields: ts, value, depth, qc
Task: Fetch value from snow_depth where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079950 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: unit, qc, value, depth
Sensor: turbidity | fields: lat, level, reading, value
Task: Fetch depth from uv_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079951 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, depth, level, unit
Sensor: visibility | fields: level, qc, reading, depth
Task: Get depth from wind_speed where reading exceeds the minimum depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079952 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, qc, value, level
Sensor: turbidity | fields: lon, unit, level, value
Task: Fetch reading from cloud_cover where depth is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079953 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, lat, type, unit
Sensor: wind_speed | fields: reading, lon, depth, lat
Task: Retrieve lat from evaporation whose unit is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079954 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, depth, lat, lon
Sensor: air_quality | fields: value, qc, depth, unit
Task: Fetch reading from drought_index that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079955 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, level, depth, reading
Sensor: visibility | fields: reading, qc, level, depth
Task: Fetch lon from sunlight where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079956 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, lon, qc, unit
Sensor: dew_point | fields: value, lon, lat, unit
Task: Get reading from frost where reading exceeds the average value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079957 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: depth, level, lat, qc
Sensor: pressure | fields: value, level, depth, unit
Task: Retrieve lon from visibility with value above the COUNT(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079958 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, depth, lon, level
Sensor: evaporation | fields: lat, ts, qc, reading
Task: Retrieve lon from lightning whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079959 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, qc, unit, type
Sensor: pressure | fields: value, unit, level, type
Task: Fetch level from drought_index where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079960 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: qc, depth, value, lon
Sensor: wind_speed | fields: lat, level, value, depth
Task: Fetch level from evaporation where unit exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079961 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, ts, unit, lon
Sensor: rainfall | fields: type, ts, depth, level
Task: Get lon from air_quality where depth exceeds the average value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079962 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, lat, depth, type
Sensor: air_quality | fields: depth, level, lon, value
Task: Get depth from visibility where value exceeds the total depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079963 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, unit, ts, lat
Sensor: wind_speed | fields: lon, level, depth, unit
Task: Retrieve level from cloud_cover that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079964 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, qc, ts, reading
Sensor: snow_depth | fields: depth, ts, lat, lon
Task: Get lat from air_quality where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079965 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, level, depth, ts
Sensor: sunlight | fields: ts, value, level, unit
Task: Retrieve level from lightning that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079966 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: depth, lat, value, reading
Sensor: pressure | fields: depth, ts, level, reading
Task: Fetch value from sunlight where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079967 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, level, ts
Sensor: frost | fields: depth, level, unit, ts
Task: Retrieve lat from air_quality with depth above the COUNT(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079968 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: ts, qc, unit, depth
Sensor: soil_moisture | fields: qc, depth, ts, lat
Task: Get lon from frost where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079969 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lon, type, value
Sensor: sunlight | fields: type, lat, reading, qc
Task: Get value from rainfall where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079970 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: unit, qc, lat, depth
Sensor: air_quality | fields: reading, unit, value, qc
Task: Retrieve reading from frost with depth above the MIN(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079971 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: reading, qc, lon, unit
Sensor: air_quality | fields: type, value, level, ts
Task: Get value from turbidity where unit appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079972 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, value, qc, depth
Sensor: uv_index | fields: lon, ts, qc, value
Task: Get lon from wind_speed where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079973 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, ts, lon, value
Sensor: air_quality | fields: lon, type, value, lat
Task: Fetch lon from visibility that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079974 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, lon, depth, ts
Sensor: rainfall | fields: level, reading, ts, lon
Task: Fetch level from wind_speed where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079975 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, type, unit, level
Sensor: snow_depth | fields: value, lat, unit, qc
Task: Get lat from lightning where depth exceeds the minimum reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079976 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, type, unit, value
Sensor: drought_index | fields: unit, lat, ts, reading
Task: Get lon from snow_depth where ts appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079977 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, lat, type, lon
Sensor: visibility | fields: ts, unit, reading, level
Task: Retrieve lat from frost whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079978 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, lat, value, unit
Sensor: air_quality | fields: value, level, depth, reading
Task: Get lat from drought_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079979 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, type, level, lat
Sensor: temperature | fields: level, lat, ts, depth
Task: Retrieve value from snow_depth that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079980 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, qc, unit, lon
Sensor: temperature | fields: value, reading, qc, ts
Task: Get level from sunlight where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079981 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, lat, unit, level
Sensor: soil_moisture | fields: depth, value, ts, lat
Task: Fetch value from wind_speed that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079982 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, ts, unit, qc
Sensor: cloud_cover | fields: depth, lon, ts, type
Task: Get lat from evaporation where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079983 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, depth, lat, lon
Sensor: snow_depth | fields: type, qc, level, ts
Task: Fetch value from frost that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079984 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, value, lat, reading
Sensor: humidity | fields: level, depth, value, type
Task: Fetch reading from lightning where value is greater than the total of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"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_079985 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, lat, reading, qc
Sensor: snow_depth | fields: reading, value, level, depth
Task: Retrieve lat from visibility with depth above the MAX(reading) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079986 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, lon, depth, level
Sensor: lightning | fields: unit, lon, depth, qc
Task: Fetch level from sunlight that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079987 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, ts, qc, type
Sensor: wind_speed | fields: lat, depth, reading, lon
Task: Get depth from sunlight where unit appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079988 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: value, qc, lon, unit
Sensor: rainfall | fields: lat, unit, depth, ts
Task: Fetch lat from frost that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079989 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, reading, qc, ts
Sensor: pressure | fields: level, unit, type, value
Task: Retrieve lon from temperature whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079990 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, unit, reading, depth
Sensor: dew_point | fields: type, value, depth, ts
Task: Get value from wind_speed where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079991 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: depth, reading, level, lat
Sensor: evaporation | fields: depth, lat, lon, level
Task: Retrieve reading from rainfall whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079992 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: unit, lon, reading, depth
Sensor: humidity | fields: lon, depth, ts, qc
Task: Retrieve reading from pressure that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079993 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, level, ts, qc
Sensor: uv_index | fields: ts, lat, depth, lon
Task: Fetch value from evaporation that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079994 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, lat, reading, ts
Sensor: sunlight | fields: level, ts, lat, reading
Task: Fetch lon from pressure that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079995 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, depth, level, qc
Sensor: humidity | fields: lat, unit, reading, ts
Task: Fetch reading from soil_moisture that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079996 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: type, reading, ts, value
Sensor: turbidity | fields: lon, qc, lat, value
Task: Get value from frost where qc appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079997 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, type, qc, unit
Sensor: humidity | fields: ts, level, value, lon
Task: Fetch reading from pressure that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079998 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, qc, lat, ts
Sensor: snow_depth | fields: value, depth, qc, type
Task: Retrieve depth from rainfall with reading above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.