variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, unit, depth, lat
Sensor: soil_moisture | fields: reading, lon, depth, type
Task: Fetch lon from pressure that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014600 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, ts, lat, depth
Sensor: wind_speed | fields: value, depth, ts, qc
Task: Retrieve level from humidity that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014601 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, level, reading
Sensor: cloud_cover | fields: reading, type, value, qc
Task: Get lon from sunlight where depth exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014602 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, lon, reading, ts
Sensor: lightning | fields: lat, unit, qc, level
Task: Get reading from soil_moisture where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014603 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: ts, type, lon, reading
Sensor: dew_point | fields: ts, type, value, reading
Task: Get value from temperature where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014604 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, qc, type, depth
Sensor: soil_moisture | fields: depth, type, reading, level
Task: Fetch value from pressure that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014605 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, ts, level, value
Sensor: dew_point | fields: reading, type, qc, ts
Task: Get reading from uv_index where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014606 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, value, lat
Sensor: pressure | fields: value, lat, unit, qc
Task: Fetch lat from uv_index where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014607 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lon, type, lat, qc
Sensor: humidity | fields: ts, type, reading, lat
Task: Fetch lon from temperature where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014608 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: depth, reading, level, value
Sensor: visibility | fields: lon, reading, lat, type
Task: Retrieve level from humidity with reading above the MAX(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014609 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, value, reading, type
Sensor: drought_index | fields: depth, unit, lat, lon
Task: Fetch value from rainfall that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014610 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, type, level, lat
Sensor: sunlight | fields: depth, lon, level, reading
Task: Retrieve lat from turbidity whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014611 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: reading, lat, value, lon
Sensor: wind_speed | fields: reading, lat, value, lon
Task: Retrieve value from turbidity that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014612 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, level, ts, type
Sensor: rainfall | fields: level, type, lon, unit
Task: Fetch lat from pressure that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014613 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, ts, qc, unit
Sensor: air_quality | fields: qc, unit, lon, depth
Task: Fetch value from temperature that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014614 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: qc, ts, reading, lon
Sensor: pressure | fields: unit, lon, qc, lat
Task: Get lat from air_quality where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014615 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: depth, type, lon, level
Sensor: snow_depth | fields: unit, depth, reading, qc
Task: Get value from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014616 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, lon, unit, type
Sensor: turbidity | fields: reading, qc, lon, value
Task: Get value from drought_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014617 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, lon, lat, ts
Sensor: air_quality | fields: depth, lat, reading, lon
Task: Fetch depth from humidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014618 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: reading, type, level, lon
Sensor: cloud_cover | fields: ts, lat, reading, level
Task: Retrieve lon from drought_index with depth above the MAX(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014619 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, qc, unit, reading
Sensor: turbidity | fields: qc, reading, ts, level
Task: Fetch level from dew_point where depth is greater than the count of of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014620 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, level, unit
Sensor: drought_index | fields: reading, ts, lat, unit
Task: Fetch value from sunlight where value is greater than the total of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014621 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: value, ts, lat, type
Sensor: pressure | fields: level, value, reading, type
Task: Get lat from air_quality where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014622 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: ts, value, level, type
Sensor: visibility | fields: qc, lon, ts, reading
Task: Get level from air_quality where value exceeds the minimum value from visibility for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014623 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, qc, lon, value
Sensor: turbidity | fields: unit, depth, lat, ts
Task: Get depth from rainfall where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014624 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, depth, lon, level
Sensor: wind_speed | fields: qc, depth, unit, value
Task: Retrieve reading from cloud_cover with depth above the AVG(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014625 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: type, lat, depth, ts
Sensor: air_quality | fields: qc, level, lat, depth
Task: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"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_014626 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, unit, qc, level
Sensor: uv_index | fields: lon, type, value, unit
Task: Fetch lon from lightning where depth is greater than the average of value in uv_index for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014627 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, value, reading, level
Sensor: frost | fields: type, lon, ts, value
Task: Get depth from air_quality where reading exceeds the maximum depth from frost for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014628 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, qc, type, value
Sensor: drought_index | fields: value, level, unit, lat
Task: Get level from humidity where value exceeds the count of reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014629 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, type, level
Sensor: frost | fields: lon, depth, reading, level
Task: Fetch lat from soil_moisture that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014630 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: level, reading, unit, lat
Sensor: frost | fields: reading, ts, value, qc
Task: Get lat from turbidity where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014631 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, reading, lon, type
Sensor: cloud_cover | fields: depth, ts, type, reading
Task: Retrieve level from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014632 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: unit, type, level, ts
Sensor: temperature | fields: qc, depth, lon, ts
Task: Fetch reading from rainfall that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014633 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lat, type, value, ts
Sensor: soil_moisture | fields: depth, level, unit, type
Task: Get value from frost where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014634 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, depth, level, type
Sensor: frost | fields: lat, type, lon, level
Task: Retrieve lon from drought_index whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014635 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, ts, lon, depth
Sensor: lightning | fields: lon, ts, depth, lat
Task: Retrieve reading from sunlight with reading above the SUM(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014636 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lat, level, depth, lon
Sensor: rainfall | fields: level, reading, lon, unit
Task: Retrieve reading from frost with depth above the MIN(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014637 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, depth, ts, unit
Sensor: humidity | fields: reading, qc, ts, unit
Task: Get value from pressure where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014638 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, qc, value
Sensor: uv_index | fields: value, depth, lat, ts
Task: Get lon from turbidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014639 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, ts, level, qc
Sensor: pressure | fields: qc, unit, lat, lon
Task: Fetch depth from frost where type exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014640 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, reading, qc, unit
Sensor: turbidity | fields: lon, unit, level, value
Task: Fetch value from wind_speed that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014641 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lon, reading, value
Sensor: frost | fields: level, lat, type, depth
Task: Retrieve lat from cloud_cover that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014642 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, lat, value, type
Sensor: air_quality | fields: value, type, depth, lat
Task: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014643 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, depth, ts, value
Sensor: temperature | fields: lat, ts, lon, depth
Task: Get lon from wind_speed where depth exceeds the maximum depth from temperature for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014644 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, type, ts, lat
Sensor: uv_index | fields: unit, reading, ts, lon
Task: Retrieve depth from drought_index with depth above the COUNT(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014645 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: level, lat, value, type
Sensor: rainfall | fields: ts, depth, qc, value
Task: Retrieve reading from turbidity with value above the MIN(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014646 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, depth, reading, lon
Sensor: soil_moisture | fields: lon, ts, depth, qc
Task: Fetch depth from uv_index that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014647 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, ts, depth, unit
Sensor: cloud_cover | fields: lat, level, qc, unit
Task: Get reading from drought_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014648 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, lon, lat, unit
Sensor: drought_index | fields: depth, lon, lat, reading
Task: Get lat from dew_point where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014649 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, value, qc, lat
Sensor: pressure | fields: unit, ts, lon, type
Task: Get value from visibility where reading exceeds the minimum value from pressure for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014650 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, level, unit, qc
Sensor: frost | fields: level, depth, lat, value
Task: Fetch depth from cloud_cover where depth is greater than the average of depth in frost for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014651 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, unit, lon, qc
Sensor: turbidity | fields: depth, reading, type, unit
Task: Get lat from cloud_cover where reading exceeds the minimum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014652 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, reading, level, lat
Sensor: wind_speed | fields: level, ts, lat, qc
Task: Fetch lon from evaporation where reading is greater than the average of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014653 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, level, lat, lon
Sensor: drought_index | fields: type, lon, depth, ts
Task: Get level from wind_speed where value exceeds the average depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014654 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, value, depth, unit
Sensor: evaporation | fields: lat, value, depth, unit
Task: Retrieve lon from lightning whose ts is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014655 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, depth, lon, level
Sensor: snow_depth | fields: lat, ts, unit, value
Task: Fetch level from humidity where depth is greater than the average of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014656 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, depth, unit, lon
Sensor: evaporation | fields: type, qc, unit, lat
Task: Retrieve level from cloud_cover with reading above the MAX(depth) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014657 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lat, qc, lon, unit
Sensor: pressure | fields: lat, unit, type, value
Task: Retrieve lat from uv_index that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014658 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, qc, lat
Sensor: air_quality | fields: unit, value, depth, reading
Task: Retrieve lat from soil_moisture whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014659 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, lon, ts, unit
Sensor: uv_index | fields: depth, lon, reading, value
Task: Fetch lat from lightning where value is greater than the total of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014660 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, lon, level, type
Sensor: turbidity | fields: type, level, qc, reading
Task: Get level from cloud_cover where depth exceeds the count of value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014661 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, reading, lat, value
Sensor: humidity | fields: lat, ts, value, qc
Task: Get depth from sunlight where reading exceeds the minimum value from humidity for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014662 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, reading, lat, ts
Sensor: uv_index | fields: lon, ts, depth, qc
Task: Get lat from drought_index where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014663 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, lon, qc, depth
Sensor: visibility | fields: depth, level, qc, lat
Task: Fetch lat from pressure where depth is greater than the average of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014664 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, lon, unit, qc
Sensor: pressure | fields: lat, type, value, qc
Task: Fetch depth from sunlight where depth is greater than the total of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014665 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, value, depth, reading
Sensor: rainfall | fields: depth, level, ts, unit
Task: Fetch depth from frost that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014666 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: qc, ts, lat, depth
Sensor: turbidity | fields: unit, reading, type, lat
Task: Retrieve level from temperature that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014667 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, qc, lon
Sensor: temperature | fields: depth, level, lat, qc
Task: Get level from visibility where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014668 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, ts, value, reading
Sensor: drought_index | fields: reading, depth, type, value
Task: Fetch reading from soil_moisture where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014669 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: ts, depth, value, reading
Sensor: dew_point | fields: lon, lat, level, reading
Task: Fetch lon from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014670 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, lon, value, depth
Sensor: drought_index | fields: qc, reading, type, lat
Task: Retrieve lat from snow_depth whose depth is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014671 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, level, lat, lon
Sensor: cloud_cover | fields: depth, type, ts, lon
Task: Get value from wind_speed where value exceeds the count of reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014672 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, reading, level, ts
Sensor: turbidity | fields: unit, reading, lon, level
Task: Get value from visibility where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014673 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: reading, type, lon, lat
Sensor: evaporation | fields: ts, lat, depth, qc
Task: Retrieve lon from dew_point that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014674 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: reading, type, level, ts
Sensor: evaporation | fields: depth, unit, reading, ts
Task: Retrieve value from humidity whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014675 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, type, lat, level
Sensor: uv_index | fields: unit, value, level, reading
Task: Fetch reading from cloud_cover where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014676 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, lon, qc
Sensor: sunlight | fields: depth, unit, lat, value
Task: Fetch level from lightning where ts exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014677 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, qc, value
Sensor: sunlight | fields: level, type, reading, lat
Task: Fetch reading from air_quality that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014678 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, ts, lat, lon
Sensor: snow_depth | fields: ts, unit, depth, value
Task: Retrieve depth from cloud_cover whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014679 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, reading, level, depth
Sensor: cloud_cover | fields: level, lat, reading, type
Task: Retrieve level from frost with value above the SUM(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014680 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, type, ts
Sensor: snow_depth | fields: lat, depth, value, qc
Task: Fetch lon from soil_moisture that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014681 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lat, level, ts
Sensor: turbidity | fields: level, qc, ts, depth
Task: Retrieve lat from visibility that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014682 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, value, reading
Sensor: sunlight | fields: qc, ts, lon, unit
Task: Get value from dew_point where depth exceeds the maximum reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014683 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, lon, lat, ts
Sensor: turbidity | fields: level, ts, depth, type
Task: Get value from lightning where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014684 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, depth, value, ts
Sensor: frost | fields: ts, lat, type, level
Task: Fetch lat from sunlight that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014685 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, lon, unit, type
Sensor: dew_point | fields: ts, type, value, reading
Task: Get lat from snow_depth where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014686 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, value, lon, lat
Sensor: pressure | fields: depth, ts, reading, unit
Task: Get lon from humidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014687 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lat, level, depth, unit
Sensor: sunlight | fields: level, value, lat, reading
Task: Fetch lon from evaporation where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014688 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, unit, qc, reading
Sensor: frost | fields: depth, lon, ts, value
Task: Get lat from dew_point where reading exceeds the count of value from frost for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014689 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, lat, reading, unit
Sensor: snow_depth | fields: value, level, type, reading
Task: Retrieve lon from lightning whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014690 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, level, reading, qc
Sensor: sunlight | fields: type, reading, unit, qc
Task: Fetch value from air_quality where reading is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014691 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, level, lat, ts
Sensor: humidity | fields: level, lon, lat, ts
Task: Retrieve level from turbidity whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014692 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, level, lon, type
Sensor: lightning | fields: type, lon, lat, depth
Task: Get lon from drought_index where value exceeds the average value from lightning for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014693 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, type, qc, depth
Sensor: uv_index | fields: depth, value, level, unit
Task: Get value from sunlight where reading exceeds the average value from uv_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014694 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, qc, lon, value
Sensor: humidity | fields: lon, depth, level, qc
Task: Get reading from frost where value exceeds the minimum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014695 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, qc, ts, type
Sensor: lightning | fields: value, reading, ts, depth
Task: Fetch depth from air_quality that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014696 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: unit, ts, level, value
Sensor: air_quality | fields: type, depth, lon, level
Task: Retrieve level from humidity whose unit is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014697 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, depth, qc, reading
Sensor: uv_index | fields: type, level, lat, ts
Task: Get depth from lightning where ts appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014698 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, unit, value, level
Sensor: dew_point | fields: depth, type, lat, reading
Task: Retrieve reading from pressure with value above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.