variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, level, value, depth
Sensor: frost | fields: depth, qc, type, unit
Task: Get value from rainfall where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077500 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, unit, value, lat
Sensor: sunlight | fields: type, lat, level, unit
Task: Get depth from air_quality where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077501 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: reading, depth, value, type
Sensor: drought_index | fields: qc, type, reading, lat
Task: Retrieve reading from lightning whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077502 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, depth, unit, ts
Sensor: wind_speed | fields: unit, ts, value, lon
Task: Retrieve depth from dew_point with value above the MIN(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077503 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, type, level, ts
Sensor: air_quality | fields: value, unit, depth, lon
Task: Fetch lon from cloud_cover where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077504 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, reading, lat, level
Sensor: temperature | fields: depth, qc, lon, reading
Task: Fetch lon from uv_index where reading is greater than the maximum of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077505 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lat, reading, qc, level
Sensor: turbidity | fields: unit, ts, value, qc
Task: Get level from uv_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"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_077506 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, value, lon, unit
Sensor: sunlight | fields: ts, level, unit, type
Task: Get lat from turbidity where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077507 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lat, reading, qc, level
Sensor: frost | fields: level, value, qc, ts
Task: Fetch reading from temperature that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077508 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, reading, ts, qc
Sensor: air_quality | fields: type, depth, reading, lat
Task: Fetch reading from wind_speed where value is greater than the minimum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077509 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, lon, unit
Sensor: soil_moisture | fields: value, level, depth, lat
Task: Get depth from drought_index where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077510 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lon, lat, qc, level
Sensor: frost | fields: lon, type, value, level
Task: Get level from uv_index where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077511 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: unit, lon, ts, depth
Sensor: lightning | fields: lon, level, value, qc
Task: Retrieve level from temperature whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077512 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, type, qc, ts
Sensor: rainfall | fields: depth, ts, lat, value
Task: Fetch lon from uv_index where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077513 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, lat, unit, ts
Sensor: visibility | fields: lat, level, ts, reading
Task: Fetch depth from frost where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077514 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: ts, unit, level, depth
Sensor: snow_depth | fields: depth, qc, type, level
Task: Get depth from uv_index where reading exceeds the minimum reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077515 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, qc, reading
Sensor: rainfall | fields: qc, lon, lat, unit
Task: Get value from snow_depth where depth exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077516 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: type, depth, ts, level
Sensor: evaporation | fields: qc, lat, lon, ts
Task: Retrieve value from air_quality with value above the MIN(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077517 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, lon, unit, qc
Sensor: turbidity | fields: qc, ts, lon, unit
Task: Get depth from dew_point where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077518 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, depth, type, value
Sensor: snow_depth | fields: level, value, unit, type
Task: Retrieve lat from temperature with reading above the MIN(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077519 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, lat, type, value
Sensor: wind_speed | fields: depth, ts, qc, unit
Task: Fetch depth from cloud_cover where value is greater than the average of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077520 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, lon, lat, level
Sensor: frost | fields: qc, lon, value, unit
Task: Fetch reading from air_quality that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077521 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, type, qc, value
Sensor: rainfall | fields: qc, level, type, unit
Task: Retrieve reading from cloud_cover with depth above the AVG(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077522 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, type, reading, ts
Sensor: sunlight | fields: ts, unit, lon, type
Task: Get depth from snow_depth where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077523 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, lat, lon, depth
Sensor: sunlight | fields: qc, level, lon, value
Task: Get lat from frost where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077524 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: ts, qc, level, lon
Sensor: wind_speed | fields: unit, level, depth, lat
Task: Get lon from humidity where reading exceeds the average reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077525 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, level, type, ts
Sensor: cloud_cover | fields: ts, unit, reading, level
Task: Get value from sunlight where depth appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077526 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, lon, unit, type
Sensor: evaporation | fields: lon, depth, reading, qc
Task: Retrieve value from rainfall with value above the AVG(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077527 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lat, unit, ts
Sensor: evaporation | fields: lat, level, type, qc
Task: Get depth from soil_moisture where value exceeds the average reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077528 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, lat, qc, ts
Sensor: wind_speed | fields: reading, type, qc, unit
Task: Retrieve lat from soil_moisture with value above the MIN(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077529 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lat, value, lon
Sensor: sunlight | fields: ts, type, qc, value
Task: Get lat from soil_moisture where reading exceeds the average depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077530 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: qc, level, value, type
Sensor: air_quality | fields: lat, type, qc, unit
Task: Retrieve reading from visibility whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077531 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, ts, type, lat
Sensor: turbidity | fields: reading, level, unit, qc
Task: Retrieve lon from snow_depth that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077532 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, unit, lat, type
Sensor: sunlight | fields: ts, value, lon, qc
Task: Retrieve lon from drought_index whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077533 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, depth, value
Sensor: cloud_cover | fields: reading, unit, qc, lon
Task: Fetch depth from snow_depth where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077534 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, lat, level, type
Sensor: dew_point | fields: unit, lon, reading, value
Task: Fetch lat from pressure where depth is greater than the count of of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077535 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, reading, type, value
Sensor: sunlight | fields: level, unit, qc, type
Task: Get reading from cloud_cover where reading exceeds the maximum value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077536 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: level, ts, reading, value
Sensor: frost | fields: depth, unit, lon, qc
Task: Get lon from snow_depth where value exceeds the maximum depth from frost for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077537 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, depth, level
Sensor: air_quality | fields: unit, reading, type, lon
Task: Get depth from uv_index where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077538 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: ts, value, qc, lat
Sensor: snow_depth | fields: ts, lat, type, value
Task: Retrieve depth from humidity whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077539 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, qc, unit, lat
Sensor: pressure | fields: unit, depth, lat, level
Task: Get lon from drought_index where qc appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077540 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: level, reading, type, unit
Sensor: sunlight | fields: value, reading, qc, depth
Task: Retrieve lat from humidity whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077541 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, lat, level
Sensor: humidity | fields: ts, reading, unit, depth
Task: Get lon from wind_speed where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077542 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: lat, lon, type, reading
Sensor: visibility | fields: lon, level, depth, lat
Task: Retrieve value from uv_index whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077543 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, ts, value, depth
Sensor: humidity | fields: ts, type, lat, lon
Task: Get depth from air_quality where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077544 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, unit, lat
Sensor: lightning | fields: ts, type, lon, lat
Task: Fetch lat from turbidity where depth is greater than the minimum of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077545 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, value, reading, depth
Sensor: evaporation | fields: value, ts, lon, reading
Task: Fetch lon from humidity that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077546 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: depth, qc, reading, lat
Sensor: visibility | fields: lat, unit, ts, lon
Task: Fetch reading from frost that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077547 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lat, lon, ts, qc
Sensor: turbidity | fields: qc, value, lat, ts
Task: Get value from frost where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077548 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, lat, level, unit
Sensor: visibility | fields: depth, lat, ts, reading
Task: Fetch reading from soil_moisture that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077549 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, value, lon
Sensor: visibility | fields: reading, value, ts, lat
Task: Fetch value from humidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077550 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, qc, ts, value
Sensor: soil_moisture | fields: ts, lon, qc, unit
Task: Fetch level from temperature where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077551 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, lat, level, depth
Sensor: turbidity | fields: type, ts, qc, unit
Task: Fetch value from cloud_cover where value is greater than the maximum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077552 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, type, ts
Sensor: air_quality | fields: ts, lat, qc, level
Task: Fetch level from snow_depth that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077553 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, level, reading, ts
Sensor: temperature | fields: lat, level, unit, depth
Task: Get value from air_quality where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077554 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: reading, type, depth, lon
Sensor: temperature | fields: unit, lon, level, lat
Task: Retrieve lon from evaporation with depth above the AVG(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077555 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, qc, ts, value
Sensor: humidity | fields: depth, unit, value, level
Task: Retrieve reading from wind_speed that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077556 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, unit, qc, depth
Sensor: sunlight | fields: qc, value, unit, depth
Task: Retrieve value from pressure whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077557 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, unit, qc, lon
Sensor: sunlight | fields: lat, level, ts, type
Task: Retrieve lon from dew_point with depth above the SUM(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077558 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, ts, lat, depth
Sensor: soil_moisture | fields: level, ts, qc, type
Task: Fetch lat from cloud_cover where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077559 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, reading, depth, value
Sensor: cloud_cover | fields: qc, depth, ts, type
Task: Fetch depth from snow_depth where depth is greater than the minimum of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077560 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, ts, value, lon
Sensor: frost | fields: reading, value, lat, lon
Task: Fetch lat from lightning that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077561 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, unit, qc, ts
Sensor: air_quality | fields: value, type, unit, depth
Task: Fetch lat from humidity where reading is greater than the minimum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077562 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, unit, type, level
Sensor: uv_index | fields: qc, level, ts, reading
Task: Retrieve value from frost with reading above the AVG(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077563 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: level, qc, lat, value
Sensor: air_quality | fields: type, reading, qc, lat
Task: Fetch value from evaporation where reading is greater than the average of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077564 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, qc, reading, unit
Sensor: drought_index | fields: ts, level, qc, lon
Task: Get lon from soil_moisture where reading exceeds the average value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077565 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, lon, type, value
Sensor: turbidity | fields: type, unit, ts, value
Task: Get lat from wind_speed where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077566 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: depth, ts, value, unit
Sensor: wind_speed | fields: value, type, unit, lon
Task: Get value from pressure where reading exceeds the total value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077567 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lat, unit, level, lon
Sensor: turbidity | fields: reading, ts, value, type
Task: Retrieve value from lightning whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077568 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, reading, level
Sensor: temperature | fields: level, depth, type, lon
Task: Fetch lon from drought_index where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077569 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, level, depth, lon
Sensor: lightning | fields: level, lat, qc, type
Task: Retrieve level from soil_moisture that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077570 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, type, level
Sensor: pressure | fields: reading, unit, value, depth
Task: Get level from soil_moisture where value exceeds the count of depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077571 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, qc, depth, lat
Sensor: humidity | fields: value, type, reading, lat
Task: Retrieve reading from dew_point whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077572 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, lat, ts, qc
Sensor: cloud_cover | fields: type, lat, value, ts
Task: Retrieve value from evaporation that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077573 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, unit, depth, lon
Sensor: uv_index | fields: lon, depth, lat, qc
Task: Get lat from visibility where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077574 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: level, ts, type, unit
Sensor: humidity | fields: qc, lat, value, lon
Task: Retrieve value from dew_point that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077575 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, qc, reading, lat
Sensor: drought_index | fields: qc, depth, unit, value
Task: Retrieve value from wind_speed that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077576 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, lon, level, ts
Sensor: soil_moisture | fields: ts, value, depth, qc
Task: Get reading from air_quality where reading exceeds the total depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077577 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, reading, type, depth
Sensor: frost | fields: depth, unit, lon, value
Task: Get level from dew_point where reading exceeds the total depth from frost for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"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_077578 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, lat, qc, lon
Sensor: evaporation | fields: value, lon, qc, type
Task: Fetch lat from uv_index where depth is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077579 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, reading, qc, unit
Sensor: turbidity | fields: lat, type, qc, level
Task: Retrieve level from lightning with depth above the MIN(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077580 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, reading, level, unit
Sensor: sunlight | fields: reading, level, ts, value
Task: Fetch reading from air_quality where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077581 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, lon, reading, lat
Sensor: air_quality | fields: type, qc, lon, ts
Task: Get depth from uv_index where reading exceeds the minimum value from air_quality for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077582 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, lat, reading, value
Sensor: sunlight | fields: level, reading, lat, value
Task: Get level from humidity where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077583 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, value, type, depth
Sensor: sunlight | fields: type, lon, reading, ts
Task: Fetch value from evaporation that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077584 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: ts, level, reading, lat
Sensor: cloud_cover | fields: qc, depth, lat, ts
Task: Retrieve reading from frost that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077585 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, ts, lon, reading
Sensor: sunlight | fields: lat, qc, type, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077586 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: depth, level, type, lon
Sensor: frost | fields: depth, level, type, lon
Task: Retrieve depth from sunlight whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077587 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, qc, value, type
Sensor: cloud_cover | fields: depth, ts, level, value
Task: Fetch depth from wind_speed where reading is greater than the maximum of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077588 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, ts, lat, value
Sensor: uv_index | fields: unit, level, qc, lon
Task: Get lat from turbidity where reading exceeds the total reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077589 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, reading, depth, value
Sensor: air_quality | fields: lon, depth, level, ts
Task: Fetch level from turbidity where depth is greater than the maximum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077590 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, type, lon, lat
Sensor: turbidity | fields: type, unit, lon, value
Task: Retrieve lat from snow_depth that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077591 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, level, qc, type
Sensor: uv_index | fields: lat, reading, unit, ts
Task: Get level from turbidity where depth exceeds the count of depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077592 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, unit, value, lat
Sensor: pressure | fields: value, depth, reading, level
Task: Retrieve reading from temperature with reading above the AVG(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"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_077593 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, qc, value, type
Sensor: evaporation | fields: type, lat, depth, qc
Task: Fetch depth from soil_moisture where depth is greater than the average of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077594 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: unit, depth, qc, level
Sensor: turbidity | fields: lat, unit, level, value
Task: Retrieve lon from visibility whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077595 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: value, lat, reading, ts
Sensor: pressure | fields: level, lat, depth, reading
Task: Get lon from turbidity where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077596 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: reading, type, ts, value
Sensor: temperature | fields: type, value, lon, qc
Task: Fetch reading from air_quality where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"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_077597 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, value, unit, level
Sensor: frost | fields: type, unit, lat, reading
Task: Fetch value from evaporation where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077598 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, value, reading, level
Sensor: uv_index | fields: type, reading, lat, level
Task: Retrieve lon from lightning with value above the COUNT(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.