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: drought_index | code: thr | fields: depth, lon, lat, type
Sensor: frost | fields: type, value, reading, level
Task: Retrieve value from drought_index whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036500 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, lat, ts, lon
Sensor: soil_moisture | fields: reading, qc, depth, type
Task: Get lon from frost where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036501 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, qc, reading, depth
Sensor: pressure | fields: type, qc, reading, unit
Task: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036502 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, lat, type
Sensor: lightning | fields: ts, qc, depth, unit
Task: Retrieve depth from dew_point whose unit is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036503 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: level, reading, qc, value
Sensor: rainfall | fields: reading, level, value, qc
Task: Get lon from dew_point where value exceeds the count of value from rainfall for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036504 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, reading, unit, qc
Sensor: sunlight | fields: lon, level, value, ts
Task: Fetch reading from soil_moisture that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036505 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, lat, level, depth
Sensor: pressure | fields: qc, level, unit, reading
Task: Retrieve lat from air_quality that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036506 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, type, lat, unit
Sensor: turbidity | fields: unit, lat, depth, reading
Task: Retrieve level from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036507 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, unit, lon
Sensor: pressure | fields: depth, ts, lat, value
Task: Fetch depth from uv_index that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036508 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, level, ts, depth
Sensor: frost | fields: level, lon, type, depth
Task: Retrieve reading from rainfall that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036509 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, unit, lat, lon
Sensor: uv_index | fields: lat, level, reading, value
Task: Get value from sunlight where type appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036510 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lat, lon, ts, type
Sensor: drought_index | fields: lon, ts, unit, value
Task: Retrieve depth from evaporation with value above the MAX(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036511 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, unit, qc, type
Sensor: humidity | fields: reading, depth, ts, type
Task: Get lat from turbidity where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036512 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, unit, lat, depth
Sensor: frost | fields: qc, level, reading, unit
Task: Retrieve depth from drought_index whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036513 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, qc, value, level
Sensor: frost | fields: type, lon, lat, level
Task: Retrieve lat from evaporation that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036514 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, lon, value, type
Sensor: visibility | fields: type, ts, value, lat
Task: Fetch level from snow_depth where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036515 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lat, depth, type
Sensor: lightning | fields: lon, ts, level, reading
Task: Retrieve level from wind_speed with depth above the MIN(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036516 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, lat, depth, level
Sensor: sunlight | fields: type, depth, value, lat
Task: Fetch reading from drought_index where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036517 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: reading, unit, value, depth
Sensor: lightning | fields: level, value, qc, lon
Task: Get depth from temperature where value exceeds the count of reading from lightning for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036518 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, value, qc, reading
Sensor: visibility | fields: reading, level, ts, lon
Task: Get depth from air_quality where depth exceeds the average value from visibility for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036519 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, level, reading, ts
Sensor: uv_index | fields: reading, unit, ts, lat
Task: Get level from visibility where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036520 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: ts, value, qc, lon
Sensor: lightning | fields: unit, qc, reading, lat
Task: Get lat from turbidity where depth exceeds the count of reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036521 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, qc, type, lon
Sensor: lightning | fields: ts, reading, type, level
Task: Get lat from dew_point where depth exceeds the average value from lightning for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036522 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, lon, ts, lat
Sensor: rainfall | fields: type, qc, depth, lon
Task: Get level from sunlight where depth exceeds the total depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036523 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, ts, value, level
Sensor: visibility | fields: value, type, lon, lat
Task: Get value from drought_index where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036524 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: qc, level, lon, value
Sensor: pressure | fields: unit, lat, qc, ts
Task: Retrieve depth from visibility whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036525 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, reading, unit
Sensor: sunlight | fields: depth, type, value, lat
Task: Retrieve reading from snow_depth with depth above the AVG(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036526 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, level, unit, reading
Sensor: lightning | fields: ts, qc, type, value
Task: Get value from temperature where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036527 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, qc, value, lat
Sensor: air_quality | fields: value, type, unit, depth
Task: Get value from snow_depth where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036528 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: value, lat, reading, level
Sensor: rainfall | fields: unit, lat, depth, level
Task: Get level from humidity where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036529 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, value, qc
Sensor: soil_moisture | fields: unit, lon, qc, ts
Task: Fetch depth from snow_depth that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036530 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, value, lon, lat
Sensor: temperature | fields: depth, ts, reading, type
Task: Fetch value from frost where value is greater than the minimum of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036531 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lon, depth, qc
Sensor: sunlight | fields: unit, level, type, value
Task: Retrieve lat from rainfall whose ts is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036532 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, lon, depth, ts
Sensor: turbidity | fields: qc, lon, ts, unit
Task: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036533 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, type, ts, reading
Sensor: dew_point | fields: value, reading, ts, qc
Task: Get value from soil_moisture where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036534 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: depth, reading, lat, lon
Sensor: snow_depth | fields: unit, type, reading, depth
Task: Fetch value from rainfall where unit exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036535 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, unit, ts, reading
Sensor: dew_point | fields: reading, value, level, lat
Task: Retrieve value from temperature whose depth is found in dew_point records where depth matches the outer node.
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_036536 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, ts, lat, reading
Sensor: wind_speed | fields: lon, reading, qc, value
Task: Get lon from rainfall where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036537 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: value, qc, ts, depth
Sensor: frost | fields: lat, type, reading, ts
Task: Retrieve lat from sunlight with reading above the AVG(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036538 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, depth, lon, ts
Sensor: uv_index | fields: lat, level, lon, type
Task: Get value from air_quality where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036539 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: type, level, qc, unit
Sensor: rainfall | fields: depth, lat, qc, unit
Task: Get reading from uv_index where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036540 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: level, qc, ts, unit
Sensor: snow_depth | fields: ts, qc, type, value
Task: Fetch lon from visibility where value is greater than the average of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036541 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, depth, lon, value
Sensor: soil_moisture | fields: value, lat, level, reading
Task: Retrieve value from turbidity whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036542 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: ts, type, reading, lon
Sensor: frost | fields: reading, type, depth, lon
Task: Fetch value from evaporation where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036543 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, type, lat, reading
Sensor: humidity | fields: lat, reading, type, ts
Task: Get lat from lightning where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036544 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, type, ts, qc
Sensor: soil_moisture | fields: lon, value, type, unit
Task: Fetch lat from evaporation where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036545 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, ts, level, unit
Sensor: soil_moisture | fields: lon, level, reading, unit
Task: Get reading from lightning where reading exceeds the count of value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036546 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, level, depth, type
Sensor: rainfall | fields: unit, lat, qc, value
Task: Fetch reading from lightning that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036547 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, level, type, qc
Sensor: dew_point | fields: lon, value, reading, ts
Task: Fetch depth from wind_speed where reading is greater than the average of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"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_036548 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lat, ts, value
Sensor: wind_speed | fields: reading, type, ts, lat
Task: Get reading from air_quality where value exceeds the average reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036549 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, lon, type, depth
Sensor: temperature | fields: value, lat, type, depth
Task: Get lon from drought_index where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036550 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, type, ts, level
Sensor: humidity | fields: reading, lat, type, ts
Task: Get value from dew_point where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036551 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: level, unit, qc, lon
Sensor: snow_depth | fields: qc, type, ts, lat
Task: Get lon from drought_index where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036552 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: value, reading, lat, unit
Sensor: lightning | fields: qc, lat, reading, level
Task: Fetch lon from uv_index where value is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036553 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, unit, lon, level
Sensor: sunlight | fields: level, depth, unit, lon
Task: Get lat from uv_index where reading exceeds the minimum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036554 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, level, ts, depth
Sensor: pressure | fields: reading, lat, type, unit
Task: Retrieve reading from drought_index with value above the MAX(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036555 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, type, lat, unit
Sensor: evaporation | fields: lon, unit, level, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036556 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, level, qc, lat
Sensor: temperature | fields: value, ts, level, type
Task: Get depth from air_quality where qc appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036557 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, qc, type, ts
Sensor: visibility | fields: unit, depth, ts, reading
Task: Get level from uv_index where reading exceeds the count of depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036558 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, lat, reading, ts
Sensor: uv_index | fields: level, depth, ts, type
Task: Retrieve level from air_quality with value above the AVG(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036559 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, reading, qc, ts
Sensor: wind_speed | fields: lat, type, level, unit
Task: Fetch level from dew_point where reading is greater than the total of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036560 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, depth, type
Sensor: rainfall | fields: depth, lon, reading, qc
Task: Get reading from uv_index where depth exceeds the count of value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036561 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, level, lon, value
Sensor: frost | fields: value, ts, lon, level
Task: Get reading from humidity where reading exceeds the maximum value from frost for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036562 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: level, value, qc, lon
Sensor: lightning | fields: reading, value, qc, ts
Task: Retrieve level from snow_depth whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036563 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, level, depth, type
Sensor: air_quality | fields: reading, qc, depth, type
Task: Retrieve lon from drought_index with reading above the COUNT(value) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036564 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, qc, ts, lon
Sensor: evaporation | fields: value, level, reading, lon
Task: Get reading from cloud_cover where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036565 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, unit, ts, type
Sensor: evaporation | fields: value, qc, lon, level
Task: Retrieve value from frost whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036566 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: type, value, reading, qc
Sensor: pressure | fields: qc, type, unit, depth
Task: Retrieve depth from wind_speed with value above the MAX(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036567 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, type, level, lon
Sensor: snow_depth | fields: value, lon, lat, ts
Task: Get level from wind_speed where depth exceeds the average reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036568 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, lon, depth, lat
Sensor: turbidity | fields: ts, depth, qc, level
Task: Retrieve lat from snow_depth that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036569 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, lat, lon, reading
Sensor: wind_speed | fields: lat, lon, level, ts
Task: Get value from sunlight where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036570 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, unit, reading, ts
Sensor: lightning | fields: value, depth, lat, lon
Task: Get depth from frost where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036571 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, reading, value, unit
Sensor: drought_index | fields: ts, qc, type, reading
Task: Fetch lat from lightning that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
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",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036572 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, level, depth, unit
Sensor: wind_speed | fields: reading, qc, level, value
Task: Fetch reading from drought_index that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"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_036573 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, value, level, type
Sensor: visibility | fields: lat, unit, reading, type
Task: Fetch reading from snow_depth where value is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036574 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, lat, type, value
Sensor: snow_depth | fields: lon, reading, qc, depth
Task: Retrieve value from humidity whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036575 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, qc, level, lon
Sensor: lightning | fields: level, lon, value, qc
Task: Fetch value from evaporation where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036576 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, level, qc
Sensor: turbidity | fields: unit, reading, qc, type
Task: Fetch lat from dew_point where depth is greater than the average of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036577 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, reading, depth, lat
Sensor: humidity | fields: level, lat, ts, lon
Task: Get value from dew_point where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036578 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, lon, reading, lat
Sensor: drought_index | fields: qc, reading, type, lon
Task: Fetch lat from frost where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036579 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, level, value, qc
Sensor: uv_index | fields: ts, type, depth, reading
Task: Fetch value from turbidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036580 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, value, lat, reading
Sensor: drought_index | fields: qc, reading, lat, depth
Task: Fetch reading from dew_point where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036581 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, lat, reading
Sensor: frost | fields: level, type, qc, value
Task: Fetch reading from sunlight that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036582 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, unit, lat, depth
Sensor: evaporation | fields: unit, type, depth, lat
Task: Retrieve depth from rainfall whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036583 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, ts, depth, unit
Sensor: cloud_cover | fields: ts, lon, unit, qc
Task: Fetch level from evaporation where value is greater than the total of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036584 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, lat, unit, value
Sensor: drought_index | fields: depth, type, value, ts
Task: Fetch depth from wind_speed where type exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036585 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, ts, unit, lat
Sensor: uv_index | fields: type, ts, reading, level
Task: Retrieve lat from dew_point with reading above the MAX(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036586 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, ts, type, value
Sensor: visibility | fields: lat, type, reading, unit
Task: Fetch level from cloud_cover where reading is greater than the count of of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036587 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: value, type, level, lat
Sensor: uv_index | fields: lon, level, unit, value
Task: Fetch depth from sunlight where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036588 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, ts, lon, unit
Sensor: soil_moisture | fields: type, qc, lat, reading
Task: Get lat from wind_speed where value exceeds the average depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036589 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lat, unit, depth, lon
Sensor: air_quality | fields: reading, level, unit, lon
Task: Retrieve depth from turbidity with reading above the SUM(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036590 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, qc, unit, level
Sensor: soil_moisture | fields: type, qc, lon, unit
Task: Get value from air_quality where value exceeds the count of depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036591 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, depth, level
Sensor: lightning | fields: lon, lat, depth, qc
Task: Retrieve value from visibility that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036592 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: depth, value, level, unit
Sensor: cloud_cover | fields: ts, depth, lat, value
Task: Retrieve depth from visibility whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036593 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, lon, qc, reading
Sensor: evaporation | fields: depth, unit, type, ts
Task: Retrieve lon from visibility with depth above the MAX(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036594 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, level, lat, ts
Sensor: turbidity | fields: depth, unit, lon, qc
Task: Get lon from temperature where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036595 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, reading, lon
Sensor: sunlight | fields: depth, level, reading, qc
Task: Get value from wind_speed where qc appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036596 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, lon, qc, lat
Sensor: lightning | fields: level, value, lat, type
Task: Get lat from soil_moisture where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036597 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lat, ts, reading, value
Sensor: humidity | fields: value, type, depth, reading
Task: Fetch lon from evaporation that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036598 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, type, reading, value
Sensor: sunlight | fields: type, lat, qc, unit
Task: Get reading from rainfall where depth exceeds the average depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.