variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: turbidity | code: hub | fields: type, unit, qc, reading
Sensor: cloud_cover | fields: type, qc, unit, level
Task: Fetch lat from turbidity where value is greater than the total of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082600 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, level, unit, ts
Sensor: visibility | fields: lat, depth, qc, type
Task: Get lat from snow_depth where depth exceeds the maximum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082601 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: ts, depth, lat, value
Sensor: drought_index | fields: type, lon, value, level
Task: Fetch value from uv_index where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082602 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lat, reading, type
Sensor: air_quality | fields: value, depth, unit, ts
Task: Fetch lon from evaporation where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082603 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lat, lon, ts, unit
Sensor: cloud_cover | fields: type, lat, level, value
Task: Get value from evaporation where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082604 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, value, qc
Sensor: rainfall | fields: depth, type, lat, qc
Task: Retrieve lon from cloud_cover whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082605 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: qc, value, depth, type
Sensor: drought_index | fields: depth, value, lon, lat
Task: Retrieve lon from lightning with depth above the MIN(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082606 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, lon, value, unit
Sensor: sunlight | fields: level, value, lat, lon
Task: Retrieve reading from pressure whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082607 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, ts, lon, value
Sensor: sunlight | fields: lon, qc, depth, unit
Task: Fetch reading from snow_depth where depth is greater than the average of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082608 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, level, lat, value
Sensor: evaporation | fields: qc, ts, level, lon
Task: Fetch lat from lightning where reading is greater than the count of of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082609 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, ts, qc, lat
Sensor: lightning | fields: level, qc, ts, reading
Task: Retrieve value from humidity that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082610 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, value, reading, lat
Sensor: air_quality | fields: qc, level, reading, ts
Task: Fetch lon from temperature that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082611 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, depth, unit, lat
Sensor: cloud_cover | fields: value, unit, lon, qc
Task: Fetch lon from visibility where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082612 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, level, ts, reading
Sensor: wind_speed | fields: lon, type, depth, lat
Task: Fetch value from drought_index where depth is greater than the total of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082613 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, lat, level, depth
Sensor: cloud_cover | fields: type, reading, lat, unit
Task: Fetch lat from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082614 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, type, lon
Sensor: wind_speed | fields: lon, unit, level, qc
Task: Get lon from uv_index where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082615 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, depth, type, value
Sensor: drought_index | fields: qc, reading, unit, value
Task: Get level from snow_depth where reading exceeds the average value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082616 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, lat, level, ts
Sensor: cloud_cover | fields: value, depth, type, qc
Task: Retrieve level from wind_speed that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082617 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, type, lon, level
Sensor: dew_point | fields: lat, value, qc, level
Task: Get depth from cloud_cover where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082618 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, qc, level, depth
Sensor: evaporation | fields: depth, value, qc, lon
Task: Fetch depth from turbidity where reading is greater than the minimum of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082619 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lon, depth, lat, level
Sensor: sunlight | fields: reading, type, depth, qc
Task: Retrieve lat from uv_index with value above the MAX(value) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082620 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, unit, reading, lon
Sensor: evaporation | fields: unit, lat, depth, lon
Task: Fetch depth from drought_index that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082621 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, level, ts
Sensor: evaporation | fields: qc, unit, depth, value
Task: Fetch lon from humidity where qc exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082622 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, value, ts, lon
Sensor: rainfall | fields: lat, ts, depth, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082623 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, ts, qc, reading
Sensor: turbidity | fields: value, lon, level, depth
Task: Get level from wind_speed where depth appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082624 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, level, reading, lat
Sensor: uv_index | fields: type, reading, value, qc
Task: Fetch level from lightning that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082625 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: value, depth, qc, lat
Sensor: uv_index | fields: lat, depth, value, lon
Task: Retrieve depth from sunlight with reading above the MAX(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082626 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, value, ts, reading
Sensor: frost | fields: lon, level, reading, value
Task: Fetch lon from cloud_cover where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082627 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, unit, depth, value
Sensor: turbidity | fields: type, value, reading, lat
Task: Fetch lat from uv_index where reading is greater than the minimum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082628 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, type, level, ts
Sensor: soil_moisture | fields: ts, level, value, lon
Task: Get value from pressure where depth exceeds the total depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082629 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, lat, ts, depth
Sensor: wind_speed | fields: ts, level, reading, lat
Task: Retrieve level from frost whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082630 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, reading, type, lon
Sensor: rainfall | fields: qc, type, lat, level
Task: Retrieve level from visibility with reading above the MAX(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082631 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, type, reading, lat
Sensor: uv_index | fields: ts, lon, unit, reading
Task: Retrieve value from evaporation whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082632 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, depth, qc, unit
Sensor: air_quality | fields: level, type, value, qc
Task: Retrieve depth from drought_index that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082633 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, value, depth, lat
Sensor: cloud_cover | fields: type, reading, depth, level
Task: Retrieve lon from snow_depth that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082634 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, unit, qc
Sensor: air_quality | fields: lat, level, value, lon
Task: Fetch depth from humidity where reading is greater than the total of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082635 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, reading, value, lon
Sensor: frost | fields: unit, reading, value, lon
Task: Fetch reading from dew_point that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082636 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, qc, depth, lon
Sensor: wind_speed | fields: depth, qc, type, ts
Task: Get value from snow_depth where reading exceeds the minimum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082637 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, depth, type, lat
Sensor: rainfall | fields: lat, type, depth, level
Task: Fetch reading from visibility where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082638 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, qc, value, type
Sensor: uv_index | fields: depth, level, unit, lon
Task: Retrieve value from rainfall whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082639 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, qc, type, unit
Sensor: snow_depth | fields: lat, value, level, reading
Task: Retrieve lon from visibility whose qc is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082640 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, level, depth, lat
Sensor: drought_index | fields: unit, qc, ts, lon
Task: Retrieve depth from lightning with depth above the MAX(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082641 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, unit, qc, type
Sensor: cloud_cover | fields: lat, depth, ts, type
Task: Get value from wind_speed where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082642 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, lon, unit, level
Sensor: humidity | fields: lat, type, qc, ts
Task: Retrieve lon from evaporation whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082643 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, ts, level, lon
Sensor: drought_index | fields: qc, lat, type, depth
Task: Get value from soil_moisture where unit appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082644 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, lat, type, unit
Sensor: frost | fields: type, unit, lon, value
Task: Fetch lat from pressure that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082645 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, ts, unit, reading
Sensor: wind_speed | fields: qc, reading, lon, unit
Task: Get level from temperature where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082646 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, unit, qc, level
Sensor: lightning | fields: unit, ts, level, type
Task: Fetch depth from temperature that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082647 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, value, type, lat
Sensor: drought_index | fields: qc, level, ts, type
Task: Fetch lon from rainfall where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082648 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, qc, value, unit
Sensor: frost | fields: ts, lat, level, unit
Task: Retrieve lat from humidity with depth above the MAX(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082649 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, qc, lat, type
Sensor: evaporation | fields: reading, lat, ts, lon
Task: Fetch depth from snow_depth where reading is greater than the count of of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082650 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, lon, level, unit
Sensor: uv_index | fields: unit, depth, reading, level
Task: Fetch level from humidity where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082651 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: unit, value, reading, ts
Sensor: drought_index | fields: lon, value, reading, qc
Task: Retrieve reading from sunlight that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082652 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, unit, level, lon
Sensor: turbidity | fields: lat, reading, depth, qc
Task: Retrieve lat from frost whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082653 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, unit, type, depth
Sensor: air_quality | fields: qc, lon, unit, depth
Task: Retrieve lat from wind_speed that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082654 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, unit, qc, lat
Sensor: air_quality | fields: value, level, reading, qc
Task: Fetch depth from soil_moisture where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082655 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: type, depth, ts, lat
Sensor: pressure | fields: value, lon, depth, level
Task: Retrieve level from humidity whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082656 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: type, value, lon, qc
Sensor: evaporation | fields: reading, lon, qc, value
Task: Retrieve depth from visibility whose type is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082657 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: value, type, depth, lat
Sensor: wind_speed | fields: level, value, ts, depth
Task: Retrieve level from visibility that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082658 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, depth, level, reading
Sensor: wind_speed | fields: value, qc, unit, ts
Task: Retrieve lat from uv_index whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082659 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, unit, type, level
Sensor: frost | fields: ts, lat, value, reading
Task: Retrieve lon from wind_speed that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082660 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, lat, unit, type
Sensor: frost | fields: lon, level, lat, ts
Task: Fetch level from cloud_cover where value is greater than the minimum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082661 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: qc, ts, level, type
Sensor: pressure | fields: lon, ts, lat, depth
Task: Retrieve depth from uv_index with value above the MIN(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082662 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: type, value, lat, level
Sensor: air_quality | fields: lat, value, lon, ts
Task: Fetch lon from visibility where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082663 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, lat, unit, level
Sensor: uv_index | fields: type, ts, reading, depth
Task: Retrieve lon from lightning whose ts is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082664 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, reading, depth
Sensor: cloud_cover | fields: unit, depth, ts, qc
Task: Fetch depth from snow_depth where depth is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082665 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, ts, lat, lon
Sensor: wind_speed | fields: lon, qc, depth, lat
Task: Get value from air_quality where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082666 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, lon, qc, value
Sensor: drought_index | fields: value, lon, depth, reading
Task: Get lat from pressure where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082667 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, lon, level, type
Sensor: sunlight | fields: depth, qc, ts, value
Task: Fetch depth from evaporation where reading is greater than the count of of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082668 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, reading, level, unit
Sensor: pressure | fields: depth, reading, type, qc
Task: Retrieve depth from dew_point that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082669 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, reading, type, unit
Sensor: frost | fields: level, depth, lon, reading
Task: Get depth from drought_index where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082670 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, type, reading
Sensor: snow_depth | fields: reading, ts, unit, type
Task: Retrieve lat from dew_point whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082671 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, qc, type, ts
Sensor: wind_speed | fields: type, qc, level, lon
Task: Get lat from turbidity where reading exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082672 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, qc, depth, value
Sensor: frost | fields: lat, level, type, ts
Task: Get lat from drought_index where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082673 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, reading, type, qc
Sensor: rainfall | fields: depth, unit, value, type
Task: Retrieve depth from air_quality whose ts is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082674 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, lat, unit, lon
Sensor: pressure | fields: qc, type, depth, value
Task: Fetch lat from wind_speed where depth is greater than the minimum of value in pressure for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082675 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, level, type, unit
Sensor: turbidity | fields: reading, value, type, lat
Task: Get value from wind_speed where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082676 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: type, qc, value, lat
Sensor: cloud_cover | fields: depth, lon, lat, qc
Task: Fetch value from humidity where type exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082677 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, level, lon, value
Sensor: turbidity | fields: unit, qc, depth, lon
Task: Fetch value from wind_speed that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082678 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: qc, value, lon, reading
Sensor: lightning | fields: qc, lon, unit, level
Task: Get reading from frost where depth exceeds the maximum depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082679 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, ts, qc, level
Sensor: frost | fields: depth, lat, reading, unit
Task: Get value from soil_moisture where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082680 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lat, reading, lon, ts
Sensor: drought_index | fields: level, lon, unit, ts
Task: Fetch value from sunlight where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082681 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, type, reading, value
Sensor: lightning | fields: type, reading, lat, level
Task: Retrieve level from dew_point with depth above the SUM(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082682 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: level, reading, unit, depth
Sensor: frost | fields: unit, reading, qc, level
Task: Retrieve lat from humidity with value above the SUM(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082683 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: type, value, ts, unit
Sensor: snow_depth | fields: lat, type, depth, value
Task: Fetch reading from lightning where depth is greater than the total of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082684 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, depth, ts, level
Sensor: turbidity | fields: type, reading, ts, lat
Task: Retrieve lon from uv_index that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082685 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: level, reading, type, lon
Sensor: rainfall | fields: lat, unit, lon, depth
Task: Get level from humidity where reading exceeds the minimum depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082686 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, type, unit, depth
Sensor: air_quality | fields: lat, value, depth, lon
Task: Fetch level from drought_index where ts exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082687 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, level, lat, unit
Sensor: rainfall | fields: depth, ts, qc, value
Task: Fetch reading from frost where ts exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082688 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, qc, depth, unit
Sensor: drought_index | fields: level, qc, value, unit
Task: Fetch depth from sunlight where depth is greater than the total of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082689 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, lon, unit, type
Sensor: rainfall | fields: qc, value, lon, unit
Task: Retrieve lon from drought_index with value above the MIN(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082690 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, value, lon, ts
Sensor: humidity | fields: lon, ts, lat, reading
Task: Fetch level from visibility that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082691 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, value, reading, qc
Sensor: sunlight | fields: type, lon, lat, reading
Task: Get reading from frost where type appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082692 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, value, unit, reading
Sensor: rainfall | fields: lat, ts, qc, reading
Task: Get lat from snow_depth where unit appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082693 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, reading, lat, lon
Sensor: air_quality | fields: type, lat, ts, depth
Task: Get value from lightning where reading exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082694 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, qc, value, unit
Sensor: soil_moisture | fields: depth, value, unit, level
Task: Fetch lat from cloud_cover that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082695 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, unit, reading, lat
Sensor: rainfall | fields: lon, type, value, ts
Task: Retrieve lat from cloud_cover whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082696 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, reading, unit, level
Sensor: cloud_cover | fields: value, type, lon, qc
Task: Get depth from snow_depth where depth exceeds the average reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082697 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: value, level, lon, reading
Sensor: cloud_cover | fields: ts, unit, qc, depth
Task: Fetch depth from pressure where reading is greater than the count of of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082698 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, qc, lon, lat
Sensor: humidity | fields: reading, level, ts, value
Task: Retrieve level from wind_speed that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.