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: dew_point | code: mst | fields: reading, value, qc, lon
Sensor: rainfall | fields: level, depth, unit, qc
Task: Get value from dew_point where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006400 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, depth, type, value
Sensor: rainfall | fields: lat, ts, depth, level
Task: Retrieve level from turbidity with reading above the SUM(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006401 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: type, reading, level, value
Sensor: soil_moisture | fields: unit, lon, type, depth
Task: Fetch depth from air_quality where depth is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006402 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, unit, lat, value
Sensor: wind_speed | fields: depth, type, reading, lat
Task: Get depth from visibility where reading exceeds the maximum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006403 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lon, unit, qc
Sensor: rainfall | fields: qc, value, unit, type
Task: Get depth from uv_index where depth exceeds the maximum reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006404 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, lon, type, lat
Sensor: drought_index | fields: unit, depth, ts, value
Task: Retrieve depth from lightning that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006405 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, ts, level, type
Sensor: sunlight | fields: level, value, reading, lon
Task: Get reading from temperature where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006406 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lon, depth, lat
Sensor: turbidity | fields: depth, level, lon, value
Task: Retrieve lon from snow_depth with reading above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006407 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: reading, unit, level, value
Sensor: dew_point | fields: qc, reading, unit, ts
Task: Retrieve value from temperature whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"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_006408 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, unit, value, lat
Sensor: cloud_cover | fields: lon, level, depth, lat
Task: Get lon from visibility where depth exceeds the average value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006409 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, qc, value, lon
Sensor: pressure | fields: lon, value, type, depth
Task: Fetch lat from turbidity where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006410 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, unit, reading, lon
Sensor: drought_index | fields: type, ts, depth, qc
Task: Fetch depth from soil_moisture where reading is greater than the maximum of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006411 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, lat, reading, depth
Sensor: soil_moisture | fields: level, lon, type, value
Task: Retrieve depth from humidity with depth above the MAX(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006412 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, type, value, level
Sensor: evaporation | fields: qc, ts, lon, level
Task: Retrieve value from temperature with reading above the SUM(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006413 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, unit, value, level
Sensor: snow_depth | fields: lat, depth, type, level
Task: Retrieve reading from lightning whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006414 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, unit, reading, level
Sensor: wind_speed | fields: value, lat, reading, lon
Task: Retrieve level from pressure with depth above the MAX(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006415 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lat, type, ts, value
Sensor: lightning | fields: qc, reading, lat, ts
Task: Get lon from dew_point where reading exceeds the average reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006416 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: qc, depth, lat, level
Sensor: rainfall | fields: value, qc, ts, depth
Task: Retrieve value from humidity whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006417 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, depth, qc, ts
Sensor: dew_point | fields: reading, lon, lat, value
Task: Retrieve lon from wind_speed that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006418 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, unit, lon, level
Sensor: visibility | fields: lat, ts, qc, type
Task: Retrieve lon from frost with value above the COUNT(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006419 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, ts, depth, type
Sensor: humidity | fields: reading, lat, lon, type
Task: Get level from dew_point where reading exceeds the average reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006420 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, value, level, ts
Sensor: drought_index | fields: level, qc, lon, depth
Task: Fetch lon from visibility that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006421 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, type, depth
Sensor: air_quality | fields: lon, value, level, lat
Task: Fetch lon from turbidity where value is greater than the count of of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006422 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, depth, lat, type
Sensor: snow_depth | fields: unit, qc, value, reading
Task: Retrieve depth from evaporation whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006423 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, qc, ts
Sensor: cloud_cover | fields: value, reading, type, depth
Task: Retrieve lat from lightning whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006424 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, depth, level, lon
Sensor: sunlight | fields: depth, lat, unit, lon
Task: Fetch level from drought_index where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006425 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, value, type, depth
Sensor: humidity | fields: ts, depth, reading, type
Task: Fetch reading from turbidity where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006426 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, reading, ts, qc
Sensor: frost | fields: ts, type, level, reading
Task: Get level from snow_depth where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006427 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, ts, qc, reading
Sensor: sunlight | fields: reading, type, ts, level
Task: Retrieve reading from wind_speed whose qc is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006428 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: depth, ts, type, lat
Sensor: uv_index | fields: qc, lon, lat, level
Task: Fetch value from evaporation that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006429 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, qc, lon, depth
Sensor: wind_speed | fields: ts, lat, qc, level
Task: Retrieve lon from temperature that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006430 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, level, lat
Sensor: soil_moisture | fields: lat, type, value, depth
Task: Get lon from air_quality where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006431 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lat, type, lon, depth
Sensor: pressure | fields: level, depth, reading, lon
Task: Retrieve lon from rainfall whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006432 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, type, depth, qc
Sensor: air_quality | fields: level, ts, lat, depth
Task: Fetch level from pressure where value is greater than the total of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006433 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, value, lon, depth
Sensor: wind_speed | fields: qc, level, reading, type
Task: Retrieve level from turbidity whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006434 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, ts, lon, reading
Sensor: rainfall | fields: ts, type, lon, lat
Task: Retrieve level from frost that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006435 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lat, reading, qc
Sensor: visibility | fields: lon, depth, qc, reading
Task: Retrieve lon from snow_depth whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006436 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, lon, level, depth
Sensor: turbidity | fields: level, lon, lat, ts
Task: Get lat from evaporation where depth exceeds the average value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006437 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, reading, level, unit
Sensor: air_quality | fields: level, value, type, ts
Task: Retrieve value from pressure with reading above the AVG(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006438 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, reading, type, level
Sensor: visibility | fields: value, ts, type, lon
Task: Get reading from frost where reading exceeds the minimum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006439 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, level, value, lon
Sensor: temperature | fields: value, ts, type, level
Task: Fetch reading from pressure where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006440 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: type, lat, depth, reading
Sensor: frost | fields: qc, ts, lat, type
Task: Fetch lon from turbidity where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006441 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, depth, level, lon
Sensor: uv_index | fields: value, reading, type, level
Task: Get value from temperature where value exceeds the count of value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006442 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lon, type, value
Sensor: sunlight | fields: value, level, reading, depth
Task: Fetch level from uv_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006443 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, depth, ts, unit
Sensor: humidity | fields: lon, level, value, lat
Task: Fetch lon from drought_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006444 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, lon, ts, reading
Sensor: humidity | fields: lat, unit, lon, depth
Task: Fetch lat from temperature that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006445 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, type, qc, lon
Sensor: uv_index | fields: depth, qc, unit, lon
Task: Get value from frost where value exceeds the maximum value from uv_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006446 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, value, lat, level
Sensor: frost | fields: lon, lat, reading, value
Task: Get level from drought_index where depth exceeds the count of depth from frost for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006447 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, lat, unit, ts
Sensor: dew_point | fields: level, unit, value, ts
Task: Retrieve value from air_quality with reading above the SUM(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006448 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, lat, lon
Sensor: air_quality | fields: depth, qc, reading, ts
Task: Retrieve depth from humidity with reading above the COUNT(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006449 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: value, depth, qc, lat
Sensor: dew_point | fields: lat, qc, lon, value
Task: Get lon from wind_speed where reading exceeds the total reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006450 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, lon, value, ts
Sensor: cloud_cover | fields: level, qc, reading, type
Task: Fetch level from drought_index that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006451 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, lat, ts
Sensor: wind_speed | fields: value, level, depth, ts
Task: Retrieve lat from dew_point that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006452 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, unit, lat, value
Sensor: evaporation | fields: ts, unit, qc, depth
Task: Retrieve level from turbidity whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006453 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, qc, value, reading
Sensor: turbidity | fields: lon, ts, value, depth
Task: Fetch value from frost where depth is greater than the count of of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006454 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lon, unit, value, qc
Sensor: humidity | fields: reading, lon, qc, ts
Task: Get depth from lightning where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006455 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, type, lon, reading
Sensor: turbidity | fields: type, unit, ts, depth
Task: Retrieve lat from air_quality that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006456 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: unit, type, value, lat
Sensor: uv_index | fields: depth, level, qc, lon
Task: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006457 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, value, lat, depth
Sensor: drought_index | fields: lon, reading, ts, unit
Task: Get depth from dew_point where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006458 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, ts, reading, value
Sensor: pressure | fields: lon, type, unit, depth
Task: Fetch lon from dew_point where value is greater than the count of of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006459 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, qc, depth, ts
Sensor: soil_moisture | fields: depth, lat, type, level
Task: Fetch lon from uv_index where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006460 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lon, level, unit, qc
Sensor: evaporation | fields: level, reading, qc, lon
Task: Retrieve reading from lightning with reading above the MAX(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006461 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, lon, value, ts
Sensor: cloud_cover | fields: value, qc, lon, reading
Task: Retrieve level from drought_index with value above the MAX(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006462 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, qc, unit, depth
Sensor: wind_speed | fields: lon, depth, lat, ts
Task: Fetch reading from air_quality that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006463 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, depth, type, level
Sensor: cloud_cover | fields: unit, qc, type, lat
Task: Get value from wind_speed where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006464 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: ts, unit, value, qc
Sensor: sunlight | fields: depth, unit, type, value
Task: Get lat from evaporation where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006465 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, depth, value, unit
Sensor: wind_speed | fields: qc, lon, type, ts
Task: Fetch reading from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006466 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, type, qc
Sensor: dew_point | fields: qc, level, ts, type
Task: Get lon from snow_depth where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006467 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, ts, level, reading
Sensor: wind_speed | fields: value, lon, level, unit
Task: Get depth from lightning where qc appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006468 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lon, qc, ts, depth
Sensor: soil_moisture | fields: lon, value, depth, lat
Task: Fetch level from air_quality where depth is greater than the maximum of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006469 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: qc, level, lon, value
Sensor: sunlight | fields: lat, ts, unit, qc
Task: Get depth from drought_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006470 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, type, lon, qc
Sensor: soil_moisture | fields: lon, reading, lat, depth
Task: Retrieve depth from drought_index that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006471 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, unit, value, ts
Sensor: snow_depth | fields: unit, type, depth, level
Task: Fetch lat from visibility where depth is greater than the total of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006472 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, ts, depth, value
Sensor: temperature | fields: lon, value, qc, lat
Task: Retrieve lon from turbidity with value above the MAX(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006473 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, level, unit, lon
Sensor: rainfall | fields: reading, level, lon, ts
Task: Retrieve level from cloud_cover that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006474 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, level, qc, lat
Sensor: lightning | fields: reading, lon, value, lat
Task: Retrieve depth from soil_moisture whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006475 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, level, ts, lat
Sensor: visibility | fields: ts, qc, lon, reading
Task: Retrieve lon from snow_depth with depth above the COUNT(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006476 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, qc, reading, type
Sensor: humidity | fields: ts, level, depth, lon
Task: Fetch reading from air_quality where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006477 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: ts, lat, qc, reading
Sensor: humidity | fields: type, lon, reading, value
Task: Get reading from pressure where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006478 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lat, depth, unit
Sensor: soil_moisture | fields: ts, lon, reading, lat
Task: Retrieve value from snow_depth whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006479 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, lat, reading, type
Sensor: temperature | fields: type, lat, depth, value
Task: Retrieve level from dew_point that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006480 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, level, reading, ts
Sensor: pressure | fields: unit, qc, lat, level
Task: Retrieve lat from visibility that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006481 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, lon, depth, ts
Sensor: frost | fields: type, value, level, qc
Task: Retrieve level from rainfall whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006482 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, level, lon, value
Sensor: evaporation | fields: reading, level, lon, type
Task: Fetch lon from wind_speed where type exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006483 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lat, unit, qc
Sensor: snow_depth | fields: level, lon, ts, type
Task: Get lon from uv_index where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006484 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, depth, value, type
Sensor: sunlight | fields: reading, lon, value, ts
Task: Get depth from uv_index where qc appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006485 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, lon, type
Sensor: evaporation | fields: type, reading, lat, ts
Task: Get depth from drought_index where depth exceeds the minimum value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006486 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, lon, reading, type
Sensor: wind_speed | fields: value, unit, qc, ts
Task: Get value from lightning where value exceeds the minimum value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006487 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, qc, reading, type
Sensor: lightning | fields: lon, depth, type, reading
Task: Get value from pressure where value exceeds the average depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006488 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, level, unit, depth
Sensor: wind_speed | fields: ts, lat, reading, qc
Task: Fetch lat from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006489 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, type, lon, qc
Sensor: air_quality | fields: ts, unit, type, reading
Task: Get value from lightning where ts appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006490 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, level, value, depth
Sensor: wind_speed | fields: reading, level, depth, lon
Task: Retrieve value from soil_moisture that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006491 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lat, reading, depth, level
Sensor: humidity | fields: lon, level, reading, unit
Task: Get depth from evaporation where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006492 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, depth, lat, unit
Sensor: snow_depth | fields: lon, reading, type, value
Task: Retrieve depth from wind_speed with depth above the SUM(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006493 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, depth, level
Sensor: cloud_cover | fields: reading, level, unit, lon
Task: Retrieve lon from pressure whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006494 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, type, unit, level
Sensor: dew_point | fields: lat, level, type, lon
Task: Retrieve value from rainfall that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006495 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, ts, depth, qc
Sensor: temperature | fields: reading, depth, qc, lon
Task: Retrieve value from turbidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_006496 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: ts, unit, type, value
Sensor: soil_moisture | fields: level, lat, unit, qc
Task: Get value from humidity where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006497 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, lat, depth, unit
Sensor: humidity | fields: ts, level, lat, reading
Task: Fetch level from soil_moisture where depth is greater than the average of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006498 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: reading, ts, qc, unit
Sensor: uv_index | fields: qc, reading, type, unit
Task: Retrieve level from turbidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_006499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.