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: uv_index | code: hub | fields: value, type, ts, level
Sensor: cloud_cover | fields: lat, lon, unit, depth
Task: Get lon from uv_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083500 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, depth, type, lon
Sensor: evaporation | fields: qc, lat, reading, depth
Task: Get level from frost where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083501 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lat, value, unit, qc
Sensor: turbidity | fields: unit, qc, ts, reading
Task: Fetch lat from pressure where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083502 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, lon, depth, level
Sensor: lightning | fields: ts, type, unit, level
Task: Get reading from sunlight where depth exceeds the minimum depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083503 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, unit, reading, ts
Sensor: snow_depth | fields: qc, value, ts, lon
Task: Get reading from frost where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083504 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, unit, type, ts
Sensor: soil_moisture | fields: depth, lon, lat, unit
Task: Get depth from drought_index where depth exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083505 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, unit, lat, value
Sensor: frost | fields: lon, depth, reading, ts
Task: Fetch lon from soil_moisture that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083506 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, lat, value, unit
Sensor: sunlight | fields: qc, lon, level, depth
Task: Retrieve lat from cloud_cover with value above the SUM(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083507 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, reading, level, value
Sensor: air_quality | fields: unit, level, qc, type
Task: Fetch reading from uv_index that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083508 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, ts, reading, qc
Sensor: soil_moisture | fields: ts, lat, value, type
Task: Get level from visibility where value exceeds the average value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083509 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lat, qc, value, ts
Sensor: cloud_cover | fields: depth, qc, unit, level
Task: Fetch lon from sunlight where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083510 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, ts, reading
Sensor: sunlight | fields: unit, lat, reading, type
Task: Retrieve lon from wind_speed that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083511 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, value, reading, depth
Sensor: drought_index | fields: reading, qc, lon, ts
Task: Get depth from dew_point where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083512 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, value, depth, ts
Sensor: frost | fields: type, unit, level, ts
Task: Retrieve depth from turbidity whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083513 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lon, level, value
Sensor: snow_depth | fields: depth, unit, reading, lat
Task: Fetch value from air_quality where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083514 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, lat, type, qc
Sensor: snow_depth | fields: value, level, lon, unit
Task: Get value from wind_speed where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083515 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, lat, ts, level
Sensor: lightning | fields: ts, value, unit, qc
Task: Get reading from air_quality where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083516 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, ts, value, type
Sensor: turbidity | fields: lon, depth, reading, level
Task: Get level from frost where qc appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083517 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, lat, reading, level
Sensor: sunlight | fields: depth, ts, value, qc
Task: Fetch value from evaporation that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083518 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, unit, lon, level
Sensor: uv_index | fields: qc, lon, unit, reading
Task: Get reading from cloud_cover where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083519 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, reading, ts, depth
Sensor: rainfall | fields: unit, ts, qc, lon
Task: Get lat from lightning where depth exceeds the maximum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083520 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, qc, level, lat
Sensor: frost | fields: qc, type, depth, lat
Task: Fetch lat from soil_moisture where unit exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083521 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, value, lon, ts
Sensor: rainfall | fields: lon, type, unit, level
Task: Get reading from visibility where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083522 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, type, lon, level
Sensor: frost | fields: level, lat, type, lon
Task: Fetch reading from air_quality where reading is greater than the minimum of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083523 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: reading, unit, type, depth
Sensor: turbidity | fields: unit, type, ts, lon
Task: Fetch lat from dew_point where value is greater than the count of of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083524 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, level, type, value
Sensor: evaporation | fields: depth, qc, type, lat
Task: Get reading from drought_index where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083525 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, qc, level, reading
Sensor: frost | fields: level, unit, value, depth
Task: Fetch depth from cloud_cover where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083526 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, ts, level, type
Sensor: air_quality | fields: reading, ts, qc, lon
Task: Get lat from wind_speed where reading exceeds the average depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083527 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: qc, type, lon, value
Sensor: snow_depth | fields: reading, depth, unit, value
Task: Fetch value from rainfall where value is greater than the minimum of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083528 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, depth, type, value
Sensor: dew_point | fields: depth, reading, unit, lat
Task: Retrieve depth from drought_index with value above the MIN(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083529 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: type, level, qc, lon
Sensor: temperature | fields: type, value, lat, depth
Task: Retrieve lon from evaporation that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083530 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, type, value, reading
Sensor: cloud_cover | fields: lat, value, depth, type
Task: Fetch depth from turbidity that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083531 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: depth, qc, type, lat
Sensor: uv_index | fields: lat, type, unit, level
Task: Get depth from humidity where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083532 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, depth, lat, unit
Sensor: wind_speed | fields: unit, depth, type, ts
Task: Fetch reading from pressure where reading is greater than the minimum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083533 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: ts, unit, reading, lat
Sensor: evaporation | fields: qc, reading, level, value
Task: Retrieve level from turbidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083534 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: reading, qc, type, lat
Sensor: dew_point | fields: level, reading, ts, lat
Task: Retrieve lon from lightning with reading above the COUNT(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083535 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, reading, type, depth
Sensor: uv_index | fields: lon, reading, depth, lat
Task: Retrieve depth from evaporation with depth above the MIN(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083536 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: ts, depth, value, lat
Sensor: cloud_cover | fields: reading, qc, ts, lat
Task: Fetch lat from sunlight where depth is greater than the minimum of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083537 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, depth, lon, type
Sensor: wind_speed | fields: unit, reading, value, ts
Task: Retrieve value from humidity whose ts is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083538 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, reading, lat, type
Sensor: lightning | fields: unit, lat, type, qc
Task: Fetch level from humidity where reading is greater than the average of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083539 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, level, lat, value
Sensor: visibility | fields: ts, depth, value, lat
Task: Fetch reading from sunlight that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"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_083540 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, depth, lon
Sensor: drought_index | fields: level, depth, lat, value
Task: Retrieve value from turbidity with value above the AVG(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083541 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, qc, depth, unit
Sensor: pressure | fields: ts, reading, depth, type
Task: Retrieve depth from turbidity that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083542 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, unit, lon, ts
Sensor: air_quality | fields: reading, type, value, ts
Task: Retrieve value from wind_speed with reading above the SUM(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083543 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: qc, lat, value, depth
Sensor: soil_moisture | fields: ts, value, lat, level
Task: Get depth from evaporation where depth exceeds the total depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083544 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: type, ts, unit, value
Sensor: turbidity | fields: value, lon, qc, unit
Task: Fetch lat from humidity that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083545 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: depth, reading, ts, value
Sensor: drought_index | fields: ts, reading, lon, type
Task: Get lon from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083546 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: type, lon, unit, lat
Sensor: air_quality | fields: reading, level, type, qc
Task: Get lon from temperature where type appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083547 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, depth, reading, ts
Sensor: humidity | fields: reading, ts, unit, type
Task: Fetch lon from uv_index that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083548 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, reading, lon, ts
Sensor: dew_point | fields: lat, value, unit, depth
Task: Get lat from drought_index where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083549 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, qc, type
Sensor: evaporation | fields: lat, value, depth, type
Task: Retrieve lat from cloud_cover that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083550 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, lon, unit
Sensor: drought_index | fields: lon, level, lat, value
Task: Get lon from snow_depth where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083551 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, lat, depth, type
Sensor: pressure | fields: type, lon, value, ts
Task: Retrieve depth from frost with reading above the MAX(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083552 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: qc, ts, level, lat
Sensor: temperature | fields: qc, ts, lat, lon
Task: Get depth from humidity where reading exceeds the count of depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083553 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, lon, level, unit
Sensor: drought_index | fields: level, type, lat, ts
Task: Get level from soil_moisture where type appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083554 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, qc, ts, lon
Sensor: turbidity | fields: ts, reading, unit, level
Task: Get value from humidity where value exceeds the average depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083555 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, qc, lat, level
Sensor: pressure | fields: unit, qc, type, depth
Task: Retrieve lon from sunlight with value above the AVG(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083556 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, level, value
Sensor: rainfall | fields: ts, type, reading, lon
Task: Fetch value from uv_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083557 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, ts, level, qc
Sensor: visibility | fields: type, unit, lon, depth
Task: Retrieve lat from lightning whose type is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083558 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lat, lon, unit, depth
Sensor: turbidity | fields: level, unit, qc, lon
Task: Fetch lon from sunlight where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083559 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, depth, lat, ts
Sensor: drought_index | fields: type, depth, level, qc
Task: Fetch lon from humidity where reading is greater than the total of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083560 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: unit, reading, value, ts
Sensor: rainfall | fields: depth, ts, unit, value
Task: Fetch reading from frost where value is greater than the maximum of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083561 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, value, type, lat
Sensor: evaporation | fields: qc, lon, ts, lat
Task: Get level from soil_moisture where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083562 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, depth, reading, qc
Sensor: sunlight | fields: lon, reading, ts, level
Task: Fetch level from humidity where type exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083563 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, ts, type, level
Sensor: snow_depth | fields: qc, unit, lat, ts
Task: Fetch level from turbidity where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083564 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: unit, depth, lon, type
Sensor: soil_moisture | fields: lon, type, level, ts
Task: Fetch level from visibility where depth exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083565 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, level, qc, type
Sensor: lightning | fields: depth, level, lat, lon
Task: Retrieve value from visibility with reading above the AVG(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083566 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, ts, reading, qc
Sensor: visibility | fields: depth, lon, reading, level
Task: Retrieve level from temperature whose qc is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083567 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, value, qc, lon
Sensor: snow_depth | fields: level, lat, ts, qc
Task: Get depth from temperature where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083568 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, ts, depth, type
Sensor: visibility | fields: ts, reading, unit, value
Task: Fetch level from cloud_cover that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083569 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: qc, depth, type, reading
Sensor: soil_moisture | fields: qc, value, lat, unit
Task: Retrieve depth from sunlight with reading above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083570 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lat, unit, qc
Sensor: rainfall | fields: level, reading, lat, ts
Task: Retrieve depth from turbidity whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083571 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, value, ts, level
Sensor: turbidity | fields: type, lat, unit, level
Task: Get lon from uv_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083572 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, lat, depth, value
Sensor: temperature | fields: qc, lon, value, reading
Task: Retrieve value from air_quality that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083573 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, lat, ts, reading
Sensor: humidity | fields: level, lon, ts, type
Task: Fetch lat from snow_depth that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083574 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, depth, lat, qc
Sensor: soil_moisture | fields: qc, lat, unit, reading
Task: Retrieve lon from uv_index with depth above the SUM(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083575 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: type, unit, level, depth
Sensor: temperature | fields: depth, value, lat, reading
Task: Get lon from dew_point where depth exceeds the minimum value from temperature for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083576 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, value, type, depth
Sensor: wind_speed | fields: depth, lat, value, reading
Task: Fetch lat from turbidity where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083577 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: reading, lat, qc, value
Sensor: wind_speed | fields: value, depth, ts, lat
Task: Retrieve value from temperature with depth above the AVG(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083578 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, lon, lat, unit
Sensor: soil_moisture | fields: lat, ts, lon, depth
Task: Get value from temperature where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083579 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, lon, ts, value
Sensor: cloud_cover | fields: ts, type, reading, qc
Task: Fetch lon from humidity where value is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083580 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: value, level, lat, depth
Sensor: wind_speed | fields: qc, lon, lat, level
Task: Retrieve lat from lightning that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083581 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, level, depth, value
Sensor: lightning | fields: depth, type, ts, reading
Task: Fetch depth from uv_index where qc exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083582 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, value, qc, level
Sensor: temperature | fields: lat, lon, level, value
Task: Fetch lat from soil_moisture that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083583 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, value, ts, lon
Sensor: snow_depth | fields: qc, level, ts, value
Task: Retrieve depth from turbidity whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083584 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, depth, reading, lat
Sensor: air_quality | fields: type, ts, lon, reading
Task: Retrieve value from pressure whose type is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"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_083585 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, value, type, lon
Sensor: sunlight | fields: lat, depth, lon, type
Task: Fetch value from snow_depth where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083586 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, qc, reading, lon
Sensor: dew_point | fields: lon, ts, reading, value
Task: Retrieve value from evaporation with value above the COUNT(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083587 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: value, depth, ts, level
Sensor: sunlight | fields: level, ts, unit, type
Task: Fetch lon from frost where depth is greater than the count of of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083588 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, depth, ts, unit
Sensor: evaporation | fields: depth, reading, value, level
Task: Fetch level from snow_depth that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083589 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lat, unit, type
Sensor: cloud_cover | fields: qc, reading, type, unit
Task: Retrieve lon from evaporation that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083590 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, type, lon, ts
Sensor: cloud_cover | fields: value, level, type, unit
Task: Get reading from lightning where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083591 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, type, lon, value
Sensor: frost | fields: value, qc, level, lat
Task: Get value from dew_point where value exceeds the total depth from frost for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083592 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, qc, depth, level
Sensor: humidity | fields: depth, lon, lat, unit
Task: Retrieve value from soil_moisture with value above the MAX(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083593 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, lon, ts, depth
Sensor: cloud_cover | fields: reading, value, lon, qc
Task: Retrieve lat from rainfall whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083594 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, ts, type, lat
Sensor: evaporation | fields: depth, reading, ts, unit
Task: Get value from temperature where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083595 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lat, depth, qc, value
Sensor: sunlight | fields: value, depth, type, lon
Task: Fetch lon from frost where type exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083596 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: unit, qc, value, reading
Sensor: wind_speed | fields: depth, level, lat, reading
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083597 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, lon, depth, value
Sensor: humidity | fields: value, level, lat, lon
Task: Retrieve depth from evaporation whose qc is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083598 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, value, depth, lon
Sensor: frost | fields: ts, lon, level, qc
Task: Fetch level from soil_moisture where reading is greater than the count of of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.