variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, depth, qc, reading
Sensor: temperature | fields: depth, level, value, unit
Task: Retrieve depth from rainfall whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022900 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, type, level, ts
Sensor: air_quality | fields: lat, level, value, type
Task: Fetch depth from cloud_cover where ts exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022901 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: type, unit, reading, depth
Sensor: snow_depth | fields: type, lon, value, lat
Task: Fetch lat from humidity where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022902 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, depth, ts, qc
Sensor: soil_moisture | fields: level, reading, qc, type
Task: Get lon from air_quality where reading exceeds the minimum reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022903 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: type, ts, depth, lat
Sensor: cloud_cover | fields: ts, level, value, reading
Task: Get lat from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022904 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, lat, reading, ts
Sensor: frost | fields: lat, qc, level, type
Task: Get lat from dew_point where depth exceeds the minimum value from frost for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022905 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: qc, unit, reading, lat
Sensor: rainfall | fields: depth, value, type, level
Task: Retrieve level from air_quality whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022906 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, unit, value, depth
Sensor: wind_speed | fields: reading, ts, lon, lat
Task: Fetch level from drought_index where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022907 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, qc, value, ts
Sensor: cloud_cover | fields: lon, value, type, reading
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022908 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lat, value, unit, qc
Sensor: visibility | fields: type, value, unit, reading
Task: Retrieve depth from evaporation whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022909 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, type, value, qc
Sensor: drought_index | fields: ts, depth, unit, value
Task: Get reading from temperature where reading exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022910 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, lon, type, value
Sensor: lightning | fields: lat, unit, qc, type
Task: Fetch level from sunlight that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022911 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, lon, depth, type
Sensor: wind_speed | fields: depth, reading, unit, ts
Task: Retrieve reading from dew_point with reading above the SUM(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022912 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, qc, level, reading
Sensor: evaporation | fields: level, lat, ts, type
Task: Get lat from drought_index where depth exceeds the minimum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022913 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: level, reading, lat, value
Sensor: cloud_cover | fields: unit, qc, lon, depth
Task: Get reading from drought_index where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022914 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: unit, level, ts, reading
Sensor: sunlight | fields: lat, value, qc, level
Task: Retrieve lon from evaporation that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022915 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, depth, type, ts
Sensor: frost | fields: qc, type, lat, unit
Task: Get depth from uv_index where depth exceeds the minimum value from frost for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022916 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: level, unit, lat, depth
Sensor: cloud_cover | fields: lon, depth, ts, level
Task: Get depth from dew_point where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022917 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lat, reading, depth, value
Sensor: frost | fields: ts, depth, level, lat
Task: Retrieve depth from visibility with reading above the COUNT(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022918 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, value, type, lon
Sensor: uv_index | fields: qc, level, depth, type
Task: Retrieve lon from lightning whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022919 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, lon, depth, qc
Sensor: drought_index | fields: unit, qc, ts, reading
Task: Get lon from wind_speed where value exceeds the minimum reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022920 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: type, unit, lon, lat
Sensor: humidity | fields: qc, value, reading, lat
Task: Fetch lat from lightning where value is greater than the count of of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022921 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, ts, lat, level
Sensor: evaporation | fields: lat, ts, qc, lon
Task: Fetch level from lightning that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022922 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: ts, depth, lon, type
Sensor: pressure | fields: lat, unit, depth, lon
Task: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022923 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, lon, depth, unit
Sensor: evaporation | fields: level, lon, qc, reading
Task: Retrieve lon from snow_depth that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022924 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, unit, type
Sensor: uv_index | fields: value, ts, reading, lat
Task: Retrieve lon from visibility whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022925 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, qc, reading, depth
Sensor: snow_depth | fields: reading, depth, value, level
Task: Retrieve reading from sunlight with depth above the COUNT(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022926 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: ts, reading, value, lon
Sensor: lightning | fields: depth, ts, unit, qc
Task: Get lon from visibility where unit appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022927 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, depth, type, unit
Sensor: lightning | fields: level, lon, type, reading
Task: Retrieve value from pressure with depth above the COUNT(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022928 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: qc, lat, ts, reading
Sensor: visibility | fields: lat, value, lon, qc
Task: Retrieve lat from temperature whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022929 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, lon, qc, depth
Sensor: dew_point | fields: level, depth, lon, qc
Task: Get depth from cloud_cover where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022930 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: value, qc, type, lat
Sensor: frost | fields: value, unit, level, reading
Task: Fetch lat from lightning where depth is greater than the total of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022931 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: depth, unit, qc, ts
Sensor: rainfall | fields: lat, depth, ts, value
Task: Retrieve level from uv_index whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022932 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, level, lat, ts
Sensor: air_quality | fields: lat, ts, qc, unit
Task: Get value from visibility where depth exceeds the count of depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022933 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, unit, depth, reading
Sensor: pressure | fields: ts, type, reading, lon
Task: Get value from wind_speed where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022934 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, lon, depth, unit
Sensor: dew_point | fields: lat, level, value, type
Task: Get level from turbidity where depth appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022935 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: reading, type, value, ts
Sensor: sunlight | fields: lon, qc, unit, value
Task: Retrieve reading from pressure whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022936 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, unit, type, lat
Sensor: air_quality | fields: ts, depth, qc, value
Task: Fetch value from lightning where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022937 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lat, qc, value, depth
Sensor: temperature | fields: type, lon, level, unit
Task: Retrieve reading from humidity with depth above the MAX(depth) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022938 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lat, ts, unit
Sensor: frost | fields: lon, level, qc, type
Task: Fetch level from rainfall that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022939 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, type, ts
Sensor: turbidity | fields: reading, level, qc, lon
Task: Retrieve value from uv_index with value above the MAX(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022940 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, reading, level
Sensor: pressure | fields: value, type, lon, depth
Task: Get lat from cloud_cover where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022941 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, reading, value
Sensor: pressure | fields: level, value, lat, lon
Task: Retrieve level from sunlight with depth above the COUNT(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022942 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, lon, depth, value
Sensor: rainfall | fields: type, depth, unit, reading
Task: Retrieve lon from frost whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022943 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, type, lon, depth
Sensor: evaporation | fields: level, depth, type, value
Task: Get depth from cloud_cover where value exceeds the total reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022944 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, qc, lat, level
Sensor: soil_moisture | fields: qc, lon, depth, unit
Task: Get depth from visibility where depth exceeds the total value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022945 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lon, type, ts, value
Sensor: dew_point | fields: lon, type, depth, level
Task: Get value from temperature where value exceeds the total value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022946 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, depth, qc, reading
Sensor: snow_depth | fields: unit, type, qc, level
Task: Fetch lat from temperature where ts exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022947 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, ts, reading, lat
Sensor: visibility | fields: level, value, qc, unit
Task: Retrieve level from temperature whose unit is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022948 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, lat, qc
Sensor: temperature | fields: lat, reading, qc, value
Task: Fetch depth from uv_index where reading is greater than the average of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022949 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, lat, level, type
Sensor: pressure | fields: ts, type, qc, reading
Task: Fetch value from snow_depth that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022950 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, ts, unit, qc
Sensor: turbidity | fields: lat, level, qc, unit
Task: Get lon from dew_point where reading exceeds the average depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022951 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: level, type, reading, value
Sensor: air_quality | fields: value, lon, depth, unit
Task: Retrieve reading from frost whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022952 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: depth, lon, value, level
Sensor: drought_index | fields: lat, type, ts, reading
Task: Fetch lat from sunlight that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022953 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, type, unit, depth
Sensor: evaporation | fields: reading, depth, qc, lon
Task: Retrieve depth from wind_speed whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022954 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, lat, reading, depth
Sensor: pressure | fields: type, unit, value, depth
Task: Get reading from dew_point where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022955 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, value, lat, unit
Sensor: air_quality | fields: ts, unit, qc, lat
Task: Retrieve value from dew_point with reading above the AVG(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022956 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: value, qc, level, depth
Sensor: wind_speed | fields: depth, value, reading, ts
Task: Fetch reading from sunlight where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022957 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, value, unit, ts
Sensor: sunlight | fields: lat, qc, unit, reading
Task: Fetch reading from temperature where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022958 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: depth, qc, type, reading
Sensor: wind_speed | fields: ts, type, lon, lat
Task: Fetch value from dew_point where value is greater than the count of of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022959 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, lat, lon, level
Sensor: temperature | fields: lat, type, value, qc
Task: Fetch lat from drought_index where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022960 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lon, unit, value
Sensor: cloud_cover | fields: type, unit, ts, depth
Task: Fetch lat from dew_point that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022961 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, level, lat, type
Sensor: snow_depth | fields: lat, value, unit, lon
Task: Fetch level from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022962 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, depth, ts, qc
Sensor: dew_point | fields: lat, ts, value, type
Task: Retrieve lat from sunlight with depth above the MAX(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022963 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lat, ts, qc
Sensor: air_quality | fields: reading, lon, qc, level
Task: Fetch value from visibility where reading is greater than the total of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022964 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: qc, depth, type, unit
Sensor: frost | fields: qc, lat, lon, unit
Task: Get level from uv_index where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022965 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, lat, ts, type
Sensor: turbidity | fields: reading, qc, unit, depth
Task: Retrieve lon from pressure with reading above the MIN(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022966 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: ts, type, level, reading
Sensor: lightning | fields: depth, level, ts, value
Task: Retrieve lon from air_quality with value above the COUNT(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022967 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: type, unit, qc, ts
Sensor: wind_speed | fields: reading, ts, level, lon
Task: Fetch lat from snow_depth where value is greater than the total of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022968 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, lat, value, ts
Sensor: soil_moisture | fields: type, depth, lon, unit
Task: Get depth from pressure where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022969 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, level, ts, unit
Sensor: wind_speed | fields: level, lon, reading, unit
Task: Get level from frost where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022970 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, type, reading, qc
Sensor: snow_depth | fields: ts, unit, lon, reading
Task: Fetch level from wind_speed where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022971 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, lon, ts, lat
Sensor: uv_index | fields: value, qc, lat, ts
Task: Retrieve lat from visibility whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022972 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, level, lat, reading
Sensor: rainfall | fields: reading, depth, unit, qc
Task: Fetch lon from air_quality that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022973 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, value, type, lon
Sensor: drought_index | fields: unit, lat, level, value
Task: Fetch reading from soil_moisture that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022974 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, qc, unit, value
Sensor: temperature | fields: level, qc, lon, unit
Task: Retrieve reading from air_quality whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022975 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, value, depth, ts
Sensor: pressure | fields: qc, reading, ts, unit
Task: Get value from frost where value exceeds the total depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022976 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, value, level, reading
Sensor: pressure | fields: value, level, unit, depth
Task: Fetch depth from uv_index where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022977 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lat, type, depth, value
Sensor: wind_speed | fields: qc, level, ts, unit
Task: Get reading from pressure where depth exceeds the minimum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022978 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, reading, lon
Sensor: pressure | fields: type, level, depth, ts
Task: Fetch lon from uv_index that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022979 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, lat, value, lon
Sensor: drought_index | fields: type, qc, unit, lon
Task: Fetch level from lightning where depth is greater than the average of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022980 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, qc, level, lat
Sensor: lightning | fields: depth, reading, unit, level
Task: Get lon from humidity where reading exceeds the average depth from lightning for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022981 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, lon, type, ts
Sensor: visibility | fields: unit, depth, lat, value
Task: Fetch depth from lightning where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022982 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, value, depth, lat
Sensor: dew_point | fields: ts, level, qc, unit
Task: Get depth from air_quality where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022983 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: type, value, lon, level
Sensor: turbidity | fields: qc, reading, lat, ts
Task: Fetch depth from rainfall that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022984 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, lat, reading, qc
Sensor: cloud_cover | fields: depth, reading, value, lat
Task: Retrieve value from uv_index whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022985 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, qc, level, value
Sensor: uv_index | fields: unit, depth, ts, lat
Task: Get depth from temperature where value exceeds the total depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022986 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, lat, lon, depth
Sensor: wind_speed | fields: reading, lat, qc, type
Task: Retrieve lat from air_quality that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022987 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, reading, level, value
Sensor: visibility | fields: depth, reading, lon, lat
Task: Retrieve depth from temperature with reading above the MAX(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022988 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, depth, type, reading
Sensor: wind_speed | fields: depth, lon, qc, level
Task: Retrieve level from uv_index that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022989 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: ts, depth, lon, qc
Sensor: soil_moisture | fields: lat, depth, type, unit
Task: Get lat from sunlight where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022990 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, type, reading, depth
Sensor: pressure | fields: ts, depth, level, qc
Task: Get reading from uv_index where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022991 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, depth, ts, value
Sensor: cloud_cover | fields: lat, level, ts, qc
Task: Fetch depth from drought_index where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022992 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, depth, value, type
Sensor: wind_speed | fields: unit, value, level, ts
Task: Retrieve reading from humidity whose type is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022993 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, qc, level, type
Sensor: cloud_cover | fields: lon, lat, level, unit
Task: Get lon from visibility where depth exceeds the total reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022994 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, level, lat, qc
Sensor: humidity | fields: reading, lat, unit, type
Task: Retrieve depth from dew_point that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022995 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: level, qc, unit, type
Sensor: temperature | fields: unit, lat, depth, level
Task: Retrieve lon from visibility whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022996 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, reading, level, lon
Sensor: snow_depth | fields: qc, lat, ts, lon
Task: Retrieve lon from humidity whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022997 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, qc, lon, type
Sensor: snow_depth | fields: depth, level, lat, lon
Task: Get level from soil_moisture where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022998 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, depth, lon, value
Sensor: drought_index | fields: ts, lon, value, lat
Task: Get depth from air_quality where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.