variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, qc, depth, ts
Sensor: visibility | fields: reading, level, type, lon
Task: Get lon from dew_point where depth exceeds the total value from visibility for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083600 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, lat, type, lon
Sensor: frost | fields: value, lon, lat, ts
Task: Retrieve reading from lightning whose type is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083601 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lat, value, reading, qc
Sensor: air_quality | fields: lon, type, level, lat
Task: Get lon from evaporation where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083602 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, depth, reading, value
Sensor: temperature | fields: unit, lon, depth, reading
Task: Get lon from lightning where reading exceeds the total depth from temperature for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083603 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, level, unit, lat
Sensor: lightning | fields: depth, ts, reading, level
Task: Get lat from visibility where depth exceeds the total reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083604 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, lon, qc, value
Sensor: drought_index | fields: qc, ts, unit, depth
Task: Fetch reading from visibility that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083605 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, lon, ts, reading
Sensor: dew_point | fields: lon, depth, type, unit
Task: Retrieve depth from uv_index whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083606 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, depth, level, unit
Sensor: temperature | fields: level, lat, depth, unit
Task: Fetch depth from cloud_cover where depth is greater than the count of of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083607 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, depth, type, reading
Sensor: uv_index | fields: reading, value, unit, ts
Task: Get level from dew_point where depth exceeds the minimum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083608 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: ts, qc, lon, reading
Sensor: turbidity | fields: value, reading, unit, lat
Task: Retrieve lat from temperature that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083609 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, lon, level, qc
Sensor: visibility | fields: qc, depth, reading, type
Task: Get value from soil_moisture where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083610 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, qc, type, unit
Sensor: snow_depth | fields: value, qc, level, type
Task: Get reading from wind_speed where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083611 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, unit, ts, type
Sensor: rainfall | fields: lon, ts, type, qc
Task: Get reading from visibility where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083612 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, level, qc, reading
Sensor: dew_point | fields: ts, lon, value, level
Task: Fetch level from frost where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083613 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, unit, qc, reading
Sensor: cloud_cover | fields: value, type, lon, unit
Task: Fetch lon from dew_point that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083614 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, lat, type, ts
Sensor: evaporation | fields: ts, level, unit, value
Task: Retrieve depth from uv_index with value above the SUM(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083615 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: ts, level, type, value
Sensor: temperature | fields: lat, value, lon, level
Task: Fetch reading from sunlight where depth is greater than the maximum of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083616 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, unit, depth, reading
Sensor: snow_depth | fields: lat, qc, unit, level
Task: Retrieve depth from sunlight that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083617 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, qc, depth, type
Sensor: frost | fields: value, type, lon, ts
Task: Retrieve depth from evaporation whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083618 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, reading, lat, unit
Sensor: sunlight | fields: lat, depth, lon, qc
Task: Fetch reading from cloud_cover that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083619 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, qc, ts, type
Sensor: soil_moisture | fields: ts, level, value, qc
Task: Get reading from snow_depth where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083620 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, value, lat, depth
Sensor: snow_depth | fields: qc, lat, ts, lon
Task: Get depth from cloud_cover where depth exceeds the count of reading from snow_depth for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083621 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, lat, reading, level
Sensor: soil_moisture | fields: type, lon, lat, reading
Task: Retrieve depth from turbidity whose unit is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083622 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, reading, value, qc
Sensor: drought_index | fields: unit, lat, lon, type
Task: Get lat from soil_moisture where value exceeds the minimum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083623 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, value, ts, unit
Sensor: lightning | fields: reading, lon, ts, qc
Task: Fetch reading from snow_depth where unit exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083624 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, type, value
Sensor: lightning | fields: qc, unit, type, depth
Task: Get depth from rainfall where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083625 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, ts, lon, level
Sensor: dew_point | fields: lon, qc, lat, level
Task: Fetch value from air_quality where depth is greater than the average of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083626 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, level, value, lon
Sensor: evaporation | fields: unit, depth, value, qc
Task: Get value from humidity where value exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083627 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, level, qc, value
Sensor: pressure | fields: depth, level, lon, value
Task: Fetch depth from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083628 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, type, ts, lat
Sensor: cloud_cover | fields: lon, reading, unit, ts
Task: Fetch lat from rainfall where value is greater than the minimum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083629 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, qc, depth, unit
Sensor: temperature | fields: ts, reading, lat, value
Task: Get reading from dew_point where qc appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083630 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, qc, lat, ts
Sensor: snow_depth | fields: depth, level, qc, lat
Task: Retrieve reading from evaporation that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083631 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, type, ts
Sensor: evaporation | fields: reading, value, depth, type
Task: Retrieve depth from dew_point that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083632 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: depth, lon, level, value
Sensor: drought_index | fields: lon, type, level, ts
Task: Retrieve value from turbidity whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083633 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, reading, ts, lat
Sensor: temperature | fields: reading, lon, value, ts
Task: Retrieve level from frost that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083634 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, reading, lat, ts
Sensor: drought_index | fields: qc, ts, value, depth
Task: Get value from pressure where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083635 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, lat, level, type
Sensor: evaporation | fields: value, depth, lon, type
Task: Retrieve reading from drought_index with value above the AVG(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083636 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: level, value, reading, ts
Sensor: dew_point | fields: unit, level, lat, ts
Task: Retrieve reading from turbidity with value above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083637 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, ts, value, qc
Sensor: humidity | fields: reading, value, type, lat
Task: Get lat from visibility where reading exceeds the minimum value from humidity for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083638 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, reading, value, unit
Sensor: wind_speed | fields: unit, qc, lon, reading
Task: Get value from rainfall where value exceeds the total reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083639 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: level, reading, type, value
Sensor: dew_point | fields: unit, ts, reading, value
Task: Fetch level from wind_speed that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083640 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, lon, unit, type
Sensor: snow_depth | fields: lat, value, unit, type
Task: Fetch value from soil_moisture where unit exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083641 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, ts, level, qc
Sensor: lightning | fields: reading, qc, lat, unit
Task: Get level from visibility where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083642 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, lat, ts, qc
Sensor: cloud_cover | fields: ts, reading, value, lon
Task: Fetch level from sunlight where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083643 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, lat, reading, type
Sensor: dew_point | fields: unit, qc, level, ts
Task: Get depth from rainfall where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083644 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, depth, lat, lon
Sensor: dew_point | fields: reading, level, unit, type
Task: Retrieve lat from cloud_cover that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083645 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, value, qc, unit
Sensor: wind_speed | fields: depth, lat, level, ts
Task: Get reading from sunlight where reading exceeds the total value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083646 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, lat, depth, value
Sensor: humidity | fields: depth, lat, unit, lon
Task: Get level from soil_moisture where reading exceeds the average value from humidity for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083647 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, level, value, type
Sensor: rainfall | fields: depth, qc, type, ts
Task: Retrieve depth from lightning whose depth is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083648 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, qc, level, value
Sensor: evaporation | fields: value, depth, ts, lat
Task: Retrieve level from cloud_cover with depth above the MIN(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083649 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, reading, type, lat
Sensor: soil_moisture | fields: unit, type, qc, level
Task: Fetch lat from temperature that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083650 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: depth, type, reading, ts
Sensor: rainfall | fields: lon, reading, depth, level
Task: Retrieve lat from dew_point whose ts is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083651 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, type, qc, level
Sensor: visibility | fields: depth, unit, level, lat
Task: Get lat from frost where value exceeds the count of reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"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_083652 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: unit, qc, level, lon
Sensor: air_quality | fields: unit, ts, depth, type
Task: Fetch lon from evaporation where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083653 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, ts, reading, depth
Sensor: lightning | fields: qc, reading, lon, value
Task: Get reading from sunlight where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083654 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, level, depth, lat
Sensor: pressure | fields: qc, lat, depth, type
Task: Retrieve level from cloud_cover with depth above the MIN(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083655 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lat, ts, depth
Sensor: cloud_cover | fields: reading, depth, type, ts
Task: Fetch lat from uv_index that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083656 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, lon, depth, qc
Sensor: sunlight | fields: unit, value, depth, lat
Task: Fetch level from snow_depth that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083657 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, unit, lon, type
Sensor: soil_moisture | fields: lon, value, reading, level
Task: Retrieve reading from turbidity that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083658 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, lat, unit, qc
Sensor: pressure | fields: reading, unit, type, level
Task: Fetch depth from sunlight where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"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_083659 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, lon, ts, type
Sensor: air_quality | fields: level, reading, ts, qc
Task: Retrieve lat from uv_index whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083660 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, unit, level, value
Sensor: frost | fields: type, lon, level, reading
Task: Fetch lat from cloud_cover where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083661 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, depth, qc, lon
Sensor: sunlight | fields: unit, lat, value, depth
Task: Get lat from cloud_cover where depth exceeds the minimum depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083662 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: level, depth, lat, lon
Sensor: soil_moisture | fields: depth, qc, level, lat
Task: Retrieve level from lightning with depth above the SUM(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083663 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: depth, lat, reading, value
Sensor: turbidity | fields: lat, ts, value, reading
Task: Fetch depth from dew_point that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083664 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, lon, ts, type
Sensor: snow_depth | fields: value, type, ts, lat
Task: Retrieve lon from cloud_cover that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083665 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, reading, depth, level
Sensor: uv_index | fields: value, lon, type, level
Task: Get lat from rainfall where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083666 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, lon, depth
Sensor: sunlight | fields: reading, level, lat, type
Task: Retrieve level from lightning with value above the MAX(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083667 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, qc, lon, level
Sensor: turbidity | fields: qc, unit, lat, type
Task: Fetch level from rainfall where depth is greater than the count of of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083668 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, reading, type, depth
Sensor: soil_moisture | fields: depth, lon, ts, type
Task: Retrieve lon from wind_speed with depth above the AVG(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083669 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: qc, value, type, lon
Sensor: sunlight | fields: reading, type, depth, lat
Task: Fetch lon from turbidity where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083670 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, unit, value, reading
Sensor: frost | fields: depth, unit, ts, level
Task: Fetch level from sunlight that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083671 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, lat, lon, level
Sensor: snow_depth | fields: level, value, ts, qc
Task: Get level from uv_index where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083672 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: level, depth, type, unit
Sensor: rainfall | fields: value, reading, depth, type
Task: Fetch lat from uv_index that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083673 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, qc, lon, lat
Sensor: frost | fields: unit, qc, depth, value
Task: Retrieve lon from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083674 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, type, value, reading
Sensor: lightning | fields: unit, level, depth, value
Task: Retrieve depth from soil_moisture that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083675 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, unit, type, level
Sensor: dew_point | fields: unit, level, reading, type
Task: Retrieve reading from pressure with reading above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083676 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, reading, value, ts
Sensor: uv_index | fields: reading, unit, qc, depth
Task: Get reading from rainfall where type appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083677 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, level, depth, type
Sensor: turbidity | fields: unit, ts, qc, reading
Task: Get lon from humidity where ts appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083678 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, value, depth, qc
Sensor: frost | fields: level, lon, reading, depth
Task: Fetch lon from air_quality that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083679 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, reading, value, lon
Sensor: pressure | fields: ts, qc, type, reading
Task: Retrieve depth from wind_speed with reading above the AVG(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083680 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, type, qc, level
Sensor: drought_index | fields: unit, type, lon, ts
Task: Fetch lat from frost where reading is greater than the maximum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083681 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, level, depth, lat
Sensor: lightning | fields: qc, ts, unit, depth
Task: Fetch level from frost that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083682 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: depth, reading, value, lat
Sensor: uv_index | fields: qc, lon, type, value
Task: Fetch lat from frost where depth is greater than the minimum of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083683 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, reading, type, lat
Sensor: snow_depth | fields: reading, lat, type, value
Task: Get lat from wind_speed where type appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083684 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: qc, lon, ts, lat
Sensor: visibility | fields: lat, value, unit, ts
Task: Get reading from rainfall where reading exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083685 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lon, value, qc
Sensor: frost | fields: reading, qc, unit, type
Task: Fetch depth from evaporation where reading is greater than the minimum of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083686 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lat, depth, qc, ts
Sensor: visibility | fields: qc, unit, level, value
Task: Get lat from drought_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083687 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: reading, qc, ts, level
Sensor: soil_moisture | fields: qc, value, lon, reading
Task: Fetch level from lightning where value is greater than the count of of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083688 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: type, qc, lat, unit
Sensor: lightning | fields: depth, reading, lon, ts
Task: Get reading from frost where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"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_083689 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lon, lat, ts, qc
Sensor: wind_speed | fields: value, qc, unit, type
Task: Retrieve level from lightning that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083690 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, depth, lat, level
Sensor: snow_depth | fields: type, unit, lat, reading
Task: Retrieve depth from temperature whose qc is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083691 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, unit, qc, lon
Sensor: uv_index | fields: type, ts, reading, lon
Task: Retrieve depth from drought_index that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083692 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, reading, value, type
Sensor: rainfall | fields: lat, lon, reading, ts
Task: Retrieve value from lightning with depth above the COUNT(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083693 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, unit, ts, type
Sensor: soil_moisture | fields: lat, level, ts, qc
Task: Get depth from evaporation where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083694 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: ts, level, type, depth
Sensor: dew_point | fields: value, unit, lon, reading
Task: Get lat from drought_index where depth exceeds the total value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083695 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, level, unit, ts
Sensor: air_quality | fields: qc, lat, unit, reading
Task: Fetch depth from cloud_cover where depth is greater than the maximum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083696 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, type, qc
Sensor: temperature | fields: reading, depth, qc, level
Task: Retrieve depth from humidity whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083697 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, value, type, lat
Sensor: rainfall | fields: reading, type, depth, ts
Task: Fetch lat from temperature where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083698 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, reading, ts, value
Sensor: soil_moisture | fields: lat, unit, lon, depth
Task: Get lon from dew_point where reading exceeds the total value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.