variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, reading, value, lat
Sensor: frost | fields: lon, depth, level, lat
Task: Get level from visibility where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039500 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, value, qc, ts
Sensor: soil_moisture | fields: lat, depth, value, ts
Task: Get lon from wind_speed where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039501 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, depth, unit, lon
Sensor: pressure | fields: ts, depth, level, lon
Task: Fetch lat from frost where depth is greater than the count of of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039502 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lat, ts, unit
Sensor: rainfall | fields: lon, reading, unit, type
Task: Get reading from soil_moisture where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039503 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, value, unit, ts
Sensor: frost | fields: depth, level, reading, lat
Task: Retrieve lon from wind_speed that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039504 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, reading, ts
Sensor: wind_speed | fields: type, reading, ts, unit
Task: Retrieve reading from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039505 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, depth, lon
Sensor: drought_index | fields: value, reading, type, lat
Task: Retrieve depth from uv_index whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039506 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, level, lat, reading
Sensor: pressure | fields: unit, type, reading, lat
Task: Get reading from frost where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039507 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, unit, level, qc
Sensor: turbidity | fields: lon, value, depth, level
Task: Get reading from sunlight where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039508 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, reading, depth, lon
Sensor: turbidity | fields: reading, qc, depth, level
Task: Fetch reading from rainfall where type exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039509 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, depth, qc, value
Sensor: cloud_cover | fields: level, value, unit, lat
Task: Fetch value from snow_depth where reading is greater than the total of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039510 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, lat, type, reading
Sensor: drought_index | fields: reading, ts, level, value
Task: Fetch lon from evaporation where reading is greater than the minimum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039511 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, type, qc, lon
Sensor: cloud_cover | fields: lon, value, qc, lat
Task: Fetch lon from temperature where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039512 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, type, qc, lat
Sensor: rainfall | fields: qc, value, type, level
Task: Retrieve depth from dew_point whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039513 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, reading, unit, depth
Sensor: drought_index | fields: reading, ts, type, unit
Task: Get lat from lightning where depth exceeds the total value from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039514 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, depth, qc, unit
Sensor: humidity | fields: depth, unit, lon, value
Task: Get level from uv_index where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039515 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, reading, ts
Sensor: humidity | fields: lat, value, lon, qc
Task: Fetch value from rainfall where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039516 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, lon, reading, level
Sensor: frost | fields: qc, value, depth, level
Task: Fetch reading from rainfall where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039517 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, ts, level, qc
Sensor: uv_index | fields: reading, lon, depth, qc
Task: Fetch value from cloud_cover where value is greater than the count of of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039518 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: level, type, lon, reading
Sensor: uv_index | fields: unit, ts, value, depth
Task: Fetch level from turbidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039519 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, depth, value, qc
Sensor: frost | fields: qc, reading, ts, lon
Task: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039520 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, reading, qc, value
Sensor: temperature | fields: value, lon, unit, level
Task: Get value from visibility where reading exceeds the count of depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039521 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, type, lat, depth
Sensor: soil_moisture | fields: depth, ts, type, reading
Task: Fetch depth from evaporation where depth is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039522 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lat, value, type, qc
Sensor: drought_index | fields: depth, level, unit, ts
Task: Retrieve depth from evaporation whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039523 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, reading, type, ts
Sensor: humidity | fields: value, level, lon, type
Task: Get value from snow_depth where value exceeds the minimum reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039524 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, level, qc, type
Sensor: turbidity | fields: unit, lon, type, reading
Task: Get depth from rainfall where type appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039525 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, qc, type, reading
Sensor: visibility | fields: level, value, qc, lat
Task: Retrieve value from air_quality that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039526 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, type, ts, qc
Sensor: snow_depth | fields: reading, lon, lat, depth
Task: Fetch lon from visibility that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039527 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, lon, value, type
Sensor: drought_index | fields: type, lon, level, lat
Task: Fetch value from air_quality that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039528 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, lon, lat, qc
Sensor: frost | fields: unit, value, level, qc
Task: Retrieve level from evaporation with reading above the MAX(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039529 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lon, level, value, unit
Sensor: frost | fields: level, value, unit, lat
Task: Retrieve reading from pressure whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039530 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, qc, type, ts
Sensor: wind_speed | fields: reading, level, qc, type
Task: Retrieve value from sunlight with value above the COUNT(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039531 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: level, lat, lon, qc
Sensor: air_quality | fields: type, lat, depth, unit
Task: Retrieve level from humidity with value above the MAX(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039532 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: type, lon, ts, value
Sensor: wind_speed | fields: unit, qc, type, value
Task: Retrieve depth from humidity with value above the MAX(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039533 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, level, lon, depth
Sensor: uv_index | fields: depth, level, reading, type
Task: Fetch lat from wind_speed where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039534 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, depth, ts, value
Sensor: uv_index | fields: lon, type, qc, reading
Task: Retrieve depth from sunlight with value above the COUNT(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039535 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, qc, level, ts
Sensor: temperature | fields: qc, reading, level, ts
Task: Retrieve lon from wind_speed that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039536 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, lon, type, value
Sensor: frost | fields: reading, ts, lon, value
Task: Get value from soil_moisture where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039537 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, value, depth, qc
Sensor: rainfall | fields: qc, type, level, depth
Task: Retrieve depth from air_quality that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039538 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lon, unit, type
Sensor: wind_speed | fields: unit, type, level, qc
Task: Fetch depth from turbidity where reading is greater than the maximum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039539 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, lat, qc, level
Sensor: drought_index | fields: level, reading, lat, lon
Task: Get reading from sunlight where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039540 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, type, lat, ts
Sensor: sunlight | fields: depth, ts, value, level
Task: Fetch reading from snow_depth that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039541 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, lat, depth, lon
Sensor: drought_index | fields: value, depth, unit, qc
Task: Fetch lon from soil_moisture that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039542 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: ts, type, lon, qc
Sensor: pressure | fields: type, qc, ts, lat
Task: Get value from frost where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039543 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, qc, lat, reading
Sensor: evaporation | fields: reading, lat, ts, level
Task: Retrieve level from air_quality that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039544 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: type, reading, ts, unit
Sensor: uv_index | fields: level, ts, lat, type
Task: Fetch level from visibility where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039545 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, type, depth, level
Sensor: snow_depth | fields: qc, level, reading, type
Task: Fetch level from visibility that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039546 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, type, value, qc
Sensor: air_quality | fields: lon, type, reading, ts
Task: Get depth from evaporation where depth appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039547 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, ts, depth, lat
Sensor: frost | fields: qc, level, ts, reading
Task: Retrieve lat from lightning whose qc is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039548 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, value, ts, depth
Sensor: uv_index | fields: lon, lat, ts, qc
Task: Fetch lat from air_quality where qc exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039549 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, level, type, value
Sensor: pressure | fields: level, lon, reading, ts
Task: Retrieve lat from evaporation whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039550 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, value, unit, ts
Sensor: visibility | fields: depth, qc, unit, lon
Task: Get value from dew_point where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039551 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, reading, qc, depth
Sensor: air_quality | fields: unit, ts, type, lat
Task: Retrieve level from snow_depth with value above the MIN(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039552 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, unit, level, depth
Sensor: humidity | fields: type, lon, level, reading
Task: Get reading from soil_moisture where reading exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039553 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, reading, value, lon
Sensor: air_quality | fields: type, unit, reading, depth
Task: Fetch depth from snow_depth that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039554 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, lat, level, reading
Sensor: soil_moisture | fields: qc, lon, ts, reading
Task: Retrieve reading from cloud_cover that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039555 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, depth, value, lat
Sensor: sunlight | fields: unit, type, lon, reading
Task: Fetch lat from drought_index where type exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039556 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, type, qc, level
Sensor: sunlight | fields: lon, type, value, depth
Task: Retrieve level from humidity whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039557 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: value, type, level, lon
Sensor: wind_speed | fields: lat, lon, depth, ts
Task: Get depth from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039558 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, level, unit, depth
Sensor: drought_index | fields: type, depth, unit, reading
Task: Fetch level from lightning where reading is greater than the average of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039559 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, unit, qc, lon
Sensor: frost | fields: reading, unit, value, level
Task: Retrieve lon from wind_speed whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039560 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, qc, unit, depth
Sensor: turbidity | fields: depth, level, lon, unit
Task: Retrieve value from dew_point whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039561 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, reading, level, lon
Sensor: humidity | fields: lon, depth, qc, type
Task: Fetch lon from visibility where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039562 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, level, depth
Sensor: sunlight | fields: lat, unit, depth, lon
Task: Fetch lat from snow_depth where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039563 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: unit, reading, type, depth
Sensor: cloud_cover | fields: type, level, lon, lat
Task: Fetch value from humidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039564 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, level, qc, lat
Sensor: evaporation | fields: lat, depth, level, unit
Task: Get lon from uv_index where value exceeds the maximum reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039565 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, type, depth, level
Sensor: visibility | fields: type, level, lat, lon
Task: Fetch lon from rainfall where reading is greater than the maximum of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039566 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, unit, type, depth
Sensor: uv_index | fields: depth, value, unit, qc
Task: Get depth from sunlight where reading exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039567 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, level, lon, type
Sensor: rainfall | fields: ts, reading, qc, type
Task: Retrieve level from cloud_cover whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039568 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: level, unit, depth, lon
Sensor: soil_moisture | fields: level, unit, lat, qc
Task: Get lat from rainfall where depth exceeds the minimum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"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_039569 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, value, lat, type
Sensor: sunlight | fields: ts, unit, level, lon
Task: Retrieve reading from air_quality that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039570 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: ts, lat, depth, qc
Sensor: cloud_cover | fields: level, reading, qc, ts
Task: Retrieve value from dew_point whose depth is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039571 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, lon, level, qc
Sensor: pressure | fields: lat, reading, lon, depth
Task: Get depth from lightning where reading exceeds the total reading from pressure for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039572 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: qc, level, type, lon
Sensor: sunlight | fields: value, type, lon, unit
Task: Fetch lat from evaporation where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039573 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, ts, unit, depth
Sensor: wind_speed | fields: depth, ts, lon, value
Task: Fetch level from frost where value is greater than the total of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039574 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, lat, type, lon
Sensor: lightning | fields: lat, ts, qc, depth
Task: Get reading from humidity where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039575 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, ts, level, value
Sensor: lightning | fields: lon, reading, level, type
Task: Get level from wind_speed where value exceeds the total depth from lightning for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039576 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, unit, ts, qc
Sensor: lightning | fields: ts, value, lon, type
Task: Get lon from uv_index where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"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_039577 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, value, unit, reading
Sensor: humidity | fields: unit, reading, lon, ts
Task: Get reading from temperature where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039578 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, depth, qc, value
Sensor: visibility | fields: lon, qc, type, lat
Task: Retrieve level from pressure that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039579 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, type, unit, reading
Sensor: rainfall | fields: depth, ts, type, lon
Task: Retrieve reading from humidity that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039580 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, reading, level, ts
Sensor: lightning | fields: lon, unit, reading, type
Task: Retrieve lat from rainfall that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039581 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, depth, unit, type
Sensor: rainfall | fields: depth, lon, type, lat
Task: Fetch lat from sunlight where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039582 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, lon, type, ts
Sensor: cloud_cover | fields: unit, lon, reading, lat
Task: Fetch depth from snow_depth where value is greater than the count of of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039583 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: ts, qc, lon, value
Sensor: cloud_cover | fields: ts, reading, depth, lon
Task: Get value from pressure where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039584 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, type, unit, reading
Sensor: humidity | fields: ts, reading, qc, unit
Task: Retrieve value from snow_depth whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039585 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, depth, type, unit
Sensor: snow_depth | fields: qc, type, lat, lon
Task: Fetch depth from evaporation that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039586 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, level, ts, lat
Sensor: lightning | fields: depth, level, value, lon
Task: Fetch lat from sunlight that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039587 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, unit, depth, lon
Sensor: soil_moisture | fields: lon, type, depth, lat
Task: Retrieve reading from wind_speed whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039588 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, unit, depth, lat
Sensor: soil_moisture | fields: depth, lon, type, lat
Task: Get value from turbidity where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039589 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, type, lat, ts
Sensor: sunlight | fields: lon, unit, value, reading
Task: Fetch lat from dew_point where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039590 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: type, depth, level, ts
Sensor: evaporation | fields: reading, type, unit, depth
Task: Fetch lat from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039591 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, type, lon, lat
Sensor: humidity | fields: value, reading, level, qc
Task: Retrieve reading from snow_depth that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039592 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, depth, unit, value
Sensor: drought_index | fields: reading, level, value, lat
Task: Retrieve lon from sunlight whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039593 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, unit, level, qc
Sensor: evaporation | fields: unit, qc, level, ts
Task: Retrieve lon from lightning whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039594 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, value, depth, lat
Sensor: sunlight | fields: value, type, lat, lon
Task: Retrieve value from humidity with value above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039595 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, level, value, lon
Sensor: humidity | fields: lat, depth, ts, type
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039596 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lat, reading, value, unit
Sensor: snow_depth | fields: lat, level, ts, depth
Task: Get value from pressure where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039597 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, qc, type, reading
Sensor: visibility | fields: value, unit, reading, level
Task: Retrieve depth from pressure with depth above the AVG(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_039598 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, ts, qc, unit
Sensor: lightning | fields: ts, unit, qc, depth
Task: Get lat from turbidity where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_039599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.