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: frost | code: prt | fields: value, ts, depth, reading
Sensor: evaporation | fields: reading, depth, lat, unit
Task: Get value from frost where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068600 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lat, qc, level
Sensor: humidity | fields: lat, depth, qc, ts
Task: Fetch lat from soil_moisture where depth exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068601 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, ts, value, type
Sensor: pressure | fields: reading, lon, qc, type
Task: Fetch reading from snow_depth where type exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068602 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, value, qc, lon
Sensor: visibility | fields: ts, reading, depth, level
Task: Fetch lon from rainfall where depth is greater than the count of of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068603 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, reading, ts, value
Sensor: drought_index | fields: type, qc, ts, reading
Task: Fetch value from temperature that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068604 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, reading, lat, value
Sensor: dew_point | fields: type, depth, reading, lon
Task: Fetch value from snow_depth where depth is greater than the total of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068605 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, qc, level, type
Sensor: sunlight | fields: lon, ts, unit, value
Task: Retrieve lat from pressure that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068606 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, lat, reading, lon
Sensor: sunlight | fields: qc, unit, lon, reading
Task: Get reading from cloud_cover where depth exceeds the total reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068607 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: qc, unit, lon, type
Sensor: dew_point | fields: depth, lat, reading, type
Task: Fetch depth from humidity that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068608 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, value, qc, lon
Sensor: uv_index | fields: value, type, ts, depth
Task: Retrieve value from pressure that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068609 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, ts, lon, value
Sensor: cloud_cover | fields: level, value, reading, ts
Task: Get reading from pressure where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068610 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, type, ts, lon
Sensor: humidity | fields: unit, reading, depth, lat
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_068611 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: ts, level, lat, lon
Sensor: pressure | fields: depth, reading, lat, qc
Task: Fetch value from drought_index that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068612 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, depth, value
Sensor: cloud_cover | fields: ts, reading, value, depth
Task: Get value from uv_index where value exceeds the average reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068613 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, unit, value, type
Sensor: humidity | fields: lon, level, reading, qc
Task: Fetch lat from temperature that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068614 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, ts, lon, depth
Sensor: soil_moisture | fields: ts, type, level, unit
Task: Get lon from snow_depth where reading exceeds the count of depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068615 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, type, lat, reading
Sensor: cloud_cover | fields: level, reading, type, lat
Task: Fetch lat from air_quality where depth exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068616 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, type, reading, level
Sensor: pressure | fields: type, lat, level, lon
Task: Retrieve lat from snow_depth with value above the AVG(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068617 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: ts, reading, lon, type
Sensor: soil_moisture | fields: reading, level, lat, type
Task: Retrieve depth from pressure that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068618 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: value, lon, level, ts
Sensor: uv_index | fields: level, ts, unit, qc
Task: Fetch reading from drought_index that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068619 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lat, unit, ts, reading
Sensor: pressure | fields: level, value, unit, qc
Task: Retrieve depth from drought_index whose qc is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068620 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, lat, value
Sensor: drought_index | fields: unit, qc, ts, lat
Task: Fetch reading from lightning where reading is greater than the average of reading in drought_index for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068621 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lon, reading, level, qc
Sensor: sunlight | fields: value, type, reading, lat
Task: Fetch lat from evaporation that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068622 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lat, depth, value, lon
Sensor: sunlight | fields: unit, lat, lon, depth
Task: Get depth from visibility where qc appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068623 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, lat, ts, lon
Sensor: wind_speed | fields: depth, reading, value, level
Task: Fetch lon from rainfall where value is greater than the total of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068624 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: ts, type, reading, value
Sensor: uv_index | fields: ts, depth, unit, type
Task: Get reading from pressure where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068625 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, qc, reading, value
Sensor: cloud_cover | fields: type, depth, lat, level
Task: Get lon from soil_moisture where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068626 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, level, lat, unit
Sensor: snow_depth | fields: reading, lat, qc, value
Task: Get reading from wind_speed where value exceeds the maximum reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068627 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: depth, qc, lat, type
Sensor: air_quality | fields: type, depth, lat, value
Task: Fetch value from rainfall that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068628 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, type, depth, lat
Sensor: cloud_cover | fields: type, depth, lon, lat
Task: Fetch reading from air_quality that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068629 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, lat, level, unit
Sensor: snow_depth | fields: reading, lon, value, unit
Task: Get lon from turbidity where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068630 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, value, type, lon
Sensor: drought_index | fields: value, lat, lon, qc
Task: Get value from dew_point where value exceeds the count of value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068631 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, reading, ts, level
Sensor: evaporation | fields: depth, lon, value, type
Task: Get lat from rainfall where reading exceeds the average depth from evaporation for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068632 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, reading, depth, ts
Sensor: snow_depth | fields: level, unit, qc, ts
Task: Retrieve level from dew_point that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068633 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, qc, type, unit
Sensor: uv_index | fields: type, ts, value, level
Task: Retrieve value from dew_point whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068634 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, value, depth, ts
Sensor: turbidity | fields: qc, lon, level, depth
Task: Get lon from rainfall where reading exceeds the total reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068635 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, ts, value, depth
Sensor: pressure | fields: lon, ts, depth, reading
Task: Fetch value from rainfall that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068636 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: unit, type, qc, depth
Sensor: lightning | fields: level, value, depth, unit
Task: Fetch lat from turbidity where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068637 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, qc, ts, type
Sensor: pressure | fields: depth, unit, type, qc
Task: Get reading from cloud_cover where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068638 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, unit, value, reading
Sensor: cloud_cover | fields: qc, lat, type, reading
Task: Get reading from snow_depth where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068639 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, lat, value, lon
Sensor: snow_depth | fields: lat, level, lon, ts
Task: Fetch reading from temperature where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068640 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, lat, type
Sensor: sunlight | fields: unit, type, lat, reading
Task: Get lon from uv_index where depth exceeds the maximum value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068641 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: reading, qc, lat, type
Sensor: drought_index | fields: lon, reading, depth, unit
Task: Get lon from pressure where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068642 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, lon, depth, lat
Sensor: sunlight | fields: value, unit, reading, lon
Task: Get reading from evaporation where value exceeds the average value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068643 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, value, unit, qc
Sensor: evaporation | fields: lon, type, reading, ts
Task: Fetch value from frost that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068644 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, lat, lon, level
Sensor: wind_speed | fields: unit, lat, lon, ts
Task: Fetch level from uv_index where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068645 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: unit, lon, depth, type
Sensor: rainfall | fields: value, type, lat, ts
Task: Fetch lon from visibility where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068646 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, reading, qc, type
Sensor: air_quality | fields: type, depth, lon, unit
Task: Retrieve reading from frost that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068647 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: level, value, type, ts
Sensor: wind_speed | fields: depth, value, ts, level
Task: Retrieve lon from snow_depth with value above the COUNT(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068648 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, ts, qc, depth
Sensor: dew_point | fields: ts, lat, value, type
Task: Fetch reading from cloud_cover where reading is greater than the total of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068649 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, type, value, level
Sensor: temperature | fields: ts, level, value, qc
Task: Fetch level from evaporation where value is greater than the total of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068650 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, lon, lat
Sensor: frost | fields: unit, reading, type, ts
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="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068651 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, unit, ts, type
Sensor: air_quality | fields: type, depth, value, ts
Task: Get lon from humidity where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068652 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, level, qc, depth
Sensor: uv_index | fields: ts, qc, reading, unit
Task: Retrieve level from cloud_cover with value above the MIN(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068653 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: unit, type, ts, lat
Sensor: pressure | fields: reading, ts, value, lat
Task: Retrieve depth from air_quality whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068654 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, reading, value, depth
Sensor: uv_index | fields: lon, level, lat, ts
Task: Get depth from wind_speed where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068655 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, level, lon, qc
Sensor: drought_index | fields: level, depth, value, lat
Task: Get lon from wind_speed where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068656 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, lon, lat, level
Sensor: rainfall | fields: type, ts, unit, lon
Task: Retrieve lon from pressure that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068657 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, type, level, qc
Sensor: dew_point | fields: value, type, qc, lon
Task: Retrieve reading from lightning that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068658 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: value, qc, reading, depth
Sensor: lightning | fields: lat, unit, depth, reading
Task: Get lat from wind_speed where unit appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068659 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, lat, value, unit
Sensor: snow_depth | fields: qc, reading, value, unit
Task: Get value from uv_index where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068660 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, level, lon, qc
Sensor: lightning | fields: qc, lat, level, depth
Task: Get depth from visibility where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068661 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, qc, value, ts
Sensor: soil_moisture | fields: unit, reading, level, qc
Task: Get reading from evaporation where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068662 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: value, depth, lon, qc
Sensor: frost | fields: qc, level, lon, lat
Task: Fetch value from visibility that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068663 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, reading, qc, ts
Sensor: evaporation | fields: value, lat, level, reading
Task: Get level from wind_speed where value exceeds the maximum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068664 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, lat, value, depth
Sensor: lightning | fields: qc, value, type, unit
Task: Get level from temperature where reading exceeds the total reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068665 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, type, value, level
Sensor: humidity | fields: reading, lat, level, value
Task: Get reading from dew_point where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068666 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: depth, value, ts, reading
Sensor: temperature | fields: level, depth, qc, ts
Task: Get level from lightning where reading exceeds the minimum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068667 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, reading, lat, level
Sensor: dew_point | fields: value, lat, lon, unit
Task: Retrieve value from sunlight whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068668 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, lat, qc, level
Sensor: drought_index | fields: unit, lat, depth, type
Task: Fetch lat from soil_moisture that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068669 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: type, reading, lat, ts
Sensor: wind_speed | fields: value, level, qc, depth
Task: Fetch depth from turbidity where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068670 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, ts, lon, value
Sensor: turbidity | fields: ts, level, lon, qc
Task: Fetch depth from uv_index where reading is greater than the total of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068671 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, qc, ts
Sensor: wind_speed | fields: ts, unit, reading, value
Task: Fetch lat from cloud_cover where depth is greater than the average of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068672 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, depth, qc, value
Sensor: dew_point | fields: reading, unit, value, level
Task: Fetch reading from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068673 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, lat, type, unit
Sensor: sunlight | fields: ts, value, lat, unit
Task: Get reading from drought_index where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068674 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, ts, depth, value
Sensor: turbidity | fields: lat, lon, qc, value
Task: Retrieve lat from visibility with reading above the MIN(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068675 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: depth, value, type, unit
Sensor: evaporation | fields: unit, qc, depth, reading
Task: Fetch level from sunlight where ts exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068676 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, unit, reading, value
Sensor: dew_point | fields: depth, lon, value, lat
Task: Fetch lon from sunlight that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068677 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, lat, lon, level
Sensor: soil_moisture | fields: depth, lat, unit, value
Task: Get lon from cloud_cover where reading exceeds the average reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068678 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, reading, qc, type
Sensor: rainfall | fields: value, unit, depth, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068679 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: value, ts, unit, lat
Sensor: turbidity | fields: level, ts, depth, qc
Task: Fetch value from snow_depth where depth is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068680 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, lon, type, depth
Sensor: uv_index | fields: reading, value, qc, level
Task: Retrieve level from pressure that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068681 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: depth, reading, qc, level
Sensor: snow_depth | fields: type, lon, ts, value
Task: Get depth from turbidity where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068682 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, level, depth, reading
Sensor: wind_speed | fields: level, depth, lon, lat
Task: Get lat from frost where depth exceeds the count of depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068683 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, lon, value, qc
Sensor: rainfall | fields: unit, reading, type, lon
Task: Retrieve reading from frost whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068684 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: level, reading, lon, lat
Sensor: uv_index | fields: lon, unit, reading, depth
Task: Retrieve value from humidity whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068685 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, depth, lon, type
Sensor: visibility | fields: reading, value, ts, unit
Task: Retrieve lon from dew_point that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068686 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lat, reading, depth, level
Sensor: rainfall | fields: reading, qc, lon, ts
Task: Retrieve depth from sunlight whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068687 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, ts, unit, level
Sensor: wind_speed | fields: level, reading, qc, value
Task: Fetch lon from humidity where value is greater than the total of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068688 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, value, reading, level
Sensor: evaporation | fields: reading, lon, type, qc
Task: Retrieve lat from snow_depth with value above the MAX(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068689 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, ts, type, qc
Sensor: lightning | fields: lat, depth, value, level
Task: Fetch value from wind_speed where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068690 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, lat, qc, reading
Sensor: air_quality | fields: level, lat, type, lon
Task: Retrieve value from cloud_cover with depth above the MAX(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_068691 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, type, level, qc
Sensor: humidity | fields: value, unit, type, lon
Task: Retrieve level from rainfall with value above the MIN(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068692 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, reading, ts, qc
Sensor: lightning | fields: lon, type, value, lat
Task: Fetch reading from visibility where type exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068693 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, level, lon, depth
Sensor: snow_depth | fields: type, value, level, unit
Task: Fetch value from wind_speed that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068694 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, reading, level, lat
Sensor: snow_depth | fields: value, qc, lon, unit
Task: Fetch reading from sunlight where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068695 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, depth, type, lon
Sensor: humidity | fields: value, depth, reading, level
Task: Fetch lat from pressure where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068696 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, unit, qc, reading
Sensor: humidity | fields: reading, value, lat, level
Task: Fetch lon from uv_index where reading is greater than the maximum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068697 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: reading, level, unit, qc
Sensor: snow_depth | fields: qc, lat, level, lon
Task: Get depth from pressure where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068698 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, reading, qc, depth
Sensor: turbidity | fields: unit, qc, reading, depth
Task: Retrieve value from snow_depth that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_068699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.