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: cloud_cover | code: hub | fields: qc, level, depth, value
Sensor: snow_depth | fields: qc, level, lon, type
Task: Get level from cloud_cover where depth appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079200 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: qc, value, reading, depth
Sensor: turbidity | fields: reading, depth, unit, type
Task: Fetch depth from humidity where unit exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079201 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, value, type
Sensor: air_quality | fields: lon, reading, unit, ts
Task: Fetch level from pressure that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079202 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, reading, qc
Sensor: temperature | fields: value, type, lon, qc
Task: Get reading from pressure where type appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079203 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, qc, reading, lat
Sensor: evaporation | fields: depth, ts, reading, lat
Task: Fetch lon from air_quality where value is greater than the total of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079204 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, unit, type, qc
Sensor: rainfall | fields: depth, lon, qc, unit
Task: Fetch value from uv_index that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079205 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: reading, lat, unit, qc
Sensor: wind_speed | fields: type, lon, reading, lat
Task: Retrieve level from dew_point that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079206 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: qc, unit, lon, reading
Sensor: lightning | fields: type, qc, value, lat
Task: Fetch value from uv_index that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079207 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, unit, value, depth
Sensor: cloud_cover | fields: depth, type, ts, lon
Task: Fetch lat from humidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079208 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: type, lon, level, unit
Sensor: dew_point | fields: unit, ts, lon, qc
Task: Retrieve reading from visibility whose unit is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079209 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, lat, reading, value
Sensor: uv_index | fields: value, level, lat, reading
Task: Get lon from frost where unit appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079210 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, lat, unit, qc
Sensor: soil_moisture | fields: unit, qc, lat, level
Task: Retrieve level from cloud_cover whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079211 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, level, reading, lat
Sensor: air_quality | fields: reading, qc, level, lat
Task: Get value from wind_speed where reading exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079212 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: qc, type, reading, level
Sensor: rainfall | fields: type, reading, depth, unit
Task: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079213 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, ts, lat
Sensor: frost | fields: lat, reading, qc, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079214 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, qc, lat, reading
Sensor: soil_moisture | fields: depth, ts, reading, lon
Task: Fetch value from snow_depth that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079215 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, type, lon, ts
Sensor: visibility | fields: depth, qc, type, lat
Task: Fetch level from wind_speed that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079216 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, depth, type, unit
Sensor: visibility | fields: qc, lon, ts, depth
Task: Fetch value from wind_speed where reading is greater than the maximum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079217 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, type, unit
Sensor: dew_point | fields: ts, value, depth, lat
Task: Retrieve value from sunlight whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079218 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, value, type, lon
Sensor: cloud_cover | fields: ts, depth, reading, lon
Task: Retrieve depth from drought_index that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079219 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, type, level, ts
Sensor: drought_index | fields: lon, qc, type, depth
Task: Fetch level from pressure where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079220 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, type, depth
Sensor: pressure | fields: unit, qc, reading, depth
Task: Fetch lon from soil_moisture that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079221 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: qc, lat, value, reading
Sensor: sunlight | fields: depth, level, type, lon
Task: Fetch value from humidity where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079222 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, depth, ts, type
Sensor: snow_depth | fields: reading, level, depth, lon
Task: Get lat from drought_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079223 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, ts, qc, unit
Sensor: turbidity | fields: value, ts, reading, lon
Task: Get lat from air_quality where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079224 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, ts, qc, unit
Sensor: lightning | fields: lat, value, level, type
Task: Retrieve reading from soil_moisture that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079225 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, ts, value
Sensor: evaporation | fields: unit, type, qc, lon
Task: Retrieve reading from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079226 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, ts, level, lat
Sensor: humidity | fields: ts, level, value, qc
Task: Fetch reading from temperature where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079227 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: ts, reading, depth, qc
Sensor: snow_depth | fields: unit, level, ts, type
Task: Get depth from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079228 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, type, value
Sensor: lightning | fields: type, qc, lat, depth
Task: Fetch level from evaporation that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079229 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lat, ts, depth, level
Sensor: lightning | fields: depth, ts, type, unit
Task: Retrieve reading from rainfall that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079230 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: qc, type, lon, value
Sensor: dew_point | fields: depth, level, lat, value
Task: Get level from frost where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079231 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, depth, unit, level
Sensor: humidity | fields: value, lat, level, type
Task: Fetch lat from drought_index where depth is greater than the maximum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079232 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, reading, qc, level
Sensor: dew_point | fields: reading, level, value, depth
Task: Fetch lon from pressure where qc exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079233 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, reading, level, type
Sensor: sunlight | fields: value, unit, lon, ts
Task: Fetch reading from frost where reading is greater than the minimum of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"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_079234 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, value, level, lat
Sensor: evaporation | fields: lat, value, unit, lon
Task: Fetch lon from temperature where ts exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079235 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lat, lon, type
Sensor: lightning | fields: depth, type, value, ts
Task: Retrieve depth from turbidity with reading above the SUM(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079236 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, reading, qc, value
Sensor: dew_point | fields: ts, type, depth, lat
Task: Retrieve lat from frost with reading above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079237 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, type, lat, value
Sensor: lightning | fields: lon, type, depth, lat
Task: Fetch depth from temperature where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079238 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: qc, level, depth, lon
Sensor: sunlight | fields: type, lon, unit, depth
Task: Retrieve lon from evaporation whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079239 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, value, depth
Sensor: sunlight | fields: ts, reading, qc, level
Task: Get lon from soil_moisture where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079240 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, ts, lat, unit
Sensor: drought_index | fields: lon, reading, unit, type
Task: Retrieve depth from snow_depth that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079241 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, depth, lon, ts
Sensor: dew_point | fields: lat, type, unit, lon
Task: Fetch lat from rainfall where depth is greater than the count of of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079242 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: depth, reading, level, value
Sensor: rainfall | fields: value, qc, lat, type
Task: Fetch level from sunlight that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079243 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, level, reading, type
Sensor: turbidity | fields: depth, reading, lon, lat
Task: Fetch value from cloud_cover where reading is greater than the count of of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"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_079244 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: unit, type, ts, qc
Sensor: evaporation | fields: type, value, level, qc
Task: Fetch lon from sunlight where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079245 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, value, unit, type
Sensor: dew_point | fields: type, lat, qc, ts
Task: Get depth from pressure where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079246 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, depth, unit, qc
Sensor: pressure | fields: ts, depth, value, lat
Task: Fetch value from sunlight where depth is greater than the maximum of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079247 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, lat, unit, reading
Sensor: humidity | fields: lon, depth, qc, type
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="thr"),
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": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079248 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: ts, value, lat, unit
Sensor: evaporation | fields: type, depth, unit, level
Task: Get lon from humidity where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079249 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, lat, lon, unit
Sensor: turbidity | fields: level, lat, qc, lon
Task: Fetch reading from temperature where value is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079250 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, level, lat
Sensor: uv_index | fields: ts, value, unit, lat
Task: Get lon from evaporation where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079251 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, lon, depth, type
Sensor: visibility | fields: qc, type, lon, unit
Task: Fetch lat from evaporation where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079252 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, reading, depth, value
Sensor: uv_index | fields: lon, reading, lat, ts
Task: Get lat from cloud_cover where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079253 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, unit, qc
Sensor: drought_index | fields: unit, type, depth, ts
Task: Get lon from sunlight where type appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079254 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: ts, depth, unit, qc
Sensor: temperature | fields: depth, value, qc, reading
Task: Get depth from lightning where depth appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079255 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, type, qc, lat
Sensor: temperature | fields: lat, depth, qc, reading
Task: Retrieve lat from air_quality whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079256 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, qc, ts, type
Sensor: humidity | fields: unit, reading, lon, qc
Task: Retrieve depth from pressure whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079257 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lon, value, ts
Sensor: sunlight | fields: reading, value, qc, type
Task: Get value from cloud_cover where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079258 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, ts, lat, lon
Sensor: dew_point | fields: qc, unit, type, value
Task: Fetch value from evaporation that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079259 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, lon, lat, type
Sensor: lightning | fields: depth, qc, ts, level
Task: Fetch reading from visibility where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079260 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: ts, unit, type, level
Sensor: drought_index | fields: ts, reading, type, unit
Task: Get value from lightning where value exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079261 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: unit, lon, level, lat
Sensor: sunlight | fields: level, reading, ts, unit
Task: Fetch level from rainfall where value is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079262 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, qc, lon, level
Sensor: air_quality | fields: unit, lon, value, ts
Task: Fetch value from pressure that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079263 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, level, type, lat
Sensor: soil_moisture | fields: reading, value, lat, depth
Task: Retrieve lat from snow_depth that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079264 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, type, lon, reading
Sensor: snow_depth | fields: ts, lat, lon, level
Task: Get level from pressure where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079265 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, ts, level, lat
Sensor: sunlight | fields: lon, lat, reading, qc
Task: Fetch depth from rainfall where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079266 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, lon, depth, type
Sensor: drought_index | fields: type, depth, reading, unit
Task: Get lat from rainfall where reading exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"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_079267 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, value, unit, lon
Sensor: dew_point | fields: depth, lon, unit, qc
Task: Fetch reading from cloud_cover where reading is greater than the average of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079268 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, type, value
Sensor: air_quality | fields: depth, unit, reading, qc
Task: Retrieve reading from dew_point with depth above the MAX(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079269 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: value, unit, ts, reading
Sensor: drought_index | fields: type, lon, qc, depth
Task: Fetch value from turbidity where qc exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079270 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, lat, lon, depth
Sensor: drought_index | fields: reading, value, qc, ts
Task: Get depth from frost where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079271 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, depth, unit, value
Sensor: cloud_cover | fields: level, qc, unit, ts
Task: Retrieve lon from frost with reading above the MIN(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079272 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, level, reading, value
Sensor: evaporation | fields: type, qc, lon, value
Task: Fetch depth from uv_index where reading is greater than the total of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079273 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: qc, lat, reading, ts
Sensor: snow_depth | fields: lat, reading, unit, type
Task: Retrieve level from lightning that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079274 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, value, level, depth
Sensor: soil_moisture | fields: unit, depth, type, lon
Task: Fetch lon from rainfall that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079275 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, depth, reading, qc
Sensor: frost | fields: reading, value, lon, lat
Task: Fetch value from temperature where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079276 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, lon, level, depth
Sensor: uv_index | fields: lon, unit, ts, qc
Task: Fetch lat from humidity where depth is greater than the average of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079277 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, lon, depth, qc
Sensor: wind_speed | fields: type, lon, reading, unit
Task: Fetch level from frost where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079278 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, unit, lon, depth
Sensor: evaporation | fields: type, lon, value, reading
Task: Retrieve reading from soil_moisture that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079279 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, type, depth, lat
Sensor: dew_point | fields: ts, value, type, lon
Task: Get reading from visibility where depth exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079280 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, type, lon, lat
Sensor: uv_index | fields: lon, type, lat, reading
Task: Retrieve reading from turbidity that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079281 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, depth, value
Sensor: frost | fields: depth, ts, unit, type
Task: Get value from snow_depth where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079282 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, reading, lat, depth
Sensor: temperature | fields: value, lat, lon, type
Task: Retrieve depth from turbidity whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079283 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, lon, type, depth
Sensor: lightning | fields: ts, reading, depth, qc
Task: Get depth from turbidity where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079284 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lon, value, lat
Sensor: drought_index | fields: type, ts, depth, qc
Task: Fetch value from uv_index where reading is greater than the minimum of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079285 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, value, qc, level
Sensor: visibility | fields: lat, level, depth, reading
Task: Fetch lon from evaporation that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079286 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lat, reading, type, lon
Sensor: snow_depth | fields: qc, reading, lat, depth
Task: Fetch depth from temperature that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079287 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, depth, unit, ts
Sensor: air_quality | fields: lon, reading, qc, type
Task: Fetch lat from visibility that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079288 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, unit, value, ts
Sensor: visibility | fields: qc, lat, ts, lon
Task: Retrieve depth from cloud_cover whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079289 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: qc, depth, type, level
Sensor: uv_index | fields: reading, level, depth, lon
Task: Retrieve reading from frost whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079290 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, depth, reading, unit
Sensor: uv_index | fields: type, qc, value, level
Task: Fetch value from wind_speed where reading is greater than the total of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079291 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, level, unit, qc
Sensor: wind_speed | fields: lon, unit, reading, lat
Task: Fetch depth from lightning where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079292 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, unit, qc, lat
Sensor: drought_index | fields: lon, type, lat, qc
Task: Get depth from soil_moisture where reading exceeds the minimum depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079293 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: level, value, lat, type
Sensor: snow_depth | fields: type, lat, unit, depth
Task: Get reading from air_quality where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079294 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, lat, ts, reading
Sensor: turbidity | fields: depth, lon, level, value
Task: Fetch reading from rainfall where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079295 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: qc, type, ts, reading
Sensor: air_quality | fields: lon, type, lat, reading
Task: Retrieve lon from evaporation with depth above the SUM(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_079296 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, level, unit, value
Sensor: rainfall | fields: type, lat, lon, unit
Task: Retrieve lat from soil_moisture whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079297 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: unit, level, ts, depth
Sensor: dew_point | fields: value, qc, lat, depth
Task: Fetch depth from evaporation where value is greater than the count of of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079298 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, value, depth, lon
Sensor: uv_index | fields: qc, unit, lat, value
Task: Retrieve depth from rainfall whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_079299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.