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: air_quality | code: ref | fields: qc, depth, lon, lat
Sensor: dew_point | fields: level, unit, ts, type
Task: Get depth from air_quality where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074500 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: reading, value, lon, level
Sensor: snow_depth | fields: lat, qc, reading, ts
Task: Get reading from visibility where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074501 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, ts, level, lon
Sensor: soil_moisture | fields: depth, qc, unit, value
Task: Fetch lat from sunlight that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074502 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, unit, reading, qc
Sensor: frost | fields: level, ts, lon, depth
Task: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"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_074503 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, lon, type, ts
Sensor: cloud_cover | fields: level, value, reading, lon
Task: Fetch lon from humidity where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074504 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, value, reading, qc
Sensor: wind_speed | fields: depth, ts, reading, level
Task: Get lat from snow_depth where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074505 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, level, depth, unit
Sensor: evaporation | fields: reading, value, qc, level
Task: Retrieve lat from cloud_cover whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074506 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, type, reading, lon
Sensor: temperature | fields: value, qc, depth, lat
Task: Get value from soil_moisture where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074507 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: depth, qc, lat, lon
Sensor: cloud_cover | fields: type, unit, depth, lon
Task: Retrieve depth from frost whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074508 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lat, value, level
Sensor: temperature | fields: lon, value, level, unit
Task: Retrieve value from drought_index whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074509 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, value, reading, level
Sensor: turbidity | fields: depth, unit, type, qc
Task: Get lat from pressure where type appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074510 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, depth, reading, lon
Sensor: dew_point | fields: unit, type, lon, qc
Task: Fetch level from humidity that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074511 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, unit, lat, value
Sensor: uv_index | fields: ts, depth, reading, level
Task: Get lon from dew_point where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074512 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, unit, reading, type
Sensor: snow_depth | fields: qc, unit, lon, ts
Task: Fetch lat from humidity where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074513 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, unit, level, lon
Sensor: turbidity | fields: ts, reading, level, qc
Task: Get depth from drought_index where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074514 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, depth, ts, type
Sensor: evaporation | fields: value, ts, type, reading
Task: Fetch value from uv_index where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074515 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, qc, type, depth
Sensor: soil_moisture | fields: lon, depth, level, ts
Task: Fetch value from drought_index where value is greater than the minimum of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074516 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, type, lat, lon
Sensor: sunlight | fields: lon, qc, depth, type
Task: Fetch lon from humidity where value is greater than the average of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074517 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, reading, depth, lat
Sensor: uv_index | fields: lat, reading, unit, value
Task: Retrieve lat from dew_point with value above the MAX(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074518 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: unit, reading, lon, qc
Sensor: visibility | fields: level, lat, qc, value
Task: Fetch lon 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="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074519 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, type, level, depth
Sensor: turbidity | fields: ts, value, level, unit
Task: Retrieve level from cloud_cover with reading above the MIN(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074520 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, lat, reading, depth
Sensor: visibility | fields: unit, reading, lat, ts
Task: Get lon from frost where reading exceeds the minimum reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074521 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: ts, level, lon, qc
Sensor: dew_point | fields: level, reading, depth, value
Task: Retrieve value from sunlight whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074522 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, type, unit, reading
Sensor: frost | fields: qc, lon, ts, value
Task: Fetch lat from dew_point where reading is greater than the average of value in frost for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074523 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: reading, type, qc, ts
Sensor: temperature | fields: qc, lat, type, reading
Task: Retrieve lat from drought_index whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074524 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, reading, qc
Sensor: air_quality | fields: depth, lat, level, value
Task: Retrieve depth from rainfall with value above the AVG(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074525 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, lat, unit, depth
Sensor: cloud_cover | fields: lon, depth, unit, level
Task: Retrieve value from wind_speed whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074526 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, ts, depth, type
Sensor: drought_index | fields: qc, value, ts, unit
Task: Fetch lon from dew_point where value is greater than the maximum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"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_074527 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, lat, qc
Sensor: wind_speed | fields: value, depth, level, reading
Task: Get reading from drought_index where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074528 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, qc, reading, depth
Sensor: evaporation | fields: value, reading, type, lon
Task: Fetch lat from lightning that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074529 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, lon, lat, reading
Sensor: dew_point | fields: unit, ts, qc, lat
Task: Retrieve lon from pressure whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074530 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, unit, type, qc
Sensor: evaporation | fields: depth, reading, level, lon
Task: Retrieve lat from air_quality whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074531 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: lon, reading, value, type
Sensor: soil_moisture | fields: depth, unit, lat, value
Task: Fetch level from air_quality where reading is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074532 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, value, type, qc
Sensor: pressure | fields: qc, type, depth, unit
Task: Retrieve reading from snow_depth with reading above the SUM(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074533 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, ts, unit, reading
Sensor: turbidity | fields: lat, unit, qc, depth
Task: Get value from air_quality where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074534 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, level, depth, qc
Sensor: evaporation | fields: type, qc, reading, level
Task: Fetch lat from dew_point that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074535 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lat, qc, ts
Sensor: cloud_cover | fields: ts, lat, value, reading
Task: Fetch depth from turbidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074536 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, reading, type, unit
Sensor: frost | fields: depth, lon, level, value
Task: Get depth from sunlight where depth appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074537 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, qc, type, lat
Sensor: cloud_cover | fields: value, lon, qc, type
Task: Fetch value from uv_index that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074538 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, depth, value, lat
Sensor: snow_depth | fields: ts, qc, level, reading
Task: Retrieve reading from drought_index whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074539 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, type, unit, level
Sensor: drought_index | fields: lon, value, unit, level
Task: Fetch reading from air_quality where ts exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074540 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lon, lat, level
Sensor: sunlight | fields: reading, qc, level, lat
Task: Fetch value from evaporation that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074541 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lat, type, qc
Sensor: uv_index | fields: type, reading, value, level
Task: Get reading from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074542 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: type, unit, ts, value
Sensor: evaporation | fields: unit, ts, depth, qc
Task: Retrieve lat from drought_index that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074543 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: reading, lon, ts, lat
Sensor: temperature | fields: lon, qc, reading, ts
Task: Get depth from dew_point where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074544 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, depth, lon, type
Sensor: uv_index | fields: type, reading, level, ts
Task: Fetch value from air_quality that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074545 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: ts, level, reading, value
Sensor: drought_index | fields: level, value, unit, qc
Task: Retrieve value from dew_point whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074546 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, ts, unit, type
Sensor: air_quality | fields: reading, type, unit, value
Task: Retrieve value from humidity with reading above the AVG(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074547 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: ts, unit, type, level
Sensor: wind_speed | fields: ts, type, depth, reading
Task: Get reading from uv_index where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074548 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, ts, depth, reading
Sensor: temperature | fields: type, lat, lon, ts
Task: Get lon from frost where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074549 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, depth, type, ts
Sensor: sunlight | fields: type, reading, level, lon
Task: Get lat 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="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074550 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lon, unit, level
Sensor: wind_speed | fields: qc, depth, reading, value
Task: Get lat from cloud_cover where reading exceeds the average depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074551 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, unit, lat, level
Sensor: temperature | fields: qc, reading, lat, unit
Task: Fetch lat from visibility where qc exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074552 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, lat, level, qc
Sensor: air_quality | fields: reading, unit, value, level
Task: Fetch reading from soil_moisture where depth is greater than the average of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074553 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, type, qc
Sensor: snow_depth | fields: lat, depth, lon, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074554 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, unit, level
Sensor: snow_depth | fields: ts, level, unit, lon
Task: Get value from temperature where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074555 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, qc, unit, depth
Sensor: soil_moisture | fields: ts, value, reading, lon
Task: Fetch lat from wind_speed that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074556 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, qc, type, lon
Sensor: temperature | fields: lon, qc, type, lat
Task: Retrieve value from cloud_cover with value above the SUM(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074557 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: level, unit, lon, type
Sensor: cloud_cover | fields: level, reading, depth, type
Task: Fetch lat from visibility that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074558 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, value, ts, depth
Sensor: wind_speed | fields: level, ts, qc, value
Task: Retrieve reading from drought_index with depth above the COUNT(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074559 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, unit, level, qc
Sensor: sunlight | fields: qc, ts, type, level
Task: Fetch value from cloud_cover where value is greater than the average of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074560 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, lon, qc, type
Sensor: visibility | fields: value, lon, depth, level
Task: Get level from air_quality where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074561 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: type, lat, unit, qc
Sensor: evaporation | fields: reading, lat, type, qc
Task: Get reading from air_quality where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074562 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, ts, reading, type
Sensor: turbidity | fields: reading, ts, type, depth
Task: Get value from dew_point where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074563 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, lon, qc, level
Sensor: pressure | fields: lat, qc, lon, depth
Task: Get lat from soil_moisture where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074564 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lon, type, depth
Sensor: air_quality | fields: type, reading, ts, qc
Task: Retrieve value from wind_speed whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074565 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, qc, reading, ts
Sensor: rainfall | fields: reading, depth, qc, ts
Task: Get reading from drought_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074566 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, value, reading, qc
Sensor: visibility | fields: reading, type, depth, level
Task: Get lon from frost where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074567 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, type, unit, depth
Sensor: frost | fields: value, qc, ts, lon
Task: Retrieve lon from rainfall that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074568 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: depth, level, value, qc
Sensor: dew_point | fields: lon, qc, reading, value
Task: Fetch reading from drought_index that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074569 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: type, level, lon, depth
Sensor: sunlight | fields: unit, level, ts, reading
Task: Get lat from humidity where qc appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074570 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, value, depth, level
Sensor: humidity | fields: ts, value, unit, level
Task: Fetch lon from uv_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074571 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, type, unit, lat
Sensor: humidity | fields: level, ts, type, qc
Task: Retrieve level from evaporation whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074572 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, value, unit, qc
Sensor: wind_speed | fields: lat, reading, value, qc
Task: Fetch lat from rainfall that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074573 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, unit, depth, ts
Sensor: humidity | fields: qc, unit, depth, lon
Task: Retrieve value from soil_moisture that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074574 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, value, lat, reading
Sensor: humidity | fields: unit, value, lon, qc
Task: Retrieve lat from rainfall whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074575 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, level, reading, lon
Sensor: humidity | fields: ts, unit, qc, type
Task: Get reading from soil_moisture where reading exceeds the count of value from humidity for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074576 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, value, qc
Sensor: lightning | fields: qc, unit, type, ts
Task: Fetch depth from uv_index where reading is greater than the minimum of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074577 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, reading, value, depth
Sensor: frost | fields: unit, lat, ts, value
Task: Fetch lat from snow_depth that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074578 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: value, depth, type, ts
Sensor: visibility | fields: level, value, reading, type
Task: Fetch lon from uv_index where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074579 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, lat, unit
Sensor: uv_index | fields: depth, lon, unit, ts
Task: Fetch lat from evaporation where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074580 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, level, qc, reading
Sensor: humidity | fields: unit, value, qc, level
Task: Fetch depth from temperature where unit exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074581 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, ts, depth, qc
Sensor: snow_depth | fields: qc, lon, ts, depth
Task: Fetch lon from visibility that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074582 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, qc, level, ts
Sensor: humidity | fields: type, value, qc, level
Task: Fetch depth from cloud_cover that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074583 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, type, reading, qc
Sensor: visibility | fields: qc, unit, value, lat
Task: Get depth from wind_speed where depth exceeds the average reading from visibility for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074584 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, reading, lat, lon
Sensor: humidity | fields: depth, lat, level, unit
Task: Retrieve reading from snow_depth whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074585 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, reading, level, ts
Sensor: evaporation | fields: reading, type, level, qc
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074586 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, value, reading, unit
Sensor: rainfall | fields: type, depth, lat, reading
Task: Get lat from evaporation where depth exceeds the minimum reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074587 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, unit, lat, level
Sensor: rainfall | fields: reading, level, lon, type
Task: Retrieve level from pressure with reading above the MIN(value) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074588 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, value, lat, depth
Sensor: frost | fields: lon, qc, ts, unit
Task: Fetch lat from lightning where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074589 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, depth, ts, lat
Sensor: pressure | fields: ts, lat, value, type
Task: Get level from wind_speed where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074590 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, lat, ts
Sensor: dew_point | fields: unit, lat, lon, ts
Task: Get reading from temperature where value exceeds the count of depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074591 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, lon, ts, lat
Sensor: uv_index | fields: type, reading, level, lon
Task: Get lon from turbidity where depth exceeds the count of reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074592 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lon, reading, level
Sensor: dew_point | fields: lat, unit, value, type
Task: Get level from evaporation where depth exceeds the minimum value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074593 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lon, reading, value
Sensor: wind_speed | fields: lat, ts, type, value
Task: Get depth from rainfall where reading exceeds the total value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074594 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, ts, lon, qc
Sensor: air_quality | fields: unit, reading, type, value
Task: Fetch level from sunlight where value is greater than the minimum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074595 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, value, reading, unit
Sensor: temperature | fields: unit, lon, depth, level
Task: Get lat from soil_moisture where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074596 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, type, qc, lon
Sensor: turbidity | fields: lat, level, lon, unit
Task: Get lat from visibility where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074597 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: unit, lat, reading, depth
Sensor: rainfall | fields: value, level, ts, unit
Task: Fetch reading from frost where reading is greater than the total of reading in rainfall for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_074598 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: level, lon, type, lat
Sensor: temperature | fields: qc, ts, type, level
Task: Get depth from turbidity where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_074599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.