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: uv_index | code: gst | fields: level, value, qc, reading
Sensor: rainfall | fields: value, lon, reading, lat
Task: Retrieve reading from uv_index whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002500 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, lat, lon, unit
Sensor: rainfall | fields: type, reading, ts, value
Task: Fetch value from snow_depth where unit exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002501 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, reading, type, lon
Sensor: snow_depth | fields: ts, level, qc, unit
Task: Fetch lon from evaporation that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002502 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, depth, level, lon
Sensor: snow_depth | fields: ts, lat, depth, level
Task: Get depth from wind_speed where depth exceeds the minimum depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002503 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: qc, depth, level, type
Sensor: rainfall | fields: ts, level, lon, depth
Task: Get depth from pressure where reading exceeds the average reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002504 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, qc, reading, depth
Sensor: soil_moisture | fields: type, level, ts, lat
Task: Retrieve lon from uv_index with depth above the SUM(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002505 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, qc, value, lon
Sensor: soil_moisture | fields: unit, reading, lon, level
Task: Get reading from humidity where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002506 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, value, reading, level
Sensor: sunlight | fields: qc, unit, level, ts
Task: Get lon from visibility where reading exceeds the total depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002507 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, lon, value, reading
Sensor: dew_point | fields: reading, type, lon, lat
Task: Retrieve lat from turbidity that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002508 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, level, ts, value
Sensor: lightning | fields: ts, level, lon, type
Task: Fetch depth from uv_index that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002509 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, reading, lat, value
Sensor: pressure | fields: type, lat, value, qc
Task: Retrieve lon from drought_index whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002510 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, unit, qc, type
Sensor: rainfall | fields: qc, lon, ts, value
Task: Retrieve reading from drought_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002511 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, ts, unit, value
Sensor: evaporation | fields: depth, value, level, unit
Task: Get level from sunlight where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002512 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, unit, type, depth
Sensor: temperature | fields: type, qc, unit, lat
Task: Retrieve lon from visibility that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002513 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, depth, type, level
Sensor: drought_index | fields: type, qc, unit, level
Task: Fetch lat from frost where reading is greater than the average of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002514 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, value, level, depth
Sensor: frost | fields: lon, lat, type, depth
Task: Get lon from visibility where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002515 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, reading, value, type
Sensor: wind_speed | fields: qc, type, value, unit
Task: Fetch level from drought_index where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002516 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, qc, lat
Sensor: wind_speed | fields: ts, type, lon, depth
Task: Fetch level from drought_index where reading is greater than the average of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002517 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, type, reading, ts
Sensor: evaporation | fields: reading, lat, unit, ts
Task: Get reading from air_quality where value exceeds the maximum depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002518 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, reading, unit, value
Sensor: humidity | fields: value, type, lat, unit
Task: Fetch lat from snow_depth where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002519 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, unit, depth, ts
Sensor: evaporation | fields: unit, ts, reading, lat
Task: Fetch reading from humidity where value is greater than the maximum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002520 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: qc, type, level, depth
Sensor: sunlight | fields: lon, qc, ts, level
Task: Fetch lat from visibility that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002521 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, reading, lon, depth
Sensor: drought_index | fields: lon, level, qc, depth
Task: Retrieve lon from rainfall that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002522 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, qc, lat, type
Sensor: pressure | fields: reading, value, ts, unit
Task: Fetch lat from visibility where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002523 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, unit, value, ts
Sensor: uv_index | fields: type, value, reading, ts
Task: Get reading from humidity where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002524 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: type, lon, reading, value
Sensor: wind_speed | fields: unit, value, lat, lon
Task: Retrieve value from air_quality with depth above the AVG(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002525 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, unit, level, type
Sensor: humidity | fields: lon, type, depth, lat
Task: Get lat from uv_index where depth exceeds the total value from humidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002526 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, unit, lat, depth
Sensor: soil_moisture | fields: reading, level, lon, depth
Task: Get level from temperature where value exceeds the minimum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"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_002527 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, depth, reading, qc
Sensor: evaporation | fields: depth, lon, qc, value
Task: Fetch lat from uv_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002528 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, ts, unit, depth
Sensor: frost | fields: qc, lon, type, level
Task: Retrieve lon from sunlight that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002529 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, lat, qc, depth
Sensor: lightning | fields: reading, level, ts, lat
Task: Get value from dew_point where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002530 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, depth, lat, type
Sensor: frost | fields: lat, depth, type, reading
Task: Fetch level from air_quality where reading is greater than the count of of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002531 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, ts, qc, unit
Sensor: pressure | fields: lon, qc, reading, type
Task: Retrieve lat from humidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002532 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, level, reading, ts
Sensor: drought_index | fields: level, lat, qc, value
Task: Retrieve level from evaporation that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002533 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, level, ts, lat
Sensor: soil_moisture | fields: level, reading, ts, qc
Task: Retrieve reading from evaporation that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002534 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, ts, depth, lat
Sensor: soil_moisture | fields: level, lat, qc, ts
Task: Retrieve lon from humidity whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002535 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, reading, value, lon
Sensor: sunlight | fields: qc, ts, lon, lat
Task: Retrieve reading from cloud_cover whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002536 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: depth, reading, ts, type
Sensor: frost | fields: depth, level, reading, unit
Task: Retrieve value from pressure whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002537 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, reading, lon, lat
Sensor: air_quality | fields: type, reading, level, value
Task: Get depth from rainfall where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002538 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, value, unit, ts
Sensor: sunlight | fields: type, reading, level, unit
Task: Fetch level from cloud_cover that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002539 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, qc, type, lat
Sensor: visibility | fields: qc, value, lat, unit
Task: Get lat from uv_index where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002540 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, depth, reading, ts
Sensor: turbidity | fields: level, lat, depth, reading
Task: Retrieve reading from dew_point with reading above the MAX(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002541 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, depth, reading
Sensor: uv_index | fields: level, qc, lat, unit
Task: Fetch depth from humidity where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002542 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, ts, lat, reading
Sensor: drought_index | fields: type, lat, ts, reading
Task: Retrieve reading from humidity that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002543 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: type, value, level, depth
Sensor: uv_index | fields: ts, qc, type, lat
Task: Retrieve lon from temperature whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002544 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, reading, value, ts
Sensor: lightning | fields: level, depth, ts, value
Task: Get reading from rainfall where value exceeds the minimum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002545 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, unit, type, level
Sensor: turbidity | fields: ts, qc, unit, reading
Task: Get value from cloud_cover where depth appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002546 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, level, depth, type
Sensor: lightning | fields: unit, ts, lon, lat
Task: Retrieve value from uv_index that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002547 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: ts, lat, lon, type
Sensor: uv_index | fields: depth, qc, lon, level
Task: Retrieve value from frost that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002548 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, depth, ts, lon
Sensor: rainfall | fields: unit, reading, lat, qc
Task: Fetch lat from cloud_cover where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002549 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, depth, qc, level
Sensor: humidity | fields: lat, unit, level, qc
Task: Retrieve value from temperature whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002550 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, value, unit, lon
Sensor: snow_depth | fields: type, ts, level, lat
Task: Get value from uv_index where depth exceeds the average reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"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_002551 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lat, depth, value, type
Sensor: soil_moisture | fields: value, unit, depth, ts
Task: Get reading from uv_index where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002552 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, qc, lat, level
Sensor: pressure | fields: lat, qc, unit, value
Task: Fetch lat from dew_point where reading is greater than the minimum of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002553 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, type, lat, unit
Sensor: sunlight | fields: depth, unit, ts, reading
Task: Fetch depth from air_quality where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002554 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, ts, value, unit
Sensor: visibility | fields: lon, type, depth, qc
Task: Get lat from lightning where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002555 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lon, reading, lat
Sensor: cloud_cover | fields: depth, lat, lon, level
Task: Retrieve depth from dew_point whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002556 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, qc, reading, type
Sensor: rainfall | fields: lon, depth, unit, lat
Task: Get lat from visibility where depth appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002557 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, value, depth, reading
Sensor: temperature | fields: qc, level, type, lon
Task: Retrieve reading from turbidity whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002558 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, lon, value, ts
Sensor: dew_point | fields: reading, depth, value, lon
Task: Retrieve value from air_quality whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002559 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: level, qc, lat, reading
Sensor: drought_index | fields: depth, lon, level, qc
Task: Get level from pressure where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002560 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, reading, depth, level
Sensor: snow_depth | fields: ts, depth, reading, type
Task: Retrieve depth from evaporation with value above the SUM(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002561 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, ts, value, lon
Sensor: lightning | fields: qc, reading, depth, level
Task: Fetch reading from dew_point where value is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002562 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, ts, qc, type
Sensor: drought_index | fields: value, qc, lon, depth
Task: Fetch lon from wind_speed where depth is greater than the average of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002563 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lat, unit, level, ts
Sensor: drought_index | fields: level, depth, value, qc
Task: Fetch level from evaporation that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002564 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, unit, depth, ts
Sensor: wind_speed | fields: lon, level, qc, unit
Task: Retrieve lon from soil_moisture that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002565 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, depth, type, qc
Sensor: evaporation | fields: lat, qc, ts, lon
Task: Get value from soil_moisture where reading exceeds the average depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002566 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, lon, qc, value
Sensor: evaporation | fields: depth, lat, reading, type
Task: Retrieve lon from turbidity with depth above the COUNT(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002567 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, type, unit, lat
Sensor: drought_index | fields: lat, type, value, reading
Task: Fetch lat from temperature where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002568 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: level, reading, qc, value
Sensor: air_quality | fields: reading, level, value, unit
Task: Get lat from lightning where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002569 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, lon, value, depth
Sensor: frost | fields: depth, type, value, ts
Task: Get depth from snow_depth where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002570 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, ts, type
Sensor: frost | fields: level, ts, lat, qc
Task: Fetch value from snow_depth where depth is greater than the average of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002571 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, type, ts, lat
Sensor: dew_point | fields: depth, lat, level, qc
Task: Get level from lightning where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002572 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, ts, type, lat
Sensor: temperature | fields: lon, depth, level, reading
Task: Retrieve reading from visibility whose type is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002573 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, value, lat, level
Sensor: rainfall | fields: type, value, depth, unit
Task: Retrieve level from temperature with depth above the COUNT(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002574 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: type, level, ts, unit
Sensor: sunlight | fields: type, depth, ts, lon
Task: Retrieve lon from visibility whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002575 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, unit, value, ts
Sensor: evaporation | fields: depth, ts, qc, level
Task: Get lon from turbidity where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002576 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, unit, value
Sensor: sunlight | fields: reading, type, lat, lon
Task: Retrieve lon from uv_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002577 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, value, reading, depth
Sensor: sunlight | fields: lon, type, ts, depth
Task: Retrieve depth from wind_speed that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002578 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, unit, qc, reading
Sensor: lightning | fields: unit, depth, lon, value
Task: Fetch reading from wind_speed that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002579 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, qc, ts, value
Sensor: dew_point | fields: level, ts, value, reading
Task: Get lon from soil_moisture where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002580 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, ts, type, value
Sensor: sunlight | fields: lon, lat, reading, depth
Task: Get level from humidity where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002581 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, depth, ts, value
Sensor: dew_point | fields: depth, ts, lat, level
Task: Retrieve depth from lightning with value above the MAX(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002582 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: ts, depth, reading, value
Sensor: air_quality | fields: unit, ts, lon, depth
Task: Retrieve lon from dew_point that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002583 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: unit, qc, depth, lat
Sensor: air_quality | fields: lat, lon, ts, value
Task: Get depth from uv_index where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002584 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, qc, value, lon
Sensor: drought_index | fields: qc, lon, value, level
Task: Get level from frost where reading exceeds the minimum depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002585 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, qc, ts, type
Sensor: cloud_cover | fields: type, lon, level, reading
Task: Get lon from visibility where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002586 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, level, type, value
Sensor: soil_moisture | fields: type, ts, lon, unit
Task: Fetch depth from air_quality where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002587 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: type, unit, qc, reading
Sensor: drought_index | fields: type, ts, depth, level
Task: Retrieve level from rainfall whose qc is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002588 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, lat, unit, level
Sensor: frost | fields: qc, lon, type, value
Task: Retrieve value from lightning with value above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002589 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, qc, type, ts
Sensor: uv_index | fields: lon, depth, level, ts
Task: Fetch level from snow_depth that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002590 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: level, unit, qc, value
Sensor: frost | fields: lon, qc, ts, level
Task: Retrieve lon from pressure with depth above the AVG(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002591 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, depth, lat, level
Sensor: wind_speed | fields: level, lon, value, qc
Task: Get reading from sunlight where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002592 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, qc, lon, depth
Sensor: air_quality | fields: depth, qc, value, lat
Task: Fetch reading from drought_index where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002593 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, unit, reading, value
Sensor: dew_point | fields: reading, type, lat, depth
Task: Get depth from wind_speed where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002594 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: level, lat, lon, qc
Sensor: cloud_cover | fields: qc, value, level, unit
Task: Retrieve lat from humidity with value above the MAX(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002595 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, lat, level, qc
Sensor: pressure | fields: reading, unit, type, value
Task: Fetch depth from frost where unit exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002596 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, lon, unit, level
Sensor: snow_depth | fields: value, type, level, depth
Task: Get lon from lightning where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002597 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lon, type, lat, qc
Sensor: visibility | fields: ts, lon, reading, unit
Task: Retrieve reading from drought_index whose ts is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_002598 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, depth, ts, lat
Sensor: evaporation | fields: unit, depth, lat, qc
Task: Fetch reading from drought_index where reading is greater than the count of of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_002599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.