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: soil_moisture | code: prt | fields: type, lon, depth, ts
Sensor: drought_index | fields: value, qc, type, lat
Task: Retrieve value from soil_moisture whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081300 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: ts, lat, type, value
Sensor: lightning | fields: qc, depth, reading, lat
Task: Fetch level from pressure that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"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_081301 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, reading, value, level
Sensor: uv_index | fields: ts, qc, type, level
Task: Fetch lat from snow_depth that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081302 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, type, lon, depth
Sensor: uv_index | fields: type, ts, qc, reading
Task: Get lat from cloud_cover where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081303 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, lat, value, type
Sensor: soil_moisture | fields: depth, lon, level, qc
Task: Get depth from pressure where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081304 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, lat, ts, unit
Sensor: sunlight | fields: unit, level, lon, ts
Task: Retrieve depth from humidity whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081305 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, ts, unit, lon
Sensor: turbidity | fields: depth, qc, lat, reading
Task: Fetch lon from lightning that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081306 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, ts, type, depth
Sensor: temperature | fields: value, unit, reading, level
Task: Fetch level from air_quality where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081307 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: ts, unit, reading, level
Sensor: air_quality | fields: level, lon, value, ts
Task: Get depth from humidity where value exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081308 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, unit, ts, lon
Sensor: frost | fields: ts, lon, qc, lat
Task: Retrieve reading from uv_index whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081309 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, value, lat, type
Sensor: cloud_cover | fields: value, qc, ts, type
Task: Fetch reading from humidity where ts exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081310 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, depth, value, lon
Sensor: dew_point | fields: qc, lon, type, lat
Task: Fetch lon from wind_speed where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081311 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, level, lat, qc
Sensor: lightning | fields: depth, qc, ts, unit
Task: Retrieve lon from sunlight with depth above the MAX(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081312 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, ts, value, lat
Sensor: wind_speed | fields: qc, type, lat, value
Task: Retrieve depth from evaporation whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081313 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, lat, level, ts
Sensor: turbidity | fields: level, value, reading, unit
Task: Retrieve lat from frost whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081314 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, level, ts, qc
Sensor: rainfall | fields: unit, qc, value, lat
Task: Retrieve depth from humidity that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081315 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, unit, reading, type
Sensor: cloud_cover | fields: lon, lat, level, depth
Task: Get level from dew_point where reading exceeds the count of reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081316 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, reading, lat, unit
Sensor: soil_moisture | fields: depth, qc, lat, level
Task: Get depth from dew_point where value exceeds the count of reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081317 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: unit, ts, qc, reading
Sensor: visibility | fields: reading, lon, level, value
Task: Retrieve value from air_quality whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081318 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, unit, lon, type
Sensor: air_quality | fields: ts, unit, lat, value
Task: Fetch level from uv_index that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"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_081319 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, qc, unit, reading
Sensor: drought_index | fields: value, qc, level, type
Task: Fetch lat from cloud_cover that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"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_081320 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, ts, depth, type
Sensor: lightning | fields: reading, depth, lon, lat
Task: Get lat from wind_speed where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081321 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: value, level, lat, lon
Sensor: evaporation | fields: unit, reading, qc, value
Task: Retrieve depth from humidity whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081322 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, value, depth, ts
Sensor: wind_speed | fields: value, lon, depth, type
Task: Retrieve value from dew_point whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081323 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, value, reading, level
Sensor: lightning | fields: lat, reading, qc, type
Task: Get value from frost where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081324 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: value, qc, lon, reading
Sensor: dew_point | fields: lat, qc, lon, reading
Task: Retrieve depth from humidity with depth above the MAX(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081325 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: type, unit, reading, qc
Sensor: uv_index | fields: ts, unit, depth, value
Task: Get level from evaporation where type appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081326 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, lon, ts, value
Sensor: uv_index | fields: depth, unit, type, reading
Task: Retrieve reading from rainfall with value above the MIN(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081327 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, unit, value, lon
Sensor: dew_point | fields: ts, lat, lon, value
Task: Fetch level from visibility where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081328 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, level, value
Sensor: drought_index | fields: lat, qc, level, ts
Task: Retrieve reading from pressure whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081329 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, qc, type, depth
Sensor: snow_depth | fields: lat, reading, value, level
Task: Get reading from pressure where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081330 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, depth, lat, level
Sensor: drought_index | fields: unit, lon, ts, level
Task: Retrieve level from visibility with value above the COUNT(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081331 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, qc, lat, lon
Sensor: frost | fields: ts, level, lon, qc
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081332 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, value, lon, reading
Sensor: air_quality | fields: lat, ts, depth, reading
Task: Retrieve reading from wind_speed whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081333 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, type, unit, value
Sensor: evaporation | fields: ts, type, depth, unit
Task: Fetch lon from frost that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081334 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, value, ts, reading
Sensor: dew_point | fields: depth, lon, level, type
Task: Retrieve lon from humidity with depth above the AVG(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081335 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, ts, depth, lon
Sensor: rainfall | fields: type, lat, unit, lon
Task: Fetch value from wind_speed where ts exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"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_081336 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, ts, depth, type
Sensor: sunlight | fields: qc, reading, unit, level
Task: Fetch value from evaporation where type exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081337 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lon, lat, unit, reading
Sensor: soil_moisture | fields: ts, level, depth, reading
Task: Get value from humidity where value exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081338 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: reading, type, depth, lon
Sensor: pressure | fields: qc, type, lat, level
Task: Get level from evaporation where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081339 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, type, lon, reading
Sensor: visibility | fields: ts, lon, value, type
Task: Fetch depth from dew_point where value is greater than the count of of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081340 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, qc, value
Sensor: turbidity | fields: qc, reading, level, value
Task: Get lon from rainfall where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081341 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lat, ts, lon, value
Sensor: dew_point | fields: reading, depth, ts, lat
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081342 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, depth, reading, type
Sensor: wind_speed | fields: lon, value, unit, reading
Task: Retrieve level from cloud_cover with depth above the AVG(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081343 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lat, unit, ts, value
Sensor: pressure | fields: level, lon, depth, qc
Task: Fetch depth from temperature where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081344 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, level, qc, type
Sensor: frost | fields: value, lat, reading, lon
Task: Retrieve reading from cloud_cover whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081345 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, depth, unit, value
Sensor: humidity | fields: type, unit, qc, depth
Task: Retrieve depth from air_quality with reading above the MIN(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081346 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, unit, ts, depth
Sensor: frost | fields: qc, level, unit, lon
Task: Fetch depth from visibility where depth is greater than the total of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081347 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, value, lat, type
Sensor: temperature | fields: ts, level, unit, value
Task: Retrieve lat from frost with value above the MIN(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081348 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, qc, reading, type
Sensor: turbidity | fields: lon, level, reading, ts
Task: Get level from temperature where value exceeds the count of value from turbidity for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081349 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, lon, lat, ts
Sensor: humidity | fields: qc, unit, level, reading
Task: Retrieve lon from pressure whose qc is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081350 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, level, reading, ts
Sensor: lightning | fields: level, type, reading, depth
Task: Get lon from soil_moisture where type appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081351 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, value, qc, level
Sensor: drought_index | fields: depth, qc, ts, lat
Task: Retrieve depth from turbidity that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081352 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, level, lat, depth
Sensor: humidity | fields: ts, reading, value, lat
Task: Fetch level from wind_speed that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081353 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, type, ts, qc
Sensor: lightning | fields: depth, qc, level, lat
Task: Retrieve value from evaporation with value above the AVG(depth) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081354 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, value, ts, level
Sensor: visibility | fields: reading, value, lat, ts
Task: Fetch reading from snow_depth where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081355 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, value, qc, reading
Sensor: evaporation | fields: lat, unit, ts, level
Task: Fetch depth from lightning where depth exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081356 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, depth, level, unit
Sensor: dew_point | fields: lon, unit, lat, depth
Task: Get depth from lightning where depth appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081357 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, qc, lon, type
Sensor: sunlight | fields: value, reading, unit, lat
Task: Fetch value from cloud_cover where reading is greater than the minimum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081358 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lat, reading, ts
Sensor: evaporation | fields: reading, unit, level, depth
Task: Fetch level from drought_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081359 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: value, unit, depth, lat
Sensor: cloud_cover | fields: reading, type, lat, depth
Task: Get lat from lightning where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081360 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lat, reading, type
Sensor: soil_moisture | fields: qc, type, lat, level
Task: Get lat from air_quality where value exceeds the minimum value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081361 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, qc, level, ts
Sensor: drought_index | fields: qc, unit, ts, depth
Task: Fetch level from turbidity where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"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_081362 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, depth, lon, type
Sensor: snow_depth | fields: value, unit, reading, type
Task: Fetch depth from pressure where reading is greater than the total of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081363 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lon, reading, value, qc
Sensor: pressure | fields: lat, depth, unit, value
Task: Fetch reading from lightning where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081364 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, ts, unit, level
Sensor: pressure | fields: unit, ts, level, qc
Task: Get reading from uv_index where value exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081365 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: level, ts, lat, qc
Sensor: dew_point | fields: depth, lat, type, qc
Task: Retrieve reading from pressure whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081366 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: reading, lon, level, depth
Sensor: rainfall | fields: depth, lat, qc, reading
Task: Retrieve depth from dew_point with depth above the MAX(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081367 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lon, value, type
Sensor: turbidity | fields: qc, type, lon, depth
Task: Retrieve depth from dew_point with depth above the COUNT(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081368 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, type, unit, ts
Sensor: snow_depth | fields: level, lon, reading, type
Task: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081369 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, lat, qc, level
Sensor: humidity | fields: value, unit, type, lon
Task: Fetch lat from pressure that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081370 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, qc, value, ts
Sensor: drought_index | fields: qc, unit, reading, lon
Task: Get lat from visibility where reading exceeds the minimum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081371 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, unit, lon
Sensor: turbidity | fields: type, ts, depth, lon
Task: Retrieve lat from temperature that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081372 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, lon, unit, level
Sensor: pressure | fields: qc, lon, level, lat
Task: Retrieve value from turbidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081373 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, lon, level, value
Sensor: visibility | fields: lat, unit, lon, type
Task: Fetch reading from cloud_cover where depth is greater than the average of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081374 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, type, reading, lon
Sensor: drought_index | fields: qc, level, unit, lat
Task: Retrieve depth from air_quality that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081375 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, level, depth, reading
Sensor: frost | fields: qc, unit, ts, lat
Task: Fetch lon from rainfall where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081376 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, value, depth, lon
Sensor: cloud_cover | fields: type, lat, qc, unit
Task: Get lon from visibility where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081377 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, level, lon, value
Sensor: frost | fields: unit, reading, level, lon
Task: Get reading from temperature where ts appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081378 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, unit, ts, lon
Sensor: cloud_cover | fields: type, lon, unit, reading
Task: Get depth from drought_index where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081379 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, level, unit, type
Sensor: evaporation | fields: lon, reading, depth, lat
Task: Fetch reading from wind_speed that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081380 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: type, qc, lat, lon
Sensor: turbidity | fields: qc, type, level, unit
Task: Retrieve depth from dew_point that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081381 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, level, depth, unit
Sensor: cloud_cover | fields: reading, lon, value, ts
Task: Fetch lat from drought_index where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081382 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, depth, lat, reading
Sensor: dew_point | fields: value, unit, depth, reading
Task: Get depth from air_quality where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081383 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: qc, type, value, unit
Sensor: temperature | fields: ts, depth, value, unit
Task: Get level from visibility where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081384 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, lon, depth, type
Sensor: pressure | fields: lon, type, ts, value
Task: Retrieve depth from humidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081385 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, type, lon, value
Sensor: visibility | fields: unit, reading, ts, lon
Task: Get reading from pressure where reading exceeds the maximum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081386 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, depth, lat
Sensor: air_quality | fields: type, lon, reading, value
Task: Retrieve lat from soil_moisture with depth above the MAX(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081387 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lon, value, unit
Sensor: frost | fields: qc, ts, lon, level
Task: Fetch lon from dew_point where reading is greater than the minimum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081388 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: reading, type, ts, qc
Sensor: humidity | fields: qc, type, level, value
Task: Retrieve level from visibility that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081389 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, value, type, lon
Sensor: turbidity | fields: ts, depth, reading, qc
Task: Fetch reading from air_quality where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081390 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: ts, value, qc, unit
Sensor: drought_index | fields: type, ts, depth, level
Task: Get reading from air_quality where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081391 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lon, ts, lat
Sensor: snow_depth | fields: lat, lon, reading, unit
Task: Get level from soil_moisture where depth exceeds the minimum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081392 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, ts, reading, value
Sensor: soil_moisture | fields: level, value, qc, lon
Task: Fetch level from cloud_cover where value is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081393 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, type, lon, reading
Sensor: sunlight | fields: type, lat, level, qc
Task: Retrieve value from pressure whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081394 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, depth, lon, lat
Sensor: evaporation | fields: type, qc, value, lon
Task: Retrieve level from soil_moisture whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081395 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, depth, value, unit
Sensor: air_quality | fields: type, reading, qc, ts
Task: Fetch depth from frost where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081396 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, level, depth, lat
Sensor: snow_depth | fields: lat, lon, ts, level
Task: Get lon from temperature where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081397 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: value, unit, level, reading
Sensor: pressure | fields: qc, value, unit, lat
Task: Retrieve level from visibility that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081398 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, qc, reading, lon
Sensor: dew_point | fields: depth, lon, ts, qc
Task: Retrieve reading from cloud_cover with value above the COUNT(value) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.