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: dew_point | code: hub | fields: value, depth, level, unit
Sensor: air_quality | fields: depth, type, unit, value
Task: Get lon from dew_point where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009500 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, ts, level, reading
Sensor: rainfall | fields: lon, ts, depth, level
Task: Retrieve lat from lightning whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009501 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, value, lat
Sensor: humidity | fields: value, type, unit, qc
Task: Fetch lon from pressure where depth is greater than the count of of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009502 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lon, level, value
Sensor: uv_index | fields: qc, ts, unit, level
Task: Fetch depth from drought_index that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009503 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, lon, qc, ts
Sensor: drought_index | fields: unit, value, level, lat
Task: Fetch value from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009504 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, type, lat, lon
Sensor: humidity | fields: depth, ts, qc, level
Task: Fetch depth from uv_index where ts exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009505 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: value, qc, depth, ts
Sensor: lightning | fields: unit, lat, lon, depth
Task: Get lon from visibility where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009506 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, depth, ts, lat
Sensor: visibility | fields: reading, value, unit, type
Task: Fetch value from temperature where unit exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009507 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, unit, lat, qc
Sensor: frost | fields: value, lat, reading, unit
Task: Get depth from visibility where depth exceeds the total value from frost for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009508 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: level, ts, lat, value
Sensor: rainfall | fields: value, type, qc, level
Task: Retrieve value from evaporation with reading above the MAX(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009509 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, qc, value, level
Sensor: snow_depth | fields: qc, type, depth, unit
Task: Retrieve level from lightning whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009510 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: reading, depth, lon, qc
Sensor: rainfall | fields: value, unit, type, lon
Task: Retrieve level from dew_point with depth above the COUNT(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009511 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, ts, unit, qc
Sensor: visibility | fields: ts, level, unit, type
Task: Get reading from pressure where reading exceeds the minimum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009512 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, unit, level
Sensor: pressure | fields: lat, value, type, reading
Task: Get value from air_quality where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009513 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, reading, value, lon
Sensor: cloud_cover | fields: unit, reading, type, level
Task: Retrieve depth from visibility that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009514 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, qc, depth, unit
Sensor: dew_point | fields: reading, value, qc, ts
Task: Fetch value from lightning that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009515 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, ts, level, value
Sensor: dew_point | fields: depth, reading, unit, level
Task: Fetch reading from evaporation where value is greater than the count of of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009516 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, reading, level, unit
Sensor: snow_depth | fields: unit, ts, qc, value
Task: Get lon from wind_speed where reading exceeds the count of depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009517 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, lat, lon, qc
Sensor: humidity | fields: reading, lon, ts, level
Task: Fetch value from pressure where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009518 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, lon, qc
Sensor: air_quality | fields: depth, ts, reading, qc
Task: Get depth from soil_moisture where reading exceeds the average reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009519 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, type, value, level
Sensor: temperature | fields: reading, ts, unit, value
Task: Get value from wind_speed where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009520 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, depth, unit, lat
Sensor: sunlight | fields: level, type, qc, unit
Task: Fetch reading from dew_point where value is greater than the average of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009521 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, qc, ts, type
Sensor: temperature | fields: value, qc, ts, depth
Task: Retrieve reading from soil_moisture with depth above the COUNT(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009522 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, lat, type, qc
Sensor: visibility | fields: type, reading, lon, value
Task: Retrieve level from sunlight whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009523 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, value, lat, level
Sensor: frost | fields: value, ts, lon, type
Task: Retrieve lon from cloud_cover whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009524 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: type, ts, reading, depth
Sensor: drought_index | fields: depth, reading, type, ts
Task: Retrieve depth from visibility whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009525 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, ts, value, reading
Sensor: soil_moisture | fields: lon, value, depth, ts
Task: Retrieve value from sunlight whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009526 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, ts, qc, reading
Sensor: uv_index | fields: value, unit, reading, type
Task: Fetch level from air_quality where value is greater than the maximum of value in uv_index for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009527 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, ts, lon, depth
Sensor: temperature | fields: level, lat, lon, reading
Task: Fetch value from cloud_cover where value is greater than the minimum of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009528 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, qc, value, type
Sensor: rainfall | fields: lat, type, value, ts
Task: Fetch lon from visibility where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009529 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, depth, value, reading
Sensor: sunlight | fields: value, lat, qc, depth
Task: Get lat from pressure where value exceeds the average value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009530 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, value, qc, lat
Sensor: sunlight | fields: reading, ts, depth, lat
Task: Fetch value from frost that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009531 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, ts, depth, value
Sensor: visibility | fields: level, lat, unit, lon
Task: Fetch reading from air_quality that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009532 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, ts, lon, reading
Sensor: frost | fields: unit, ts, value, qc
Task: Retrieve lat from rainfall whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009533 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lon, qc, level, value
Sensor: dew_point | fields: ts, level, depth, value
Task: Fetch depth from temperature where depth is greater than the total of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009534 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, reading, ts, unit
Sensor: air_quality | fields: reading, qc, depth, level
Task: Get level from uv_index where reading exceeds the minimum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009535 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: unit, reading, qc, depth
Sensor: frost | fields: level, reading, ts, unit
Task: Retrieve depth from uv_index whose type is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009536 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, depth, level, qc
Sensor: uv_index | fields: value, lon, level, reading
Task: Fetch value from rainfall where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009537 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, reading, unit, qc
Sensor: sunlight | fields: depth, qc, lat, type
Task: Fetch lon from cloud_cover that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009538 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, value, ts, type
Sensor: temperature | fields: lat, lon, depth, ts
Task: Retrieve depth from wind_speed that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009539 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lon, level, reading, depth
Sensor: cloud_cover | fields: ts, unit, value, type
Task: Fetch depth from evaporation that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009540 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, depth, qc, value
Sensor: snow_depth | fields: depth, lat, level, unit
Task: Get lat from frost where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009541 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, level, lat, type
Sensor: drought_index | fields: lat, qc, type, value
Task: Retrieve lat from cloud_cover with reading above the COUNT(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009542 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lat, lon, type
Sensor: soil_moisture | fields: depth, type, lat, ts
Task: Retrieve level from evaporation whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009543 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, unit, level, reading
Sensor: dew_point | fields: ts, lat, type, unit
Task: Retrieve value from frost whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009544 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, ts, lat, level
Sensor: drought_index | fields: ts, lat, type, reading
Task: Get lon from air_quality where depth exceeds the minimum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009545 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, value, ts, qc
Sensor: temperature | fields: qc, reading, unit, lon
Task: Get depth from visibility where depth exceeds the minimum value from temperature for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009546 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: level, qc, unit, value
Sensor: humidity | fields: lat, unit, ts, type
Task: Retrieve value from evaporation whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009547 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, value, qc, lat
Sensor: snow_depth | fields: value, qc, reading, unit
Task: Get lon from pressure where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009548 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lon, unit, reading, qc
Sensor: lightning | fields: unit, lon, depth, ts
Task: Retrieve depth from turbidity with depth above the SUM(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009549 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, depth, level, qc
Sensor: temperature | fields: reading, level, qc, value
Task: Fetch lon from evaporation where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009550 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, reading, lat, lon
Sensor: soil_moisture | fields: ts, lon, depth, level
Task: Retrieve reading from snow_depth whose qc is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009551 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lat, qc, depth, lon
Sensor: humidity | fields: value, lat, lon, level
Task: Retrieve depth from lightning that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009552 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, level, lon, unit
Sensor: dew_point | fields: level, lon, value, lat
Task: Fetch lon from cloud_cover where depth is greater than the average of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009553 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: reading, qc, depth, unit
Sensor: rainfall | fields: unit, ts, type, lat
Task: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009554 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, value, type, lat
Sensor: snow_depth | fields: lon, depth, level, reading
Task: Get lat from uv_index where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009555 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, level, unit, type
Sensor: visibility | fields: unit, type, value, qc
Task: Get depth from pressure where value exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009556 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lon, depth, level
Sensor: soil_moisture | fields: type, level, reading, unit
Task: Get level from rainfall where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009557 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, value, lon, unit
Sensor: snow_depth | fields: lat, value, reading, type
Task: Get value from soil_moisture where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009558 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, lon, ts, value
Sensor: sunlight | fields: level, depth, ts, reading
Task: Fetch lon from turbidity where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009559 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, type, qc, ts
Sensor: turbidity | fields: value, lat, level, qc
Task: Fetch reading from uv_index where depth is greater than the average of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009560 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: level, type, lon, qc
Sensor: pressure | fields: lon, unit, lat, reading
Task: Fetch reading from visibility where reading is greater than the maximum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009561 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, level, unit, lat
Sensor: frost | fields: level, type, lon, reading
Task: Get depth from soil_moisture where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"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_009562 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, value, type
Sensor: turbidity | fields: lon, depth, unit, value
Task: Fetch depth from sunlight where value is greater than the maximum of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009563 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, reading, level, ts
Sensor: frost | fields: reading, lon, ts, value
Task: Retrieve depth from snow_depth with reading above the MAX(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009564 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, lon, depth, ts
Sensor: air_quality | fields: ts, level, depth, qc
Task: Get value from dew_point where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009565 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: ts, type, reading, qc
Sensor: air_quality | fields: level, reading, ts, lon
Task: Fetch depth from temperature where value is greater than the average of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009566 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, lat, type, qc
Sensor: temperature | fields: qc, type, level, depth
Task: Retrieve level from snow_depth with reading above the AVG(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009567 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, reading, ts, type
Sensor: temperature | fields: qc, level, lon, unit
Task: Fetch depth from uv_index that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009568 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, depth, unit, lat
Sensor: turbidity | fields: type, value, lat, reading
Task: Fetch depth from lightning where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009569 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lat, ts, qc, unit
Sensor: pressure | fields: lon, level, ts, qc
Task: Fetch level from sunlight that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009570 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, unit, reading, depth
Sensor: snow_depth | fields: lon, lat, type, unit
Task: Retrieve lon from pressure whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009571 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, value, ts, type
Sensor: wind_speed | fields: qc, lat, lon, reading
Task: Get value from temperature where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009572 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, unit, ts, reading
Sensor: lightning | fields: lat, level, depth, qc
Task: Retrieve depth from soil_moisture that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009573 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: qc, ts, lon, depth
Sensor: cloud_cover | fields: level, lon, lat, unit
Task: Get level from rainfall where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009574 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lat, lon, ts
Sensor: visibility | fields: unit, ts, lon, type
Task: Fetch lat from soil_moisture where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009575 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, lon, reading, qc
Sensor: frost | fields: reading, qc, lon, ts
Task: Fetch lon from uv_index where reading is greater than the total of depth in frost for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009576 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, reading, value
Sensor: evaporation | fields: ts, depth, unit, lon
Task: Fetch level from soil_moisture where reading is greater than the average of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009577 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, depth, value, reading
Sensor: temperature | fields: lat, value, ts, unit
Task: Get depth from frost where reading exceeds the maximum value from temperature for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009578 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, value, level, lon
Sensor: snow_depth | fields: lat, type, lon, ts
Task: Fetch lon from cloud_cover where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009579 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lon, qc, reading, ts
Sensor: uv_index | fields: unit, ts, value, qc
Task: Fetch value from frost that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009580 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, ts, unit, type
Sensor: visibility | fields: level, type, reading, qc
Task: Fetch depth from frost where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009581 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, depth, ts, value
Sensor: pressure | fields: lat, type, level, reading
Task: Get reading from air_quality where reading exceeds the total depth from pressure for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009582 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, ts, reading, type
Sensor: snow_depth | fields: qc, level, value, type
Task: Retrieve lat from evaporation whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009583 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, type, unit, reading
Sensor: dew_point | fields: lat, unit, level, reading
Task: Retrieve level from sunlight that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009584 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, value, qc, ts
Sensor: cloud_cover | fields: ts, qc, lat, lon
Task: Fetch reading from temperature where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009585 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, level, type, value
Sensor: evaporation | fields: lon, level, type, lat
Task: Retrieve reading from cloud_cover that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009586 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lon, lat, reading
Sensor: humidity | fields: lat, value, level, qc
Task: Retrieve lat from snow_depth with value above the AVG(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009587 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, reading, unit, level
Sensor: temperature | fields: reading, lat, depth, lon
Task: Get level from soil_moisture where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009588 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, value, depth, level
Sensor: lightning | fields: lon, unit, type, level
Task: Get lat from pressure where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009589 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, lon, level, type
Sensor: wind_speed | fields: reading, level, lat, type
Task: Fetch value from soil_moisture where reading is greater than the maximum of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009590 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, value, depth, ts
Sensor: cloud_cover | fields: qc, reading, lat, type
Task: Fetch lat from drought_index where reading is greater than the total of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009591 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, reading, lat, unit
Sensor: wind_speed | fields: lon, unit, qc, reading
Task: Retrieve value from lightning whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009592 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, level, lon
Sensor: air_quality | fields: unit, lat, lon, ts
Task: Retrieve reading from sunlight whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009593 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: level, lon, type, unit
Sensor: visibility | fields: qc, type, unit, lon
Task: Retrieve depth from drought_index whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_009594 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, depth, level, reading
Sensor: evaporation | fields: depth, ts, value, type
Task: Get level from visibility where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009595 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, qc, reading, depth
Sensor: humidity | fields: value, type, lat, level
Task: Retrieve depth from rainfall with depth above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009596 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, level, unit, reading
Sensor: evaporation | fields: unit, depth, lon, reading
Task: Retrieve lat from humidity with value above the AVG(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009597 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, unit, qc, value
Sensor: uv_index | fields: lon, unit, ts, value
Task: Retrieve depth from drought_index with value above the MAX(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009598 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, unit, lat, type
Sensor: snow_depth | fields: unit, lat, type, level
Task: Fetch depth from frost where depth exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_009599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.