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: lightning | code: mst | fields: qc, value, depth, type
Sensor: turbidity | fields: lon, depth, qc, reading
Task: Get lat from lightning where ts appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054500 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, value, ts, qc
Sensor: dew_point | fields: level, qc, depth, unit
Task: Fetch value from drought_index where qc exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054501 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, ts, reading, qc
Sensor: uv_index | fields: reading, depth, lon, value
Task: Get level from sunlight where depth appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054502 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, depth, lon, type
Sensor: temperature | fields: type, depth, ts, reading
Task: Fetch reading from sunlight where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054503 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, depth, reading, lat
Sensor: visibility | fields: lat, reading, depth, value
Task: Fetch level from humidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054504 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, lon, ts, type
Sensor: temperature | fields: ts, value, type, lon
Task: Retrieve value from rainfall that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054505 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, ts, depth, reading
Sensor: snow_depth | fields: ts, reading, lon, type
Task: Get level from air_quality where value exceeds the maximum reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054506 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: reading, type, value, lat
Sensor: soil_moisture | fields: level, value, unit, reading
Task: Fetch value from turbidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054507 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, type, ts, lat
Sensor: drought_index | fields: depth, lat, level, unit
Task: Fetch reading from cloud_cover that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054508 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, unit, ts, depth
Sensor: snow_depth | fields: type, qc, value, reading
Task: Fetch lat from soil_moisture where reading is greater than the average of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054509 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, lat, type
Sensor: uv_index | fields: type, lat, level, unit
Task: Fetch lon from sunlight where qc exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054510 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lon, type, depth, qc
Sensor: sunlight | fields: type, reading, lat, unit
Task: Fetch value from drought_index where qc exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054511 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, lat, depth, value
Sensor: evaporation | fields: lon, unit, level, reading
Task: Get depth from soil_moisture where reading exceeds the average value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054512 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, type, qc
Sensor: turbidity | fields: qc, reading, value, level
Task: Fetch level from dew_point that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054513 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, reading, type, lat
Sensor: turbidity | fields: type, value, level, lat
Task: Retrieve lat from lightning with reading above the SUM(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054514 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, lon, depth, value
Sensor: snow_depth | fields: value, ts, qc, level
Task: Fetch level from air_quality where ts exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054515 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, qc, level, depth
Sensor: sunlight | fields: lon, level, unit, depth
Task: Retrieve reading from turbidity whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054516 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, ts, reading
Sensor: cloud_cover | fields: ts, type, qc, unit
Task: Retrieve lat from uv_index that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054517 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, reading, qc, lon
Sensor: drought_index | fields: qc, reading, lon, type
Task: Fetch lon from snow_depth where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054518 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, lat, type, reading
Sensor: rainfall | fields: qc, type, depth, value
Task: Fetch depth from pressure where depth is greater than the count of of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054519 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, reading, depth, ts
Sensor: uv_index | fields: value, reading, type, qc
Task: Get level from wind_speed where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054520 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, reading, unit, type
Sensor: drought_index | fields: value, depth, lat, lon
Task: Fetch depth from visibility where value is greater than the average of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054521 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, ts, lat, type
Sensor: wind_speed | fields: type, reading, qc, lat
Task: Get lat from turbidity where ts appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054522 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, qc, ts, unit
Sensor: drought_index | fields: ts, reading, lon, lat
Task: Retrieve lon from lightning that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054523 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, unit, depth, qc
Sensor: dew_point | fields: depth, ts, type, reading
Task: Get reading from rainfall where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054524 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, reading, level, value
Sensor: sunlight | fields: level, lon, value, type
Task: Retrieve reading from dew_point that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054525 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, level, reading, ts
Sensor: evaporation | fields: qc, lon, type, ts
Task: Fetch level from air_quality that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054526 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: ts, qc, type, reading
Sensor: frost | fields: ts, lat, value, reading
Task: Fetch reading from evaporation that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054527 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, level, reading, depth
Sensor: pressure | fields: value, unit, lon, qc
Task: Fetch lat from wind_speed that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054528 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: type, lon, reading, value
Sensor: frost | fields: value, depth, unit, ts
Task: Retrieve level from dew_point whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054529 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, qc, unit, ts
Sensor: visibility | fields: level, ts, qc, lon
Task: Fetch lon from turbidity where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054530 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, lon, qc
Sensor: pressure | fields: depth, lat, ts, qc
Task: Get value from cloud_cover where reading exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054531 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, value, type, depth
Sensor: pressure | fields: depth, qc, unit, ts
Task: Get reading from cloud_cover where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054532 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, unit, ts, value
Sensor: frost | fields: ts, lat, lon, reading
Task: Get lat from turbidity where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054533 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, value, ts, reading
Sensor: sunlight | fields: lat, qc, depth, level
Task: Retrieve lat from turbidity with reading above the MAX(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054534 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, lat, reading, depth
Sensor: drought_index | fields: value, ts, level, type
Task: Fetch value from dew_point where reading is greater than the count of of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054535 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: level, value, lat, reading
Sensor: air_quality | fields: lon, ts, unit, qc
Task: Fetch lat from frost where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054536 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: level, reading, ts, depth
Sensor: sunlight | fields: type, lat, depth, reading
Task: Fetch reading from temperature that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054537 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, qc, lon, ts
Sensor: evaporation | fields: depth, type, value, qc
Task: Retrieve depth from lightning whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054538 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, lat, ts, depth
Sensor: humidity | fields: lat, qc, value, reading
Task: Retrieve level from pressure that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054539 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, type, ts, reading
Sensor: frost | fields: unit, lon, depth, reading
Task: Fetch reading from soil_moisture where value is greater than the count of of depth in frost for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054540 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, ts, qc, unit
Sensor: evaporation | fields: lat, level, type, unit
Task: Retrieve value from cloud_cover with depth above the MIN(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054541 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, qc, value, reading
Sensor: turbidity | fields: value, unit, ts, lon
Task: Fetch level from uv_index where qc exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054542 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, qc, reading
Sensor: temperature | fields: type, unit, value, lon
Task: Retrieve lon from rainfall that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054543 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, lat, unit, value
Sensor: pressure | fields: value, qc, level, reading
Task: Fetch lat from temperature where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054544 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, type, lon
Sensor: cloud_cover | fields: unit, ts, reading, value
Task: Get level from lightning where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054545 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: qc, lon, depth, type
Sensor: lightning | fields: depth, value, level, lon
Task: Retrieve level from uv_index with depth above the AVG(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054546 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, depth, value, lon
Sensor: soil_moisture | fields: lat, level, unit, lon
Task: Get value from lightning where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054547 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, level, unit, value
Sensor: snow_depth | fields: qc, reading, type, ts
Task: Retrieve level from frost with depth above the AVG(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054548 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, lat, ts, lon
Sensor: lightning | fields: reading, value, level, lon
Task: Get level from visibility where reading exceeds the minimum depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054549 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, ts, type, lon
Sensor: snow_depth | fields: level, value, lat, depth
Task: Retrieve level from cloud_cover with value above the COUNT(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054550 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: reading, value, level, type
Sensor: sunlight | fields: value, level, type, lat
Task: Fetch lon from air_quality where value is greater than the total of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054551 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, lat, value, lon
Sensor: humidity | fields: lat, depth, ts, qc
Task: Get lat from lightning where reading exceeds the average depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054552 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, unit, type, level
Sensor: frost | fields: unit, depth, level, type
Task: Fetch lon from dew_point where depth exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054553 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, ts, lat, lon
Sensor: cloud_cover | fields: type, lat, level, ts
Task: Fetch reading from turbidity where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054554 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, depth, lat, type
Sensor: drought_index | fields: level, depth, reading, qc
Task: Get depth from wind_speed where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054555 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: qc, level, lon, lat
Sensor: lightning | fields: reading, ts, unit, level
Task: Get depth from uv_index where value exceeds the count of reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054556 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, unit, type, value
Sensor: rainfall | fields: reading, value, level, lon
Task: Get lon from cloud_cover where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054557 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lon, ts, value, level
Sensor: visibility | fields: lon, depth, lat, ts
Task: Get depth from drought_index where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054558 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, unit, lat, depth
Sensor: turbidity | fields: qc, value, unit, level
Task: Fetch lon from visibility where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054559 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, reading, unit, value
Sensor: pressure | fields: lat, lon, level, ts
Task: Fetch level from lightning where value is greater than the average of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054560 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: level, value, type, lat
Sensor: evaporation | fields: reading, value, lat, ts
Task: Get level from wind_speed where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054561 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lon, level, value, qc
Sensor: lightning | fields: ts, lon, qc, unit
Task: Get value from rainfall where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054562 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lat, value, qc
Sensor: humidity | fields: value, ts, lon, qc
Task: Fetch lat from evaporation where depth is greater than the minimum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054563 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, qc, lon, type
Sensor: cloud_cover | fields: ts, lon, level, reading
Task: Fetch reading from rainfall where reading is greater than the minimum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054564 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, depth, type, qc
Sensor: cloud_cover | fields: unit, lon, reading, qc
Task: Retrieve level from air_quality whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054565 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, lon, ts
Sensor: soil_moisture | fields: type, lat, level, reading
Task: Get depth from pressure where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054566 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, ts, level, value
Sensor: pressure | fields: level, ts, lon, depth
Task: Get level from visibility where value exceeds the total value from pressure for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054567 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, value, qc, depth
Sensor: air_quality | fields: level, lon, lat, depth
Task: Fetch lat from drought_index where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054568 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lon, depth, ts, value
Sensor: wind_speed | fields: ts, value, unit, level
Task: Fetch level from drought_index where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054569 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, depth, ts, lon
Sensor: soil_moisture | fields: unit, ts, level, depth
Task: Get level from sunlight where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054570 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, type, ts, lat
Sensor: rainfall | fields: qc, value, ts, lat
Task: Retrieve lat from humidity with value above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054571 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, level, lon, unit
Sensor: wind_speed | fields: depth, qc, reading, level
Task: Fetch lon from sunlight that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054572 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: level, value, reading, ts
Sensor: frost | fields: value, ts, level, lat
Task: Get depth from humidity where depth exceeds the maximum depth from frost for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054573 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, unit, reading, depth
Sensor: air_quality | fields: reading, lat, qc, depth
Task: Retrieve level from uv_index whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054574 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lon, qc, ts, type
Sensor: pressure | fields: lon, level, lat, reading
Task: Retrieve lon from evaporation whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054575 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, type, qc, reading
Sensor: soil_moisture | fields: unit, value, qc, level
Task: Fetch level from drought_index where depth is greater than the average of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054576 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, unit, level, lon
Sensor: humidity | fields: reading, ts, qc, value
Task: Fetch reading from snow_depth that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054577 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lat, ts, depth, lon
Sensor: frost | fields: ts, lat, qc, level
Task: Retrieve level from lightning that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054578 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, depth, unit, lon
Sensor: drought_index | fields: level, depth, unit, value
Task: Retrieve level from soil_moisture with value above the SUM(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054579 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: reading, lat, qc, type
Sensor: drought_index | fields: qc, type, ts, lon
Task: Retrieve level from lightning whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054580 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, level, depth, value
Sensor: rainfall | fields: reading, lon, level, ts
Task: Fetch value from turbidity where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054581 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, depth, type, qc
Sensor: uv_index | fields: qc, unit, level, lat
Task: Retrieve value from snow_depth with reading above the SUM(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054582 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, ts, qc, type
Sensor: visibility | fields: lat, level, lon, ts
Task: Fetch reading from humidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054583 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lon, qc, ts, unit
Sensor: evaporation | fields: reading, qc, type, lat
Task: Fetch lon from temperature that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054584 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, level, depth, type
Sensor: rainfall | fields: unit, depth, lat, type
Task: Get lon from dew_point where value exceeds the average value from rainfall for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054585 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, type, unit, level
Sensor: sunlight | fields: lat, type, ts, depth
Task: Fetch depth from dew_point where depth is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054586 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: ts, value, lat, level
Sensor: pressure | fields: value, type, depth, unit
Task: Fetch value from sunlight where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054587 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, qc, value, ts
Sensor: evaporation | fields: reading, type, lon, lat
Task: Retrieve lon from frost with value above the AVG(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054588 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, qc, reading, level
Sensor: pressure | fields: unit, reading, lat, qc
Task: Get value from lightning where depth exceeds the minimum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054589 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, reading, qc
Sensor: lightning | fields: lon, level, unit, lat
Task: Fetch level from soil_moisture that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054590 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: reading, unit, lon, depth
Sensor: wind_speed | fields: ts, lon, type, unit
Task: Get depth from pressure where depth exceeds the count of value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_054591 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, reading, qc, lon
Sensor: humidity | fields: lon, reading, type, depth
Task: Fetch depth from air_quality where reading is greater than the average of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054592 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, type, reading, lon
Sensor: cloud_cover | fields: lat, ts, depth, qc
Task: Retrieve reading from sunlight with value above the MAX(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054593 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, ts, value, lat
Sensor: cloud_cover | fields: value, ts, unit, qc
Task: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054594 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: depth, ts, level, unit
Sensor: cloud_cover | fields: type, reading, qc, lat
Task: Get reading from turbidity where value exceeds the total value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054595 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, unit, qc, value
Sensor: pressure | fields: lat, level, unit, type
Task: Retrieve depth from frost whose qc is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054596 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, lat, ts, reading
Sensor: sunlight | fields: type, level, unit, lat
Task: Fetch value from snow_depth where value is greater than the count of of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054597 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: reading, depth, value, type
Sensor: dew_point | fields: lon, type, reading, lat
Task: Retrieve lat from air_quality with reading above the AVG(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054598 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, depth, ts, lon
Sensor: rainfall | fields: lon, lat, type, depth
Task: Retrieve value from sunlight with depth above the AVG(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_054599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.