variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, qc, reading, value
Sensor: air_quality | fields: qc, reading, depth, lon
Task: Get depth from frost where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059300 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, type, qc, level
Sensor: temperature | fields: depth, level, unit, reading
Task: Get lat from wind_speed where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059301 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, level, type, reading
Sensor: temperature | fields: ts, lat, level, qc
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059302 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, level, unit, type
Sensor: sunlight | fields: level, reading, lat, ts
Task: Retrieve value from turbidity whose ts is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059303 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, lon, qc, level
Sensor: lightning | fields: qc, level, unit, lon
Task: Get lat from wind_speed where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059304 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, lon, unit, lat
Sensor: turbidity | fields: level, lon, depth, reading
Task: Retrieve lat from cloud_cover whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059305 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lat, ts, depth, unit
Sensor: uv_index | fields: type, value, lon, qc
Task: Get reading from air_quality where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059306 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, level, depth
Sensor: evaporation | fields: depth, level, lon, unit
Task: Fetch depth from sunlight where reading is greater than the count of of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059307 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, level, qc, ts
Sensor: humidity | fields: value, unit, qc, lon
Task: Fetch depth from visibility where qc exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059308 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, level, type
Sensor: sunlight | fields: lat, reading, ts, value
Task: Get depth from pressure where reading exceeds the maximum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059309 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, reading, value, lat
Sensor: evaporation | fields: level, lat, value, reading
Task: Retrieve value from snow_depth whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059310 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, value, depth, reading
Sensor: lightning | fields: lat, value, lon, ts
Task: Fetch level from temperature that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059311 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, unit, depth, lat
Sensor: cloud_cover | fields: qc, ts, lon, value
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059312 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, level, reading, lat
Sensor: temperature | fields: reading, value, level, qc
Task: Fetch lon from evaporation where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059313 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: level, qc, ts, unit
Sensor: sunlight | fields: unit, qc, lon, ts
Task: Get depth from snow_depth where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"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_059314 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, reading, unit, lat
Sensor: rainfall | fields: value, lat, unit, depth
Task: Get level from sunlight where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059315 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, unit, type, depth
Sensor: dew_point | fields: reading, lat, depth, qc
Task: Get lat from frost where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059316 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, reading, value, qc
Sensor: air_quality | fields: type, reading, lon, depth
Task: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059317 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, type, ts, depth
Sensor: temperature | fields: reading, level, qc, depth
Task: Retrieve reading from lightning whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059318 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, reading, depth, level
Sensor: frost | fields: reading, lon, unit, level
Task: Fetch level from humidity that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059319 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, type, reading, qc
Sensor: frost | fields: lon, level, qc, lat
Task: Fetch lat from drought_index that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059320 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, lon, lat, depth
Sensor: drought_index | fields: ts, qc, reading, lon
Task: Retrieve reading from visibility whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059321 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lat, value, level
Sensor: frost | fields: value, unit, type, qc
Task: Fetch value from evaporation where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059322 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, unit, lon, ts
Sensor: turbidity | fields: lat, ts, depth, value
Task: Fetch lat from drought_index where qc exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059323 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, lon, reading, depth
Sensor: humidity | fields: type, ts, depth, qc
Task: Retrieve depth from turbidity with reading above the AVG(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059324 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, type, lat, level
Sensor: turbidity | fields: value, unit, reading, level
Task: Retrieve lat from evaporation with depth above the AVG(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059325 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, type, level, value
Sensor: soil_moisture | fields: value, level, ts, lon
Task: Get depth from visibility where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059326 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, ts, lon, value
Sensor: temperature | fields: type, lon, ts, qc
Task: Retrieve level from rainfall that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059327 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: type, depth, lon, value
Sensor: frost | fields: value, ts, type, qc
Task: Get depth from turbidity where value exceeds the count of value from frost for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059328 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: depth, type, value, level
Sensor: dew_point | fields: type, qc, ts, lat
Task: Get level from visibility where value exceeds the minimum reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059329 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, reading, lat, qc
Sensor: rainfall | fields: ts, lat, level, lon
Task: Get level from snow_depth where depth exceeds the total value from rainfall for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059330 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, depth, ts, unit
Sensor: turbidity | fields: depth, type, lat, level
Task: Retrieve depth from cloud_cover whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059331 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, type, value, lon
Sensor: air_quality | fields: lon, ts, level, qc
Task: Get value from turbidity where depth exceeds the minimum value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059332 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, ts, unit, lon
Sensor: sunlight | fields: qc, value, reading, unit
Task: Get lon from snow_depth where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059333 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: reading, depth, lon, ts
Sensor: uv_index | fields: lat, ts, qc, unit
Task: Retrieve lat from temperature whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059334 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, qc, reading, lon
Sensor: uv_index | fields: reading, level, lat, depth
Task: Fetch reading from snow_depth where value is greater than the maximum of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059335 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, lon, unit, lat
Sensor: frost | fields: level, reading, value, lat
Task: Retrieve depth from cloud_cover with value above the MAX(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059336 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, lon, level, ts
Sensor: soil_moisture | fields: qc, unit, depth, type
Task: Fetch lon from snow_depth where depth is greater than the minimum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059337 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, qc, level, reading
Sensor: visibility | fields: value, level, ts, unit
Task: Get value from lightning where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059338 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, unit, qc, type
Sensor: humidity | fields: lat, qc, level, type
Task: Fetch lat from visibility that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059339 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, type, unit
Sensor: pressure | fields: ts, lon, depth, value
Task: Fetch reading from snow_depth where depth is greater than the count of of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059340 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, value, level, lat
Sensor: pressure | fields: qc, depth, lon, level
Task: Get lon from soil_moisture where qc appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059341 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, reading, value, unit
Sensor: evaporation | fields: qc, type, ts, value
Task: Retrieve reading from drought_index that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059342 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lon, ts, qc
Sensor: drought_index | fields: value, unit, ts, reading
Task: Retrieve level from turbidity with reading above the SUM(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059343 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lat, level, reading
Sensor: pressure | fields: lon, level, type, reading
Task: Fetch lat from air_quality that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059344 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, value, depth, level
Sensor: turbidity | fields: depth, type, ts, lat
Task: Retrieve depth from humidity whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059345 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, lon, qc, depth
Sensor: air_quality | fields: type, unit, value, level
Task: Get value from visibility where depth exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059346 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, depth, value, qc
Sensor: frost | fields: lat, type, unit, level
Task: Fetch lon from evaporation that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059347 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, depth, ts, lat
Sensor: wind_speed | fields: lat, level, value, unit
Task: Fetch value from dew_point where depth is greater than the maximum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059348 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, value, unit, lat
Sensor: lightning | fields: unit, type, qc, lat
Task: Fetch depth from wind_speed that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059349 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, value, ts, depth
Sensor: snow_depth | fields: lat, qc, level, type
Task: Retrieve level from pressure with reading above the AVG(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059350 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, type, depth, qc
Sensor: soil_moisture | fields: type, ts, level, value
Task: Fetch value from temperature that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059351 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, unit, type, ts
Sensor: lightning | fields: value, type, qc, lat
Task: Get reading from humidity where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059352 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, reading, lat, qc
Sensor: evaporation | fields: type, value, lat, unit
Task: Retrieve lon from snow_depth with reading above the MIN(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059353 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: reading, depth, qc, value
Sensor: wind_speed | fields: ts, qc, depth, lon
Task: Retrieve reading from pressure that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059354 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, value, reading, type
Sensor: sunlight | fields: level, reading, qc, ts
Task: Retrieve lon from pressure whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059355 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lon, reading, value
Sensor: turbidity | fields: value, level, depth, qc
Task: Fetch lat from evaporation where reading is greater than the maximum of depth in turbidity for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059356 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lon, reading, unit, depth
Sensor: sunlight | fields: qc, level, unit, value
Task: Fetch lon from uv_index where depth is greater than the minimum of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059357 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: depth, type, ts, qc
Sensor: temperature | fields: lat, level, depth, ts
Task: Retrieve reading from pressure that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059358 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, lat, reading, value
Sensor: humidity | fields: lon, lat, qc, depth
Task: Get reading from evaporation where value exceeds the minimum depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059359 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lon, depth, lat
Sensor: drought_index | fields: level, ts, reading, depth
Task: Retrieve depth from wind_speed that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059360 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, lon, unit, reading
Sensor: humidity | fields: value, ts, level, unit
Task: Get lon from temperature where depth exceeds the count of value from humidity for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059361 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, depth, qc, unit
Sensor: lightning | fields: unit, value, level, ts
Task: Get depth from dew_point where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059362 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, qc, lat
Sensor: soil_moisture | fields: qc, lat, level, reading
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059363 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: depth, unit, lon, ts
Sensor: visibility | fields: depth, type, qc, level
Task: Get value from turbidity where type appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059364 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, unit, ts, reading
Sensor: evaporation | fields: reading, lon, ts, lat
Task: Retrieve value from cloud_cover whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059365 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, depth, level
Sensor: temperature | fields: depth, type, ts, unit
Task: Get lat from visibility where reading exceeds the total depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059366 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lat, ts, value
Sensor: evaporation | fields: qc, value, type, unit
Task: Get value from air_quality where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059367 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, qc, level, ts
Sensor: pressure | fields: value, lon, type, lat
Task: Retrieve depth from evaporation that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059368 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lat, level, reading
Sensor: soil_moisture | fields: qc, type, ts, depth
Task: Fetch depth from turbidity that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059369 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: ts, unit, qc, level
Sensor: evaporation | fields: lat, level, type, qc
Task: Fetch value from temperature where reading is greater than the total of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059370 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, ts, value, qc
Sensor: wind_speed | fields: lat, type, lon, level
Task: Retrieve level from frost with reading above the AVG(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059371 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: reading, type, unit, ts
Sensor: soil_moisture | fields: lon, level, type, value
Task: Retrieve value from drought_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059372 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, qc, value, type
Sensor: uv_index | fields: value, qc, type, depth
Task: Get level from rainfall where reading exceeds the maximum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059373 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lon, ts, unit
Sensor: evaporation | fields: lon, unit, lat, qc
Task: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059374 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, type, value
Sensor: sunlight | fields: level, lon, unit, ts
Task: Get level from snow_depth where type appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059375 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, lon, reading, lat
Sensor: soil_moisture | fields: type, qc, ts, value
Task: Get reading from sunlight where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059376 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, qc, reading, depth
Sensor: dew_point | fields: reading, depth, lat, value
Task: Retrieve lon from frost with value above the COUNT(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059377 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, ts, level, unit
Sensor: frost | fields: qc, lon, type, unit
Task: Fetch lon from cloud_cover where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059378 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, reading, lon, depth
Sensor: cloud_cover | fields: unit, depth, lat, ts
Task: Get reading from air_quality where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059379 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, value, level
Sensor: turbidity | fields: lat, value, reading, unit
Task: Fetch lon from uv_index where ts exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059380 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: qc, unit, type, ts
Sensor: snow_depth | fields: unit, reading, lat, level
Task: Fetch depth from dew_point where depth is greater than the total of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059381 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, level, qc
Sensor: lightning | fields: type, ts, qc, unit
Task: Fetch level from cloud_cover where depth is greater than the count of of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059382 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, level, qc, unit
Sensor: lightning | fields: value, depth, lat, lon
Task: Get lon from sunlight where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059383 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: type, unit, ts, level
Sensor: temperature | fields: ts, lat, level, reading
Task: Get lat from turbidity where ts appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059384 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, qc, reading, depth
Sensor: wind_speed | fields: ts, reading, type, depth
Task: Retrieve lon from turbidity with value above the SUM(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059385 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, depth, lat, qc
Sensor: cloud_cover | fields: ts, depth, lon, type
Task: Fetch value from lightning where value is greater than the maximum of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059386 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, level, unit, lon
Sensor: lightning | fields: value, unit, lat, reading
Task: Retrieve lon from drought_index whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059387 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, unit, value, lat
Sensor: turbidity | fields: value, unit, depth, lon
Task: Retrieve lat from evaporation with value above the COUNT(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059388 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, ts, lon
Sensor: lightning | fields: qc, type, reading, unit
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059389 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, type, level, value
Sensor: visibility | fields: reading, value, unit, lon
Task: Get lat from wind_speed where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059390 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, depth, lat, level
Sensor: rainfall | fields: level, type, lon, qc
Task: Retrieve lon from uv_index with reading above the COUNT(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059391 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, qc, value, lat
Sensor: soil_moisture | fields: level, lat, reading, depth
Task: Get depth from cloud_cover where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059392 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, type, depth, lon
Sensor: air_quality | fields: depth, lat, lon, unit
Task: Fetch level from evaporation where value is greater than the minimum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059393 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, qc, value, lon
Sensor: wind_speed | fields: value, qc, depth, reading
Task: Fetch reading from temperature where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059394 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, reading, type, value
Sensor: wind_speed | fields: level, depth, qc, lon
Task: Retrieve level from soil_moisture with depth above the MAX(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059395 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lat, lon, level
Sensor: pressure | fields: ts, depth, level, type
Task: Fetch level from evaporation where value is greater than the minimum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059396 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, unit, lon, reading
Sensor: turbidity | fields: lat, value, depth, unit
Task: Get value from frost where unit appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059397 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, ts, level, qc
Sensor: humidity | fields: level, lat, depth, lon
Task: Get lat from wind_speed where type appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059398 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lon, lat, unit
Sensor: turbidity | fields: unit, ts, value, depth
Task: Get reading from wind_speed where ts appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.