variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lon, qc, value
Sensor: dew_point | fields: type, level, ts, value
Task: Retrieve depth from evaporation that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036700 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, value, ts
Sensor: uv_index | fields: lat, value, type, level
Task: Get level from lightning where value exceeds the maximum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036701 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, level, depth, lon
Sensor: sunlight | fields: value, ts, depth, lon
Task: Retrieve level from lightning whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036702 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lat, unit, level
Sensor: snow_depth | fields: value, lon, level, qc
Task: Get reading from wind_speed where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036703 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, depth, value, level
Sensor: cloud_cover | fields: type, unit, level, qc
Task: Retrieve value from humidity whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036704 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: ts, unit, lat, reading
Sensor: cloud_cover | fields: lon, reading, value, type
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036705 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, depth, lon
Sensor: wind_speed | fields: depth, reading, value, level
Task: Retrieve value from air_quality whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036706 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, type, qc, depth
Sensor: sunlight | fields: depth, lon, reading, ts
Task: Retrieve lon from visibility with value above the AVG(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036707 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: depth, reading, lat, unit
Sensor: sunlight | fields: type, ts, reading, depth
Task: Fetch value from temperature where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036708 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, type, lon, level
Sensor: air_quality | fields: value, level, qc, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036709 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, unit, reading, lon
Sensor: drought_index | fields: type, reading, unit, lat
Task: Fetch lon from soil_moisture that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036710 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, unit, ts, qc
Sensor: air_quality | fields: lon, unit, ts, level
Task: Retrieve value from frost whose ts is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036711 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: value, type, qc, lon
Sensor: air_quality | fields: qc, lat, depth, unit
Task: Retrieve level from dew_point that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036712 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, value, lon, unit
Sensor: dew_point | fields: level, value, ts, depth
Task: Retrieve value from sunlight that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036713 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, ts, level, reading
Sensor: air_quality | fields: reading, value, level, ts
Task: Get depth from humidity where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036714 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, ts, qc, level
Sensor: turbidity | fields: unit, lon, ts, lat
Task: Retrieve value from lightning whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036715 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, level, reading, unit
Sensor: evaporation | fields: lon, lat, value, ts
Task: Get lat from rainfall where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036716 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, unit, value, reading
Sensor: temperature | fields: ts, value, depth, lat
Task: Get depth from pressure where reading exceeds the maximum value from temperature for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036717 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: type, depth, qc, unit
Sensor: visibility | fields: lat, lon, reading, value
Task: Get reading from evaporation where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036718 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: qc, lon, ts, value
Sensor: dew_point | fields: level, lon, lat, type
Task: Get lat from humidity where reading exceeds the total value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036719 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lon, reading, type
Sensor: dew_point | fields: type, value, lat, unit
Task: Fetch depth from evaporation that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036720 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, reading, lon, qc
Sensor: turbidity | fields: reading, unit, lat, lon
Task: Get lat from cloud_cover where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036721 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, unit, ts, lat
Sensor: lightning | fields: level, unit, lat, type
Task: Get level from cloud_cover where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036722 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, unit, depth, level
Sensor: wind_speed | fields: qc, unit, depth, value
Task: Get value from sunlight where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036723 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: ts, depth, lat, unit
Sensor: cloud_cover | fields: unit, depth, lat, lon
Task: Get reading from uv_index where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036724 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, lon, reading, unit
Sensor: wind_speed | fields: value, reading, ts, depth
Task: Retrieve value from drought_index with depth above the AVG(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036725 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, depth, level, reading
Sensor: air_quality | fields: type, ts, lon, reading
Task: Fetch level from pressure where depth is greater than the average of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036726 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, level, ts, value
Sensor: turbidity | fields: depth, qc, level, ts
Task: Retrieve level from wind_speed that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036727 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, ts, value, depth
Sensor: visibility | fields: ts, lat, reading, level
Task: Get reading from cloud_cover where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036728 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, value, qc
Sensor: rainfall | fields: lon, level, type, unit
Task: Retrieve level from dew_point with value above the MAX(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036729 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, type, reading, level
Sensor: dew_point | fields: ts, qc, depth, level
Task: Fetch depth from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036730 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, reading, type, level
Sensor: uv_index | fields: type, level, value, qc
Task: Fetch value from rainfall that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036731 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: unit, ts, lon, depth
Sensor: frost | fields: value, lon, type, depth
Task: Get depth from rainfall where reading exceeds the minimum value from frost for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036732 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: depth, lon, ts, unit
Sensor: frost | fields: reading, qc, unit, lon
Task: Retrieve depth from turbidity that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036733 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, level, qc
Sensor: soil_moisture | fields: reading, ts, type, depth
Task: Fetch level from air_quality where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036734 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, reading, value, lon
Sensor: lightning | fields: reading, level, qc, unit
Task: Retrieve value from air_quality whose depth is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036735 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, value, ts, depth
Sensor: pressure | fields: ts, value, qc, unit
Task: Retrieve lon from soil_moisture with reading above the MIN(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036736 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, depth, ts, reading
Sensor: rainfall | fields: lon, value, unit, depth
Task: Fetch value from uv_index where value is greater than the maximum of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036737 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, level, value, qc
Sensor: cloud_cover | fields: qc, ts, lat, value
Task: Fetch reading from wind_speed where depth is greater than the count of of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036738 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, qc, type, lon
Sensor: visibility | fields: value, reading, type, lat
Task: Get depth from air_quality where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036739 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: reading, value, lon, lat
Sensor: snow_depth | fields: unit, value, ts, qc
Task: Retrieve lat from turbidity that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036740 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, type, unit, value
Sensor: turbidity | fields: reading, value, unit, type
Task: Retrieve reading from humidity that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036741 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, unit, type, depth
Sensor: humidity | fields: level, depth, type, lon
Task: Retrieve level from cloud_cover whose ts is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036742 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lat, reading, level, ts
Sensor: drought_index | fields: level, qc, lat, unit
Task: Get level from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036743 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, value, type, lat
Sensor: air_quality | fields: depth, lon, value, ts
Task: Get value from dew_point where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036744 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, level, lon, unit
Sensor: soil_moisture | fields: lon, unit, level, qc
Task: Get lat from snow_depth where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036745 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lat, qc, reading
Sensor: temperature | fields: lat, lon, type, reading
Task: Retrieve depth from rainfall whose ts is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036746 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: unit, lon, type, reading
Sensor: uv_index | fields: value, lat, depth, ts
Task: Get level from humidity where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036747 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: ts, value, level, qc
Sensor: snow_depth | fields: level, depth, qc, reading
Task: Fetch value from drought_index where reading is greater than the count of of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036748 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: unit, value, lat, depth
Sensor: soil_moisture | fields: type, ts, value, depth
Task: Fetch depth from uv_index that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036749 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, value, ts, level
Sensor: frost | fields: depth, ts, value, lat
Task: Fetch lat from drought_index where value is greater than the count of of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036750 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: qc, depth, unit, reading
Sensor: turbidity | fields: qc, depth, lat, lon
Task: Retrieve depth from frost that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036751 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, unit, ts
Sensor: visibility | fields: value, type, lon, reading
Task: Get lon from sunlight where reading exceeds the total depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036752 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: depth, level, value, lon
Sensor: dew_point | fields: lat, type, unit, reading
Task: Get level from air_quality where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036753 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, type, qc, value
Sensor: air_quality | fields: value, unit, ts, lon
Task: Get lat from drought_index where reading exceeds the count of value from air_quality for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036754 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, ts, value, lat
Sensor: dew_point | fields: type, level, qc, lon
Task: Get level from soil_moisture where depth exceeds the maximum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036755 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, value, type, unit
Sensor: air_quality | fields: depth, qc, lon, unit
Task: Fetch lat from rainfall where reading is greater than the average of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036756 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lon, qc, lat, ts
Sensor: air_quality | fields: value, reading, qc, depth
Task: Retrieve level from uv_index whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036757 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: value, lat, type, qc
Sensor: cloud_cover | fields: value, qc, type, level
Task: Fetch value from temperature where ts exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036758 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, lat, reading, lon
Sensor: sunlight | fields: level, type, qc, ts
Task: Fetch value from rainfall where depth is greater than the count of of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036759 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: ts, qc, unit, lat
Sensor: temperature | fields: qc, reading, level, lat
Task: Retrieve lon from humidity with reading above the COUNT(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036760 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: level, type, ts, reading
Sensor: rainfall | fields: qc, type, value, depth
Task: Retrieve level from air_quality with reading above the MAX(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036761 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, ts, unit, depth
Sensor: evaporation | fields: lon, lat, qc, reading
Task: Retrieve level from drought_index whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036762 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, level, reading, type
Sensor: wind_speed | fields: type, lat, depth, ts
Task: Retrieve depth from sunlight whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036763 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lon, unit, qc
Sensor: frost | fields: value, lon, qc, reading
Task: Fetch lat from evaporation that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036764 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, lat, type, unit
Sensor: visibility | fields: value, ts, lat, type
Task: Retrieve lat from temperature whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036765 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: qc, depth, reading, ts
Sensor: pressure | fields: ts, qc, unit, lat
Task: Fetch value from rainfall where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036766 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: ts, type, lon, level
Sensor: rainfall | fields: lat, type, reading, unit
Task: Retrieve reading from lightning that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036767 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, type, ts, value
Sensor: evaporation | fields: type, lon, reading, level
Task: Fetch level from rainfall where depth is greater than the maximum of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036768 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: qc, unit, reading, type
Sensor: evaporation | fields: type, unit, level, value
Task: Get lat from turbidity where depth exceeds the count of depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036769 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: value, lon, reading, ts
Sensor: dew_point | fields: qc, level, ts, depth
Task: Retrieve value from wind_speed with value above the AVG(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036770 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, lon, ts, value
Sensor: soil_moisture | fields: value, lon, reading, qc
Task: Retrieve reading from humidity with value above the AVG(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036771 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: level, depth, type, unit
Sensor: humidity | fields: ts, reading, lat, lon
Task: Retrieve reading from wind_speed that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036772 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, lat, ts, unit
Sensor: humidity | fields: ts, depth, type, unit
Task: Fetch lat from visibility where value is greater than the maximum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036773 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, value, unit, level
Sensor: temperature | fields: ts, depth, lat, unit
Task: Fetch lat from soil_moisture that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036774 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, qc, lon, depth
Sensor: uv_index | fields: qc, level, unit, lon
Task: Get lon from wind_speed where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036775 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lat, level, ts
Sensor: visibility | fields: unit, lon, qc, type
Task: Fetch reading from rainfall where depth is greater than the count of of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036776 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, unit, reading, type
Sensor: snow_depth | fields: type, level, qc, depth
Task: Fetch level from uv_index where reading is greater than the total of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036777 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lon, level, unit, qc
Sensor: cloud_cover | fields: value, lon, ts, level
Task: Retrieve level from evaporation whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036778 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, type, unit, qc
Sensor: drought_index | fields: unit, lat, qc, value
Task: Retrieve value from frost with reading above the AVG(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036779 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: depth, unit, lon, type
Sensor: uv_index | fields: qc, lon, ts, depth
Task: Retrieve lat from drought_index with value above the MAX(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036780 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: reading, unit, type, depth
Sensor: snow_depth | fields: lat, level, lon, type
Task: Get depth from visibility where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036781 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: ts, qc, lon, unit
Sensor: air_quality | fields: level, value, unit, depth
Task: Retrieve value from dew_point with depth above the AVG(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036782 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, lon, unit, qc
Sensor: snow_depth | fields: lat, type, reading, level
Task: Retrieve lon from pressure that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036783 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, lat, type, level
Sensor: turbidity | fields: ts, depth, type, lon
Task: Retrieve value from cloud_cover with depth above the MIN(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036784 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, lat, value, level
Sensor: soil_moisture | fields: qc, type, reading, level
Task: Get lat from turbidity where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036785 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, unit, type, level
Sensor: wind_speed | fields: value, unit, lon, level
Task: Fetch lat from snow_depth that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036786 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, depth, type, lat
Sensor: temperature | fields: ts, depth, level, qc
Task: Retrieve level from pressure whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036787 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, qc, ts, value
Sensor: humidity | fields: ts, reading, value, lon
Task: Retrieve lon from dew_point with value above the MAX(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036788 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, reading, qc, lat
Sensor: snow_depth | fields: qc, unit, lon, type
Task: Fetch lon from temperature where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036789 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, type, depth, qc
Sensor: pressure | fields: ts, type, unit, level
Task: Retrieve level from uv_index with reading above the COUNT(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036790 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, value, reading, lon
Sensor: humidity | fields: lon, value, depth, qc
Task: Get depth from visibility where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036791 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, reading, lat, qc
Sensor: cloud_cover | fields: depth, unit, level, type
Task: Fetch depth from uv_index where reading is greater than the total of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036792 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, lat, depth, ts
Sensor: cloud_cover | fields: qc, level, unit, lat
Task: Fetch reading from dew_point where ts exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036793 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: level, depth, lon, qc
Sensor: uv_index | fields: unit, type, depth, qc
Task: Retrieve lat from humidity that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036794 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, level, unit, reading
Sensor: humidity | fields: lon, ts, depth, reading
Task: Retrieve lat from soil_moisture with reading above the AVG(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036795 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: qc, lat, ts, level
Sensor: pressure | fields: reading, lat, unit, type
Task: Get lat from uv_index where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036796 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, ts, depth, value
Sensor: temperature | fields: depth, lat, reading, lon
Task: Get level from sunlight where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_036797 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, level, lon, unit
Sensor: turbidity | fields: reading, level, value, unit
Task: Get reading from soil_moisture where reading exceeds the minimum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036798 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, lat, level
Sensor: humidity | fields: qc, ts, reading, depth
Task: Get value from soil_moisture where value exceeds the maximum depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_036799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.