variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, value, qc, depth
Sensor: sunlight | fields: lon, unit, ts, depth
Task: Fetch reading from visibility where value is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052100 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, value, ts, unit
Sensor: visibility | fields: lat, unit, lon, qc
Task: Get lat from pressure where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052101 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, reading, ts, level
Sensor: temperature | fields: qc, reading, level, lat
Task: Retrieve depth from lightning whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052102 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, level, unit, ts
Sensor: cloud_cover | fields: reading, level, ts, depth
Task: Retrieve value from frost that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052103 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, lon, type, lat
Sensor: pressure | fields: level, lat, value, unit
Task: Fetch lat from visibility where depth is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052104 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, lat, unit
Sensor: cloud_cover | fields: depth, lon, lat, reading
Task: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052105 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: qc, unit, ts, lon
Sensor: rainfall | fields: qc, unit, reading, type
Task: Get level from frost where depth exceeds the total depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052106 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, unit, lon, value
Sensor: dew_point | fields: reading, value, lon, ts
Task: Fetch depth from air_quality where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052107 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, lat, depth, level
Sensor: lightning | fields: type, value, lat, ts
Task: Retrieve level from pressure that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052108 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, value, lon
Sensor: snow_depth | fields: reading, lon, ts, lat
Task: Fetch level from cloud_cover that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052109 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, depth, level, qc
Sensor: snow_depth | fields: ts, unit, reading, lon
Task: Get value from lightning where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052110 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, unit, qc, reading
Sensor: pressure | fields: lat, qc, level, reading
Task: Get lat from rainfall where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052111 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, lat, depth, value
Sensor: wind_speed | fields: unit, level, type, lat
Task: Fetch value from visibility where value is greater than the maximum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052112 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, ts, value, lat
Sensor: soil_moisture | fields: type, lon, lat, value
Task: Retrieve value from frost with depth above the MIN(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052113 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, depth, level, unit
Sensor: evaporation | fields: lon, reading, level, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052114 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, value, unit, reading
Sensor: visibility | fields: qc, value, lon, reading
Task: Get level from frost where ts appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052115 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, ts, reading, value
Sensor: soil_moisture | fields: lon, depth, reading, lat
Task: Fetch reading from evaporation where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052116 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, lat, qc, depth
Sensor: frost | fields: unit, reading, lon, level
Task: Get lat 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="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052117 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lon, qc, level, value
Sensor: cloud_cover | fields: level, qc, depth, reading
Task: Retrieve lat from rainfall with reading above the MIN(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052118 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, unit, lat
Sensor: snow_depth | fields: ts, lat, reading, value
Task: Retrieve lon from sunlight that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052119 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, type, qc, lat
Sensor: sunlight | fields: lat, qc, lon, level
Task: Get lon from turbidity where reading exceeds the average reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052120 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, ts, lon, unit
Sensor: air_quality | fields: ts, lat, type, value
Task: Retrieve depth from rainfall with reading above the SUM(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052121 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, value, qc, depth
Sensor: evaporation | fields: lon, ts, depth, qc
Task: Fetch value from snow_depth that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052122 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, depth, lon, unit
Sensor: dew_point | fields: type, lon, reading, qc
Task: Get value from evaporation where value exceeds the count of reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052123 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, reading, type, level
Sensor: evaporation | fields: reading, lon, lat, type
Task: Retrieve depth from visibility that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052124 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, lat, depth, ts
Sensor: air_quality | fields: lat, level, lon, type
Task: Fetch level from temperature that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052125 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, type, value, lon
Sensor: frost | fields: unit, level, reading, qc
Task: Get lat from lightning where depth exceeds the total reading from frost for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052126 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, qc, type, reading
Sensor: air_quality | fields: ts, lon, reading, type
Task: Get level from snow_depth where depth exceeds the maximum depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052127 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, ts, depth, type
Sensor: turbidity | fields: reading, level, lat, value
Task: Retrieve lon from wind_speed with value above the SUM(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052128 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, level, unit, qc
Sensor: temperature | fields: unit, lon, depth, value
Task: Retrieve reading from frost with depth above the MAX(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052129 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, ts, unit, reading
Sensor: temperature | fields: reading, level, value, type
Task: Retrieve lat from snow_depth whose type is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052130 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, level, lon, type
Sensor: evaporation | fields: ts, value, unit, lat
Task: Retrieve reading from visibility whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052131 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, lon, unit, ts
Sensor: air_quality | fields: qc, reading, level, unit
Task: Get lon from sunlight where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052132 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, ts, lon, qc
Sensor: soil_moisture | fields: type, value, lat, unit
Task: Fetch lat from turbidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052133 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, value, unit, qc
Sensor: frost | fields: lat, type, level, lon
Task: Get lon from cloud_cover where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052134 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, level, depth, lon
Sensor: visibility | fields: lon, type, value, qc
Task: Retrieve value from turbidity with value above the AVG(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052135 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, lat, reading, value
Sensor: uv_index | fields: lat, ts, lon, type
Task: Retrieve lat from drought_index whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052136 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, type, qc, value
Sensor: air_quality | fields: type, ts, level, qc
Task: Get reading from drought_index where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052137 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, qc, value, level
Sensor: pressure | fields: unit, ts, lat, qc
Task: Get value from turbidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052138 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, ts, unit, level
Sensor: temperature | fields: reading, lon, value, type
Task: Fetch value from uv_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052139 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, ts, unit, reading
Sensor: evaporation | fields: ts, value, unit, depth
Task: Get value from soil_moisture where qc appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052140 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, depth, lon, level
Sensor: lightning | fields: unit, lon, depth, value
Task: Fetch lon from temperature that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052141 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, level, lon, unit
Sensor: uv_index | fields: depth, value, lon, unit
Task: Get lon from wind_speed where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052142 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, type, qc, level
Sensor: rainfall | fields: qc, level, reading, lon
Task: Retrieve level from drought_index that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052143 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, value, ts, depth
Sensor: snow_depth | fields: unit, level, value, reading
Task: Get depth from soil_moisture where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052144 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, level, qc, depth
Sensor: dew_point | fields: type, depth, value, ts
Task: Get lat from rainfall where qc appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052145 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, unit, depth, type
Sensor: uv_index | fields: lat, unit, lon, reading
Task: Retrieve lon from visibility whose unit is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052146 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, unit, type, reading
Sensor: drought_index | fields: lat, level, depth, value
Task: Fetch reading from pressure where depth is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052147 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, level, qc, type
Sensor: drought_index | fields: ts, value, qc, lon
Task: Fetch lat from temperature where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052148 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lat, lon, type
Sensor: lightning | fields: level, lon, reading, depth
Task: Get value from evaporation where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052149 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, ts, level
Sensor: temperature | fields: level, qc, unit, type
Task: Fetch depth from air_quality that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052150 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, reading, ts, type
Sensor: sunlight | fields: ts, level, lat, reading
Task: Get depth from snow_depth where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052151 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: unit, level, ts, qc
Sensor: frost | fields: value, lon, unit, reading
Task: Retrieve level from lightning that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052152 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, lon, type, unit
Sensor: dew_point | fields: ts, value, unit, depth
Task: Get lat from air_quality where depth exceeds the minimum reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052153 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, value, reading, level
Sensor: pressure | fields: lat, level, qc, value
Task: Fetch value from evaporation that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052154 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: level, lat, type, lon
Sensor: turbidity | fields: depth, ts, type, level
Task: Fetch value from frost where value is greater than the total of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052155 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, value, type, qc
Sensor: evaporation | fields: depth, lat, unit, ts
Task: Fetch lon from drought_index where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052156 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, qc, lat, ts
Sensor: turbidity | fields: qc, level, lon, lat
Task: Fetch level from wind_speed where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052157 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, type, depth, reading
Sensor: frost | fields: level, ts, value, lon
Task: Retrieve level from drought_index with value above the MIN(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052158 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, lon, ts, level
Sensor: snow_depth | fields: unit, value, reading, level
Task: Retrieve depth from turbidity whose qc is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052159 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, qc, unit, lon
Sensor: cloud_cover | fields: ts, level, lat, qc
Task: Fetch lat from drought_index where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052160 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, qc, depth, lat
Sensor: cloud_cover | fields: reading, level, lat, type
Task: Fetch value from uv_index where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052161 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, ts, lon
Sensor: visibility | fields: lon, level, unit, reading
Task: Fetch level from air_quality where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052162 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, type, ts, qc
Sensor: sunlight | fields: ts, unit, lat, lon
Task: Get value from air_quality where reading exceeds the count of reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052163 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lat, type, unit
Sensor: pressure | fields: type, lat, level, depth
Task: Fetch value from sunlight that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052164 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, depth, lat, reading
Sensor: evaporation | fields: value, depth, qc, reading
Task: Retrieve depth from snow_depth with reading above the AVG(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052165 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, ts, lat
Sensor: drought_index | fields: unit, lat, reading, ts
Task: Get reading from temperature where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052166 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, qc, reading, unit
Sensor: cloud_cover | fields: reading, qc, lon, depth
Task: Retrieve reading from sunlight whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052167 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, lat, type, ts
Sensor: evaporation | fields: type, reading, qc, depth
Task: Retrieve value from pressure with depth above the MIN(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"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_052168 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: value, level, depth, lon
Sensor: air_quality | fields: value, lon, unit, depth
Task: Retrieve depth from visibility whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052169 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, lon, level, value
Sensor: snow_depth | fields: ts, value, type, reading
Task: Retrieve lat from humidity with reading above the AVG(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052170 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, value, unit, ts
Sensor: rainfall | fields: lon, depth, reading, qc
Task: Get reading from turbidity where unit appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052171 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, lat, level, qc
Sensor: pressure | fields: type, ts, value, depth
Task: Fetch level from humidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052172 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: ts, depth, level, lat
Sensor: sunlight | fields: reading, unit, type, lat
Task: Fetch value from pressure where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052173 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, value, level, reading
Sensor: temperature | fields: lat, reading, depth, value
Task: Fetch value from drought_index where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052174 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: depth, qc, value, type
Sensor: snow_depth | fields: value, depth, unit, qc
Task: Fetch value from humidity that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052175 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: qc, ts, type, lat
Sensor: sunlight | fields: reading, lat, value, unit
Task: Fetch reading from drought_index that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052176 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, level, type, value
Sensor: humidity | fields: type, qc, unit, lat
Task: Retrieve level from wind_speed whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052177 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, depth, value, lat
Sensor: turbidity | fields: type, lat, lon, ts
Task: Retrieve value from snow_depth with depth above the COUNT(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052178 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lat, lon, qc
Sensor: soil_moisture | fields: type, unit, qc, value
Task: Get lon from wind_speed where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052179 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, reading, value, qc
Sensor: lightning | fields: lon, lat, value, reading
Task: Retrieve reading from turbidity whose type is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052180 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: ts, type, lon, unit
Sensor: frost | fields: lat, lon, qc, unit
Task: Retrieve reading from sunlight with value above the COUNT(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052181 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, level, value, qc
Sensor: frost | fields: qc, level, lat, value
Task: Fetch depth from visibility where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052182 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, value, level, lon
Sensor: visibility | fields: lat, qc, value, depth
Task: Get value from rainfall where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052183 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, depth, unit, value
Sensor: frost | fields: lon, level, type, value
Task: Get lon from snow_depth where unit appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052184 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, level, lat, qc
Sensor: frost | fields: ts, qc, depth, unit
Task: Get lon from temperature where type appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052185 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, reading, lat
Sensor: rainfall | fields: ts, lon, type, value
Task: Get lat from lightning where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052186 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: level, value, type, depth
Sensor: humidity | fields: unit, qc, type, lat
Task: Retrieve depth from drought_index that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052187 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, ts, lon, qc
Sensor: soil_moisture | fields: depth, level, lat, reading
Task: Get depth from lightning where type appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052188 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, level, type, ts
Sensor: visibility | fields: value, lat, type, level
Task: Get lon from frost where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052189 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, depth, unit, lon
Sensor: soil_moisture | fields: value, depth, unit, reading
Task: Retrieve value from drought_index with depth above the MAX(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052190 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: level, value, type, reading
Sensor: uv_index | fields: lat, ts, reading, type
Task: Get level from drought_index where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052191 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, value, lon, unit
Sensor: lightning | fields: unit, lat, value, qc
Task: Fetch reading from drought_index where reading is greater than the minimum of value in lightning for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052192 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, depth, type, level
Sensor: pressure | fields: reading, depth, qc, level
Task: Retrieve value from rainfall with reading above the COUNT(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052193 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, qc, level, lon
Sensor: soil_moisture | fields: value, qc, depth, ts
Task: Retrieve depth from air_quality whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052194 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, qc, level, lat
Sensor: turbidity | fields: value, unit, ts, lon
Task: Fetch level from temperature where type exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052195 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, value, unit, qc
Sensor: lightning | fields: type, reading, depth, level
Task: Get reading from uv_index where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052196 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, ts, value, lon
Sensor: rainfall | fields: lon, lat, ts, type
Task: Fetch depth from turbidity where value is greater than the count of of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052197 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, depth, qc, lat
Sensor: dew_point | fields: unit, qc, ts, level
Task: Retrieve lat from sunlight with reading above the MIN(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052198 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, lat, unit, reading
Sensor: snow_depth | fields: lon, level, depth, lat
Task: Get value from air_quality where reading exceeds the maximum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.