variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, type, reading, ts
Sensor: sunlight | fields: value, reading, type, ts
Task: Fetch lon from temperature where ts exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063500 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, unit, type, level
Sensor: cloud_cover | fields: value, reading, lon, ts
Task: Retrieve level from sunlight whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063501 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, ts, lon, type
Sensor: rainfall | fields: level, unit, depth, reading
Task: Fetch lon from snow_depth that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063502 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, lat, qc
Sensor: drought_index | fields: qc, reading, lat, type
Task: Fetch lat from temperature where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063503 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, unit, reading, level
Sensor: snow_depth | fields: unit, type, reading, depth
Task: Retrieve level from uv_index whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063504 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, lon, unit, level
Sensor: frost | fields: unit, ts, level, type
Task: Retrieve value from pressure with reading above the COUNT(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063505 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, ts, unit, type
Sensor: temperature | fields: lon, depth, lat, ts
Task: Fetch lat from soil_moisture that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063506 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, reading, lat, qc
Sensor: lightning | fields: unit, reading, lon, depth
Task: Retrieve value from drought_index whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063507 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: qc, reading, lat, value
Sensor: sunlight | fields: depth, level, unit, lon
Task: Retrieve level from evaporation that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063508 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: qc, level, reading, lat
Sensor: snow_depth | fields: qc, lat, level, value
Task: Retrieve reading from drought_index whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063509 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: depth, level, type, ts
Sensor: soil_moisture | fields: unit, value, reading, type
Task: Get depth from uv_index where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063510 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, depth, ts, lon
Sensor: dew_point | fields: reading, level, type, depth
Task: Get value from rainfall where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063511 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, type, reading, lat
Sensor: lightning | fields: lon, value, level, type
Task: Retrieve depth from turbidity with reading above the MAX(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063512 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: value, unit, lon, type
Sensor: lightning | fields: unit, ts, lon, depth
Task: Retrieve reading from snow_depth with depth above the MAX(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063513 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, unit, qc, depth
Sensor: humidity | fields: depth, qc, lon, ts
Task: Retrieve lat from frost whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063514 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, level, qc, unit
Sensor: cloud_cover | fields: value, lat, qc, unit
Task: Retrieve depth from turbidity with depth above the MAX(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063515 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, lat, level, value
Sensor: pressure | fields: unit, depth, qc, lat
Task: Fetch depth from evaporation where reading is greater than the count of of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063516 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, reading, depth, ts
Sensor: evaporation | fields: level, unit, value, lon
Task: Get lon from snow_depth where reading exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063517 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, lon, reading, unit
Sensor: frost | fields: unit, reading, lon, lat
Task: Fetch lon from humidity where depth is greater than the total of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063518 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, lon, type, level
Sensor: temperature | fields: reading, value, ts, unit
Task: Get lat from lightning where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063519 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, depth, value, qc
Sensor: uv_index | fields: level, reading, lat, qc
Task: Get depth from frost where depth exceeds the maximum reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063520 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, unit, depth, level
Sensor: cloud_cover | fields: unit, lat, depth, ts
Task: Get level from frost where qc appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063521 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, type, ts
Sensor: temperature | fields: value, ts, unit, reading
Task: Retrieve lat from dew_point with depth above the AVG(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063522 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, ts, depth, type
Sensor: frost | fields: value, level, unit, qc
Task: Retrieve level from snow_depth with depth above the MAX(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063523 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, type, level, lon
Sensor: visibility | fields: qc, unit, level, reading
Task: Retrieve value from wind_speed with value above the MIN(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063524 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: qc, type, lon, ts
Sensor: drought_index | fields: value, type, ts, reading
Task: Get level from rainfall where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063525 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, qc, ts, lon
Sensor: temperature | fields: level, depth, unit, lat
Task: Get depth from lightning where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063526 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, ts, value, lon
Sensor: soil_moisture | fields: type, lon, depth, lat
Task: Retrieve reading from temperature that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063527 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, level, unit, ts
Sensor: snow_depth | fields: ts, type, level, qc
Task: Get reading from dew_point where value exceeds the count of reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063528 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, depth, reading, value
Sensor: air_quality | fields: lon, type, level, ts
Task: Fetch depth from lightning that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063529 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, qc, level, ts
Sensor: humidity | fields: unit, lat, level, qc
Task: Get level from wind_speed where value exceeds the total reading from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063530 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, level, lon, depth
Sensor: rainfall | fields: depth, level, lon, qc
Task: Retrieve lon from frost that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063531 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, lon, depth, reading
Sensor: lightning | fields: ts, lon, qc, unit
Task: Retrieve reading from sunlight whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063532 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: type, unit, level, lon
Sensor: humidity | fields: lon, value, lat, ts
Task: Get reading from rainfall where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063533 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, depth, lat
Sensor: soil_moisture | fields: depth, ts, type, unit
Task: Fetch level from sunlight where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063534 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, qc, depth, type
Sensor: snow_depth | fields: type, qc, level, unit
Task: Fetch level from turbidity where reading is greater than the average of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063535 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, level, depth, lat
Sensor: wind_speed | fields: level, ts, depth, qc
Task: Retrieve level from frost with reading above the MIN(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063536 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, reading, value, unit
Sensor: soil_moisture | fields: lat, unit, value, depth
Task: Fetch lat from humidity that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063537 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, qc, ts, reading
Sensor: soil_moisture | fields: type, value, level, depth
Task: Retrieve lon from dew_point that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063538 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: value, level, ts, lon
Sensor: turbidity | fields: depth, ts, unit, type
Task: Get depth from uv_index where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063539 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, reading, level, qc
Sensor: frost | fields: reading, unit, value, depth
Task: Retrieve level from wind_speed with value above the MAX(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063540 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, value, depth
Sensor: drought_index | fields: ts, level, unit, lat
Task: Fetch lat from soil_moisture where value is greater than the minimum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063541 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, lon, qc, lat
Sensor: air_quality | fields: level, ts, value, qc
Task: Fetch value from dew_point where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063542 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, depth, lat, value
Sensor: dew_point | fields: unit, ts, level, lat
Task: Fetch depth from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063543 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lon, ts, level, type
Sensor: evaporation | fields: level, type, value, unit
Task: Get lat from frost where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063544 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, qc, lon
Sensor: frost | fields: qc, unit, reading, type
Task: Fetch lat from sunlight where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"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_063545 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lat, type, reading
Sensor: drought_index | fields: qc, ts, depth, lon
Task: Get lon from sunlight where depth exceeds the minimum reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063546 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: depth, unit, lat, lon
Sensor: dew_point | fields: type, level, lon, lat
Task: Get value from temperature where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063547 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, level, lon, ts
Sensor: humidity | fields: value, reading, qc, level
Task: Get reading from drought_index where value exceeds the minimum value from humidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063548 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: type, value, unit, reading
Sensor: lightning | fields: lon, level, unit, value
Task: Retrieve reading from turbidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063549 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, ts, qc, value
Sensor: turbidity | fields: level, qc, value, unit
Task: Fetch depth from pressure where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063550 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, unit, level, reading
Sensor: temperature | fields: ts, unit, qc, type
Task: Get depth from soil_moisture where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063551 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, lon, lat, value
Sensor: cloud_cover | fields: value, lat, depth, qc
Task: Retrieve reading from lightning that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063552 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, qc, value, unit
Sensor: dew_point | fields: lon, lat, reading, unit
Task: Retrieve value from lightning that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063553 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lon, lat, reading
Sensor: drought_index | fields: type, qc, lon, depth
Task: Retrieve reading from wind_speed that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063554 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, unit, value, lat
Sensor: cloud_cover | fields: level, type, ts, reading
Task: Get lon from evaporation where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063555 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, level, ts, lat
Sensor: frost | fields: value, type, ts, reading
Task: Get level from visibility where depth appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063556 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, qc, lon, value
Sensor: air_quality | fields: qc, lat, reading, lon
Task: Retrieve depth from evaporation whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063557 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, reading, level, value
Sensor: snow_depth | fields: type, reading, qc, lat
Task: Get level from wind_speed where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063558 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: unit, depth, lon, ts
Sensor: uv_index | fields: lat, lon, value, unit
Task: Get depth from temperature where reading exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063559 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, qc, ts, lat
Sensor: air_quality | fields: value, unit, reading, depth
Task: Retrieve level from dew_point with depth above the SUM(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063560 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: reading, lon, level, type
Sensor: soil_moisture | fields: reading, unit, lat, ts
Task: Retrieve level from pressure with reading above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063561 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: ts, unit, type, reading
Sensor: wind_speed | fields: depth, lat, type, reading
Task: Get reading from dew_point where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063562 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: level, value, unit, lon
Sensor: temperature | fields: qc, unit, lat, type
Task: Fetch depth from wind_speed where reading is greater than the count of of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063563 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, ts, level, type
Sensor: uv_index | fields: unit, level, reading, lat
Task: Fetch lat from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063564 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: value, ts, depth, unit
Sensor: cloud_cover | fields: qc, value, depth, lat
Task: Get lat from air_quality where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063565 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: depth, value, reading, lat
Sensor: frost | fields: lat, level, value, lon
Task: Get reading from visibility where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063566 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: level, reading, qc, unit
Sensor: uv_index | fields: depth, level, lon, unit
Task: Fetch depth from temperature where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063567 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, level, depth, type
Sensor: uv_index | fields: level, ts, lon, unit
Task: Get level from lightning where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063568 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, reading, type, level
Sensor: dew_point | fields: type, lon, ts, depth
Task: Fetch lat from temperature where reading is greater than the total of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063569 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, value, unit, depth
Sensor: snow_depth | fields: lon, depth, type, lat
Task: Fetch reading from visibility where depth is greater than the count of of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063570 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: type, reading, lon, value
Sensor: uv_index | fields: depth, unit, type, value
Task: Fetch lat from turbidity that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063571 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: level, ts, lat, qc
Sensor: soil_moisture | fields: level, reading, lat, unit
Task: Fetch reading from sunlight that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063572 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, level, lat, unit
Sensor: dew_point | fields: type, unit, ts, lon
Task: Get level from turbidity where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063573 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lat, qc, value, ts
Sensor: drought_index | fields: unit, depth, lat, ts
Task: Fetch depth from uv_index where depth is greater than the maximum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063574 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lon, lat, ts
Sensor: frost | fields: value, type, ts, lon
Task: Fetch value from rainfall where value is greater than the average of depth in frost for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063575 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, unit, value, type
Sensor: frost | fields: lon, value, type, depth
Task: Retrieve value from uv_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063576 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, reading, value, ts
Sensor: soil_moisture | fields: value, unit, level, reading
Task: Fetch value from pressure where qc exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063577 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: ts, depth, lon, type
Sensor: air_quality | fields: lon, reading, depth, type
Task: Fetch lon from humidity that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063578 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, qc, type, level
Sensor: frost | fields: qc, reading, level, type
Task: Get depth from drought_index where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063579 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: qc, depth, value, lat
Sensor: uv_index | fields: reading, depth, unit, lon
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063580 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, ts, value, reading
Sensor: visibility | fields: qc, lon, unit, value
Task: Fetch lat from snow_depth where value is greater than the minimum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"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_063581 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lat, type, reading, value
Sensor: cloud_cover | fields: lat, value, depth, ts
Task: Fetch value from sunlight where type exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063582 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, depth, type, reading
Sensor: snow_depth | fields: lon, reading, qc, unit
Task: Fetch level from sunlight that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063583 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, qc, depth, lat
Sensor: uv_index | fields: ts, depth, lon, qc
Task: Get level from temperature where value exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063584 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lon, reading, unit, qc
Sensor: humidity | fields: unit, type, value, depth
Task: Retrieve lat from pressure whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063585 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, reading, lon
Sensor: air_quality | fields: lat, type, reading, ts
Task: Fetch lon from uv_index where depth is greater than the maximum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063586 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, type, value
Sensor: air_quality | fields: type, lon, level, reading
Task: Retrieve lon from sunlight whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063587 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: level, ts, reading, lat
Sensor: rainfall | fields: reading, ts, unit, depth
Task: Fetch lon from frost that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063588 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, lat, type, unit
Sensor: lightning | fields: reading, lat, type, level
Task: Retrieve value from pressure whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063589 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, level, reading, lon
Sensor: sunlight | fields: depth, unit, lon, reading
Task: Retrieve lat from soil_moisture with depth above the SUM(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063590 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, lon, unit, level
Sensor: snow_depth | fields: ts, value, unit, level
Task: Retrieve reading from air_quality whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063591 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: value, lat, unit, lon
Sensor: snow_depth | fields: reading, depth, lon, type
Task: Fetch lat from visibility where value is greater than the minimum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063592 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: value, lat, reading, ts
Sensor: drought_index | fields: value, lat, type, ts
Task: Get lat from visibility where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063593 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, ts, unit, lon
Sensor: soil_moisture | fields: lon, level, type, reading
Task: Get value from frost where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063594 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: reading, unit, depth, value
Sensor: sunlight | fields: ts, reading, lat, value
Task: Fetch value from dew_point where value is greater than the minimum of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063595 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: type, level, lat, lon
Sensor: evaporation | fields: type, depth, reading, lat
Task: Retrieve value from pressure whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063596 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: value, depth, unit, reading
Sensor: humidity | fields: qc, lon, type, level
Task: Retrieve reading from frost whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063597 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, level, unit, lon
Sensor: wind_speed | fields: lon, lat, qc, ts
Task: Fetch level from drought_index where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063598 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: unit, ts, lon, reading
Sensor: wind_speed | fields: unit, lon, type, value
Task: Fetch lon from pressure where value is greater than the average of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.