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: sunlight | code: stn | fields: lat, level, lon, type
Sensor: evaporation | fields: qc, value, unit, level
Task: Fetch value from sunlight where qc exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059700 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: ts, lat, reading, type
Sensor: drought_index | fields: lon, level, unit, reading
Task: Get reading from pressure where type appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059701 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, ts, reading, lat
Sensor: humidity | fields: qc, lon, level, lat
Task: Fetch depth from cloud_cover where depth exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059702 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: value, reading, level, unit
Sensor: uv_index | fields: level, depth, ts, lon
Task: Get reading from humidity where reading exceeds the minimum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059703 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, lon, depth, lat
Sensor: visibility | fields: level, reading, lon, value
Task: Fetch value from snow_depth where depth exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059704 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, depth, unit, value
Sensor: rainfall | fields: ts, lat, value, qc
Task: Get lon from uv_index where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059705 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, depth, unit
Sensor: wind_speed | fields: level, lat, lon, depth
Task: Fetch level from sunlight where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059706 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: depth, lon, lat, level
Sensor: pressure | fields: ts, unit, reading, lat
Task: Get lon from visibility where depth exceeds the maximum reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059707 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: type, value, lat, level
Sensor: uv_index | fields: reading, level, type, unit
Task: Get lon from humidity where reading exceeds the average reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059708 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, ts, unit, lon
Sensor: uv_index | fields: depth, value, type, level
Task: Fetch lat from cloud_cover where reading is greater than the total of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059709 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, depth, level, lon
Sensor: dew_point | fields: type, lon, reading, value
Task: Get reading from cloud_cover where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059710 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, lon, reading, unit
Sensor: humidity | fields: depth, lat, lon, reading
Task: Get depth from snow_depth where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"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_059711 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, ts, qc, depth
Sensor: rainfall | fields: qc, depth, type, ts
Task: Retrieve reading from snow_depth whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059712 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, depth, level, unit
Sensor: pressure | fields: type, qc, lon, value
Task: Retrieve depth from lightning with value above the AVG(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059713 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: lon, depth, level, qc
Sensor: dew_point | fields: reading, unit, lon, value
Task: Retrieve lat from temperature with reading above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059714 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lon, qc, depth, reading
Sensor: drought_index | fields: value, level, depth, qc
Task: Get depth from temperature where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059715 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, unit, value, lat
Sensor: humidity | fields: qc, depth, lat, level
Task: Fetch reading from dew_point where depth is greater than the total of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059716 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, value, type, ts
Sensor: soil_moisture | fields: depth, level, lat, lon
Task: Fetch reading from snow_depth where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059717 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, type, ts, unit
Sensor: air_quality | fields: lon, unit, type, ts
Task: Retrieve reading from visibility whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059718 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, lat, ts, unit
Sensor: frost | fields: value, unit, level, ts
Task: Retrieve value from snow_depth that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059719 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, type, value, lon
Sensor: air_quality | fields: value, depth, reading, unit
Task: Fetch level from humidity that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059720 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, unit, lon, level
Sensor: cloud_cover | fields: qc, ts, value, reading
Task: Fetch reading from humidity where depth exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059721 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, depth, lon, reading
Sensor: rainfall | fields: reading, qc, ts, type
Task: Get reading from pressure where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059722 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, lat, depth, qc
Sensor: snow_depth | fields: type, reading, ts, lat
Task: Get value from rainfall where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059723 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: depth, type, reading, qc
Sensor: temperature | fields: lon, unit, value, reading
Task: Get value from frost where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059724 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, value, type
Sensor: lightning | fields: reading, depth, value, ts
Task: Retrieve reading from visibility with reading above the MIN(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059725 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lat, level, value, unit
Sensor: drought_index | fields: type, lon, value, depth
Task: Get value from rainfall where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059726 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, reading, value, lon
Sensor: rainfall | fields: depth, unit, ts, level
Task: Fetch level from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059727 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, lon, depth, qc
Sensor: visibility | fields: level, value, unit, type
Task: Get lon from uv_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059728 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: qc, unit, lon, ts
Sensor: evaporation | fields: reading, lon, ts, depth
Task: Fetch lon from frost that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059729 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, value, type, lat
Sensor: evaporation | fields: reading, type, depth, lat
Task: Fetch reading from drought_index where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059730 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, unit, lon, ts
Sensor: frost | fields: qc, type, lon, ts
Task: Retrieve depth from dew_point that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059731 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: reading, type, value, lat
Sensor: evaporation | fields: unit, type, depth, qc
Task: Fetch lon from frost where depth is greater than the minimum of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059732 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: type, reading, lon, unit
Sensor: dew_point | fields: value, ts, qc, type
Task: Fetch level from temperature that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059733 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, value, ts, type
Sensor: visibility | fields: lon, level, qc, unit
Task: Get depth from temperature where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059734 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, type, level, unit
Sensor: lightning | fields: lat, depth, unit, reading
Task: Get reading from drought_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059735 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: unit, type, depth, reading
Sensor: evaporation | fields: lon, depth, level, qc
Task: Get depth from pressure where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059736 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lat, lon, reading
Sensor: drought_index | fields: value, lon, qc, unit
Task: Retrieve reading from air_quality that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059737 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, type, qc, unit
Sensor: soil_moisture | fields: ts, depth, qc, unit
Task: Get level from frost where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059738 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lon, value, ts, qc
Sensor: evaporation | fields: level, value, depth, unit
Task: Fetch lon from frost where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059739 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, depth, ts, unit
Sensor: soil_moisture | fields: lon, level, ts, reading
Task: Retrieve value from dew_point with value above the MIN(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059740 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, qc, depth, type
Sensor: temperature | fields: unit, qc, ts, lon
Task: Fetch lat from frost where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059741 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, lat, ts, qc
Sensor: humidity | fields: qc, level, reading, unit
Task: Fetch depth from rainfall where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059742 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, value, unit, reading
Sensor: evaporation | fields: lon, unit, depth, lat
Task: Get value from drought_index where type appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059743 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, value, qc, unit
Sensor: lightning | fields: unit, lat, value, ts
Task: Get level from cloud_cover where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059744 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, lon, unit, ts
Sensor: visibility | fields: qc, level, type, ts
Task: Fetch level from temperature where depth is greater than the total of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059745 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, lon, type, ts
Sensor: frost | fields: value, ts, unit, depth
Task: Fetch value from humidity that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059746 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, value, lon, ts
Sensor: turbidity | fields: qc, lon, lat, type
Task: Fetch lon from rainfall that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059747 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, type, level, ts
Sensor: temperature | fields: ts, reading, value, unit
Task: Get depth from humidity where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059748 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, depth, level, ts
Sensor: wind_speed | fields: unit, lat, depth, type
Task: Get lat from dew_point where reading exceeds the average value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059749 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, type, level, reading
Sensor: wind_speed | fields: reading, lat, qc, unit
Task: Fetch depth from frost where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059750 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, qc, type, depth
Sensor: rainfall | fields: type, unit, value, reading
Task: Fetch level from air_quality where depth is greater than the total of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059751 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, type, reading, value
Sensor: turbidity | fields: lon, reading, qc, level
Task: Fetch value from uv_index where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059752 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, ts, lat, value
Sensor: humidity | fields: lat, ts, unit, lon
Task: Get reading from air_quality where reading exceeds the average value from humidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059753 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, type, qc, reading
Sensor: pressure | fields: depth, level, value, reading
Task: Get reading from lightning where depth exceeds the maximum value from pressure for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059754 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, lon, unit, reading
Sensor: uv_index | fields: unit, qc, depth, value
Task: Retrieve lat from cloud_cover that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059755 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, qc, level, lon
Sensor: sunlight | fields: reading, ts, value, lat
Task: Retrieve reading from uv_index with depth above the SUM(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059756 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, lat, lon, value
Sensor: drought_index | fields: reading, level, unit, type
Task: Get lat from evaporation where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059757 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, value, ts, depth
Sensor: frost | fields: reading, ts, type, lat
Task: Retrieve lon from snow_depth that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059758 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, type, ts, lat
Sensor: air_quality | fields: type, depth, value, ts
Task: Retrieve lon from dew_point with value above the AVG(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059759 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lat, lon, level
Sensor: air_quality | fields: ts, qc, type, lat
Task: Retrieve depth from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059760 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, depth, lon, lat
Sensor: frost | fields: value, qc, lat, type
Task: Fetch lat from soil_moisture where depth is greater than the minimum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059761 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lon, ts, type, lat
Sensor: turbidity | fields: value, ts, lat, type
Task: Get depth from frost where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059762 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, type, value, ts
Sensor: frost | fields: qc, ts, lon, value
Task: Get lat from drought_index where type appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059763 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, lon, depth, ts
Sensor: turbidity | fields: unit, ts, value, type
Task: Get lat from wind_speed where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059764 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, unit, level, reading
Sensor: wind_speed | fields: lon, unit, qc, value
Task: Retrieve value from air_quality whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059765 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, unit, reading, qc
Sensor: temperature | fields: qc, value, depth, lon
Task: Retrieve value from visibility that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059766 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, level, value, depth
Sensor: wind_speed | fields: qc, reading, level, lon
Task: Retrieve value from air_quality whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059767 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, lat, type, unit
Sensor: soil_moisture | fields: depth, reading, type, level
Task: Fetch lon from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059768 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, reading, qc, lat
Sensor: lightning | fields: lat, qc, lon, ts
Task: Fetch level from sunlight where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059769 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, qc, level, unit
Sensor: sunlight | fields: level, depth, qc, unit
Task: Retrieve lat from uv_index whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059770 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, reading, depth, qc
Sensor: visibility | fields: type, ts, value, reading
Task: Fetch lat from frost that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059771 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, unit, value, qc
Sensor: sunlight | fields: level, qc, type, reading
Task: Fetch level from snow_depth where depth is greater than the count of of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059772 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, type, level, ts
Sensor: wind_speed | fields: level, depth, unit, lat
Task: Get level from lightning where value exceeds the maximum value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059773 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, qc, level, depth
Sensor: lightning | fields: type, lat, depth, qc
Task: Retrieve level from dew_point that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059774 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: reading, value, type, level
Sensor: temperature | fields: lat, value, unit, lon
Task: Get depth from rainfall where value exceeds the minimum value from temperature for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059775 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lat, qc, level, value
Sensor: temperature | fields: level, ts, value, unit
Task: Fetch depth from frost where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059776 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, unit, ts, reading
Sensor: humidity | fields: lat, type, unit, depth
Task: Get value from cloud_cover where depth exceeds the maximum depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059777 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, value, qc, ts
Sensor: humidity | fields: lat, reading, level, lon
Task: Get lon from lightning where reading exceeds the count of reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059778 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, depth, type, level
Sensor: frost | fields: depth, unit, reading, level
Task: Fetch lon from evaporation where value is greater than the minimum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059779 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, ts, depth, lat
Sensor: temperature | fields: unit, type, value, qc
Task: Retrieve lon from wind_speed with value above the COUNT(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059780 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, ts, lon, type
Sensor: visibility | fields: type, unit, depth, qc
Task: Retrieve value from sunlight whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059781 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, level, reading
Sensor: snow_depth | fields: reading, value, lon, type
Task: Get value from rainfall where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059782 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, depth, level, lon
Sensor: pressure | fields: reading, ts, qc, lat
Task: Retrieve lat from snow_depth that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059783 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, ts, lon, unit
Sensor: drought_index | fields: ts, type, lat, reading
Task: Retrieve lon from dew_point that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059784 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, reading, depth, level
Sensor: temperature | fields: lat, value, type, lon
Task: Retrieve lon from rainfall with depth above the MAX(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059785 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, ts, level, lon
Sensor: lightning | fields: level, depth, type, ts
Task: Get depth from dew_point where value exceeds the maximum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059786 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, value, reading, unit
Sensor: drought_index | fields: level, ts, lat, type
Task: Fetch lat from soil_moisture where type exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059787 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, type, lon, depth
Sensor: wind_speed | fields: lat, ts, reading, lon
Task: Fetch reading from cloud_cover that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059788 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, level, qc, ts
Sensor: humidity | fields: qc, type, lon, lat
Task: Get reading from snow_depth where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059789 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, type, unit, value
Sensor: frost | fields: level, ts, lat, depth
Task: Retrieve reading from rainfall that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059790 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, depth, lon
Sensor: frost | fields: lon, unit, qc, value
Task: Get value from dew_point where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059791 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, unit, qc, lat
Sensor: cloud_cover | fields: reading, qc, value, ts
Task: Get level from uv_index where type appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059792 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: type, value, lat, level
Sensor: rainfall | fields: level, type, unit, qc
Task: Get value from dew_point where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059793 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, type, ts, qc
Sensor: temperature | fields: ts, value, depth, reading
Task: Retrieve value from sunlight whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059794 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, unit, ts, depth
Sensor: sunlight | fields: reading, lat, depth, qc
Task: Get lat from wind_speed where depth exceeds the count of reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059795 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, lon, ts, qc
Sensor: rainfall | fields: unit, type, depth, lon
Task: Get lon from pressure where depth exceeds the count of value from rainfall for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059796 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, value, lon, reading
Sensor: rainfall | fields: reading, depth, lat, type
Task: Retrieve lat from uv_index that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059797 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, qc, type, reading
Sensor: pressure | fields: value, depth, qc, level
Task: Retrieve depth from snow_depth with reading above the MIN(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059798 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, qc, ts, unit
Sensor: snow_depth | fields: reading, value, unit, type
Task: Get lat from cloud_cover where reading exceeds the average value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.