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: sunlight | code: hub | fields: ts, level, qc, lon
Sensor: wind_speed | fields: ts, level, lat, reading
Task: Get value from sunlight where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080600 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, unit, value, type
Sensor: uv_index | fields: type, value, qc, lon
Task: Fetch level from frost where reading is greater than the total of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080601 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: ts, lon, lat, reading
Sensor: sunlight | fields: qc, ts, reading, depth
Task: Get lat from visibility where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080602 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, depth, level, type
Sensor: soil_moisture | fields: ts, unit, level, depth
Task: Fetch level from cloud_cover where value is greater than the maximum of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080603 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, depth, lon, qc
Sensor: soil_moisture | fields: level, type, qc, unit
Task: Get reading from dew_point where value exceeds the count of value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080604 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, lat, level, depth
Sensor: air_quality | fields: value, type, unit, level
Task: Fetch depth from pressure where depth is greater than the count of of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080605 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: level, type, reading, unit
Sensor: rainfall | fields: qc, type, depth, lat
Task: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080606 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, value, reading, type
Sensor: soil_moisture | fields: qc, depth, unit, lat
Task: Retrieve depth from snow_depth that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080607 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, ts, level, depth
Sensor: drought_index | fields: qc, value, lon, reading
Task: Get value from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080608 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: depth, lon, ts, reading
Sensor: evaporation | fields: lon, depth, value, unit
Task: Get depth from visibility where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080609 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, lon, reading, ts
Sensor: uv_index | fields: level, type, depth, qc
Task: Get level from pressure where reading exceeds the maximum reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080610 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, level, type, unit
Sensor: snow_depth | fields: reading, value, qc, type
Task: Get lon from wind_speed where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080611 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lon, unit, ts, depth
Sensor: wind_speed | fields: type, lat, lon, value
Task: Get reading from temperature where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080612 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, depth, ts, reading
Sensor: sunlight | fields: qc, depth, value, level
Task: Get level from pressure where depth exceeds the maximum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080613 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, unit, value, ts
Sensor: temperature | fields: lon, depth, value, reading
Task: Fetch lat from drought_index where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080614 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, qc, type, ts
Sensor: soil_moisture | fields: qc, ts, unit, lon
Task: Retrieve lat from snow_depth whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080615 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, lat, reading, ts
Sensor: drought_index | fields: reading, depth, lon, ts
Task: Get lon from frost where reading exceeds the maximum reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080616 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: level, lon, ts, qc
Sensor: pressure | fields: reading, unit, qc, level
Task: Retrieve value from air_quality with reading above the MAX(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080617 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, lat, reading, unit
Sensor: temperature | fields: lon, ts, level, qc
Task: Fetch lon from rainfall where value is greater than the average of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080618 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, level, lat, lon
Sensor: humidity | fields: depth, ts, type, lon
Task: Get lon from temperature where qc appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080619 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, value, qc, depth
Sensor: sunlight | fields: unit, level, depth, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080620 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, lat, level, reading
Sensor: evaporation | fields: lat, value, lon, reading
Task: Fetch lat from sunlight where depth is greater than the total of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080621 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lon, ts, level
Sensor: cloud_cover | fields: ts, unit, depth, type
Task: Get value from dew_point where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080622 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: reading, lon, qc, depth
Sensor: uv_index | fields: reading, qc, level, unit
Task: Get depth from temperature where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080623 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, lon, unit, lat
Sensor: lightning | fields: type, lon, level, value
Task: Retrieve level from drought_index with depth above the AVG(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080624 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, lat, unit, level
Sensor: cloud_cover | fields: depth, unit, qc, lon
Task: Retrieve lat from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080625 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: depth, level, value, type
Sensor: snow_depth | fields: unit, type, qc, level
Task: Retrieve depth from pressure that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080626 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, lat, qc, value
Sensor: lightning | fields: reading, unit, lon, depth
Task: Fetch reading from evaporation where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080627 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: type, level, depth, qc
Sensor: snow_depth | fields: lon, lat, ts, value
Task: Get value from humidity where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080628 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, lon, type, qc
Sensor: evaporation | fields: lat, qc, lon, reading
Task: Get lon from uv_index where unit appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080629 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, lat, reading
Sensor: evaporation | fields: unit, level, type, ts
Task: Get lon from drought_index where depth exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080630 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, type, unit, reading
Sensor: temperature | fields: value, type, depth, lat
Task: Get level from pressure where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080631 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, unit, depth, lat
Sensor: lightning | fields: value, level, lon, depth
Task: Fetch lon from uv_index where depth exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080632 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: qc, ts, reading, type
Sensor: soil_moisture | fields: ts, depth, value, unit
Task: Get lon from turbidity where value exceeds the maximum depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080633 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, lon, value, depth
Sensor: uv_index | fields: unit, level, ts, lon
Task: Retrieve depth from sunlight with value above the COUNT(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080634 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, ts, level, reading
Sensor: turbidity | fields: value, unit, qc, lat
Task: Retrieve lat from frost that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080635 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, value, lon, qc
Sensor: dew_point | fields: value, level, lon, reading
Task: Get lat from soil_moisture where value exceeds the total depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080636 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: type, value, qc, reading
Sensor: turbidity | fields: lon, depth, type, level
Task: Get value from pressure where value exceeds the count of value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080637 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, qc, level, value
Sensor: evaporation | fields: level, lat, type, depth
Task: Retrieve level from snow_depth with reading above the MIN(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080638 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, lon, reading, level
Sensor: sunlight | fields: value, qc, unit, depth
Task: Retrieve lat from dew_point with value above the MIN(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080639 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, depth, unit, reading
Sensor: air_quality | fields: unit, reading, depth, ts
Task: Get level from visibility where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080640 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, depth, reading, lon
Sensor: wind_speed | fields: level, qc, ts, reading
Task: Retrieve value from frost with value above the AVG(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080641 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, type, value, lon
Sensor: snow_depth | fields: value, qc, level, type
Task: Get level from dew_point where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080642 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lon, reading, depth
Sensor: lightning | fields: ts, lat, reading, depth
Task: Get lat from evaporation where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080643 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: qc, type, lat, ts
Sensor: dew_point | fields: depth, type, value, reading
Task: Get lat from air_quality where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080644 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, lon, lat, qc
Sensor: snow_depth | fields: type, qc, lon, depth
Task: Fetch lon from rainfall where value is greater than the average of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080645 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, value, lon, lat
Sensor: turbidity | fields: ts, level, reading, lat
Task: Get value from evaporation where reading exceeds the count of depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080646 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, depth, type, lat
Sensor: soil_moisture | fields: ts, level, lon, depth
Task: Retrieve lon from snow_depth with depth above the AVG(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080647 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, qc, depth, type
Sensor: turbidity | fields: value, lon, lat, unit
Task: Retrieve level from snow_depth that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080648 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, lon, qc, lat
Sensor: temperature | fields: unit, level, value, lon
Task: Retrieve lat from drought_index with depth above the SUM(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080649 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: ts, unit, value, lat
Sensor: rainfall | fields: level, reading, value, ts
Task: Fetch lon from frost where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080650 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: value, lat, unit, depth
Sensor: frost | fields: reading, lat, lon, unit
Task: Retrieve lon from snow_depth that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080651 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, qc, depth, level
Sensor: sunlight | fields: reading, value, lat, depth
Task: Retrieve depth from uv_index with value above the MIN(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080652 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, unit, value, reading
Sensor: sunlight | fields: qc, lat, depth, unit
Task: Get level from drought_index where depth exceeds the maximum depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080653 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, type, ts, level
Sensor: humidity | fields: ts, unit, depth, qc
Task: Retrieve level from drought_index whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080654 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, level, value, ts
Sensor: soil_moisture | fields: lat, depth, reading, lon
Task: Retrieve reading from lightning whose unit is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080655 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, depth, qc, ts
Sensor: cloud_cover | fields: qc, lat, reading, value
Task: Get depth from snow_depth where reading exceeds the average reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080656 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, depth, value, lon
Sensor: rainfall | fields: lat, ts, value, qc
Task: Retrieve depth from wind_speed with value above the SUM(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080657 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, value, reading, depth
Sensor: dew_point | fields: depth, value, qc, reading
Task: Retrieve lat from sunlight with depth above the MAX(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080658 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, ts, qc, value
Sensor: evaporation | fields: unit, lon, qc, type
Task: Get level from turbidity where depth exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080659 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, unit, ts, type
Sensor: temperature | fields: reading, value, lat, unit
Task: Fetch lat from uv_index where reading is greater than the maximum of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080660 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, unit, depth, qc
Sensor: snow_depth | fields: unit, value, type, lat
Task: Fetch lon from visibility where depth is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
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",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080661 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, ts, lat, type
Sensor: dew_point | fields: unit, lat, lon, level
Task: Get depth from pressure where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080662 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: reading, qc, unit, lon
Sensor: frost | fields: lon, depth, value, lat
Task: Get lon from rainfall where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080663 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, type, reading, ts
Sensor: drought_index | fields: unit, value, lon, depth
Task: Fetch lon from uv_index where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080664 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, qc, value, depth
Sensor: rainfall | fields: value, type, reading, depth
Task: Retrieve value from lightning with depth above the AVG(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080665 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, lat, ts
Sensor: wind_speed | fields: type, lat, qc, unit
Task: Get level from rainfall where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080666 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, reading, lat, depth
Sensor: frost | fields: reading, depth, qc, lat
Task: Retrieve lon from visibility with value above the SUM(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080667 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: qc, level, lat, type
Sensor: wind_speed | fields: lon, unit, lat, ts
Task: Fetch lon from evaporation where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080668 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, lon, type, reading
Sensor: turbidity | fields: type, reading, qc, lon
Task: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080669 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, value, depth, lat
Sensor: cloud_cover | fields: unit, type, reading, depth
Task: Get lon from humidity where ts appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080670 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, reading, lon, type
Sensor: air_quality | fields: reading, unit, type, qc
Task: Fetch level from pressure that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080671 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: ts, type, depth, qc
Sensor: visibility | fields: qc, ts, level, reading
Task: Get lon from drought_index where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080672 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lat, reading, ts, value
Sensor: frost | fields: unit, type, level, ts
Task: Retrieve lat from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080673 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lon, level, qc, type
Sensor: humidity | fields: qc, lon, depth, reading
Task: Fetch reading from temperature that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080674 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, lat, reading, depth
Sensor: wind_speed | fields: qc, lon, type, ts
Task: Get lat from evaporation where value exceeds the count of depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080675 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: ts, lon, reading, unit
Sensor: temperature | fields: lat, ts, type, depth
Task: Retrieve level from drought_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080676 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, depth, unit, lon
Sensor: air_quality | fields: lon, ts, depth, qc
Task: Get lat from sunlight where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080677 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, qc, ts, value
Sensor: sunlight | fields: reading, type, unit, qc
Task: Retrieve lat from uv_index whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080678 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, reading, unit, ts
Sensor: drought_index | fields: unit, type, depth, reading
Task: Get reading from rainfall where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080679 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, level, unit, value
Sensor: drought_index | fields: value, lon, reading, level
Task: Get level from visibility where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080680 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, level, depth, qc
Sensor: air_quality | fields: reading, unit, type, level
Task: Get depth from turbidity where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080681 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, depth, level, lat
Sensor: evaporation | fields: type, value, lat, depth
Task: Retrieve depth from frost that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080682 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, reading, level, lon
Sensor: turbidity | fields: lon, level, lat, value
Task: Get level from dew_point where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080683 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: ts, unit, value, level
Sensor: humidity | fields: depth, type, reading, unit
Task: Retrieve lon from dew_point that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080684 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, type, level, depth
Sensor: visibility | fields: value, lat, qc, type
Task: Fetch reading from wind_speed that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080685 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: unit, level, lat, lon
Sensor: soil_moisture | fields: unit, lon, qc, level
Task: Retrieve lon from dew_point whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080686 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, depth, type, qc
Sensor: wind_speed | fields: lat, reading, lon, depth
Task: Fetch value from air_quality where depth is greater than the total of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080687 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, unit, level, lat
Sensor: temperature | fields: qc, ts, lat, unit
Task: Retrieve lon from air_quality that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_080688 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lon, value, type
Sensor: visibility | fields: unit, qc, type, level
Task: Get value from sunlight where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080689 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: qc, lon, value, type
Sensor: visibility | fields: depth, reading, unit, type
Task: Retrieve reading from frost with depth above the AVG(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080690 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, depth, qc, type
Sensor: air_quality | fields: unit, depth, type, value
Task: Fetch lat from dew_point where depth is greater than the maximum of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080691 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, ts, unit, value
Sensor: frost | fields: lat, level, unit, depth
Task: Fetch lon from sunlight where depth is greater than the average of value in frost for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080692 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, unit, type, depth
Sensor: air_quality | fields: lat, level, type, value
Task: Fetch lon from temperature that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080693 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: value, qc, lon, ts
Sensor: soil_moisture | fields: lat, level, qc, unit
Task: Retrieve level from lightning with reading above the COUNT(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080694 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, qc, ts, lon
Sensor: lightning | fields: depth, lat, ts, lon
Task: Fetch depth from turbidity that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080695 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, lon, depth, level
Sensor: lightning | fields: lat, value, depth, unit
Task: Get reading from uv_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080696 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, ts, type, lat
Sensor: frost | fields: depth, level, ts, lon
Task: Get lat from humidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080697 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, ts, value, lon
Sensor: dew_point | fields: level, reading, lat, type
Task: Get value from rainfall where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080698 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, lat, qc, unit
Sensor: temperature | fields: reading, value, type, ts
Task: Retrieve lat from soil_moisture with reading above the SUM(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.