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: cloud_cover | code: ref | fields: level, ts, qc, unit
Sensor: humidity | fields: lon, unit, ts, level
Task: Get level from cloud_cover where value exceeds the average value from humidity for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080900 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, depth, qc, value
Sensor: uv_index | fields: qc, lon, depth, type
Task: Retrieve depth from evaporation whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080901 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, qc, unit, depth
Sensor: turbidity | fields: value, lon, unit, depth
Task: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080902 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, depth, lon, unit
Sensor: pressure | fields: lon, reading, type, depth
Task: Retrieve lat from visibility with value above the MIN(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080903 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, qc, unit, lat
Sensor: air_quality | fields: type, lat, value, reading
Task: Get lat from dew_point where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080904 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, lon, ts, value
Sensor: sunlight | fields: ts, level, reading, value
Task: Fetch depth from humidity where depth is greater than the average of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080905 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, depth, qc, level
Sensor: rainfall | fields: reading, level, ts, qc
Task: Get depth from dew_point where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080906 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, lon, qc, reading
Sensor: turbidity | fields: type, value, lon, ts
Task: Fetch depth from pressure where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080907 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lon, lat, unit
Sensor: lightning | fields: value, level, lon, ts
Task: Retrieve depth from drought_index whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080908 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: type, unit, ts, lon
Sensor: lightning | fields: level, depth, lon, value
Task: Retrieve reading from turbidity whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080909 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, level, unit, lon
Sensor: turbidity | fields: qc, ts, type, depth
Task: Fetch reading from soil_moisture where unit exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080910 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: ts, level, type, lat
Sensor: dew_point | fields: qc, depth, unit, level
Task: Get lat from turbidity where qc appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080911 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: value, type, level, reading
Sensor: turbidity | fields: unit, ts, level, qc
Task: Fetch level from rainfall where depth is greater than the average of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080912 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, qc, reading, type
Sensor: dew_point | fields: lat, depth, qc, type
Task: Retrieve value from humidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080913 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: level, value, depth, reading
Sensor: uv_index | fields: unit, depth, lon, type
Task: Get lat from temperature where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080914 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, lat, lon, unit
Sensor: pressure | fields: level, unit, lat, qc
Task: Get lon from cloud_cover where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080915 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, reading, ts
Sensor: turbidity | fields: level, lat, unit, type
Task: Get level from cloud_cover where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080916 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: value, lon, ts, type
Sensor: dew_point | fields: value, level, lat, ts
Task: Retrieve lat from lightning whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080917 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: qc, value, lon, level
Sensor: wind_speed | fields: reading, lon, unit, level
Task: Retrieve depth from sunlight with depth above the MIN(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
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": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080918 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, type, unit, ts
Sensor: wind_speed | fields: lon, unit, qc, depth
Task: Fetch lon from cloud_cover where ts exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080919 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: value, unit, level, depth
Sensor: soil_moisture | fields: value, lat, depth, type
Task: Fetch level from rainfall where type exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080920 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, level, value, reading
Sensor: sunlight | fields: ts, qc, level, reading
Task: Fetch value from wind_speed that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080921 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: qc, level, unit, ts
Sensor: temperature | fields: lon, reading, level, type
Task: Retrieve level from sunlight that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080922 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, depth, level, type
Sensor: wind_speed | fields: reading, ts, lat, type
Task: Retrieve value from humidity with depth above the COUNT(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080923 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, ts, depth
Sensor: drought_index | fields: type, ts, unit, depth
Task: Get depth from cloud_cover where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080924 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, depth, ts, level
Sensor: temperature | fields: type, level, unit, lon
Task: Get lat from drought_index where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080925 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, depth, value, type
Sensor: air_quality | fields: lon, unit, level, depth
Task: Get lat from evaporation where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080926 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, qc, level, lon
Sensor: snow_depth | fields: lon, type, level, unit
Task: Get lon from soil_moisture where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080927 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, lon, type, ts
Sensor: rainfall | fields: unit, level, type, depth
Task: Retrieve reading from lightning with value above the MAX(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_080928 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, ts, reading, value
Sensor: lightning | fields: qc, value, depth, unit
Task: Retrieve lon 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="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080929 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, depth, ts, lon
Sensor: evaporation | fields: unit, reading, ts, level
Task: Retrieve level from uv_index whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080930 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, qc, type, lat
Sensor: dew_point | fields: lon, unit, reading, depth
Task: Get depth from evaporation where depth exceeds the maximum depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080931 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lat, reading, unit, type
Sensor: lightning | fields: reading, lat, value, level
Task: Fetch value from sunlight where value is greater than the maximum of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080932 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, reading, depth, level
Sensor: evaporation | fields: value, type, ts, depth
Task: Get level from drought_index where value exceeds the count of reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080933 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, value, level, unit
Sensor: visibility | fields: ts, unit, qc, lat
Task: Fetch depth from drought_index where value is greater than the average of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080934 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, lon, lat, level
Sensor: pressure | fields: value, unit, ts, reading
Task: Fetch depth from turbidity where value is greater than the average of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080935 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, lat, depth, level
Sensor: evaporation | fields: lat, unit, value, depth
Task: Fetch depth from snow_depth where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080936 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, reading, type, lon
Sensor: temperature | fields: lon, level, lat, reading
Task: Fetch lon from pressure that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080937 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, type, depth, level
Sensor: uv_index | fields: reading, type, lat, unit
Task: Get value from wind_speed where depth exceeds the minimum depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080938 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, value, unit, lat
Sensor: wind_speed | fields: lat, depth, lon, unit
Task: Get lon from lightning where depth exceeds the minimum reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080939 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, ts, lat, qc
Sensor: drought_index | fields: type, lat, reading, unit
Task: Fetch lat from uv_index that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080940 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, level, unit, lon
Sensor: snow_depth | fields: qc, type, lat, lon
Task: Fetch lat from cloud_cover where value is greater than the maximum of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080941 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, lon, qc, level
Sensor: soil_moisture | fields: lat, reading, unit, lon
Task: Get value from dew_point where depth exceeds the total reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080942 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: type, lon, qc, value
Sensor: visibility | fields: type, reading, qc, lat
Task: Fetch value from dew_point where qc exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080943 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, level, lon, value
Sensor: evaporation | fields: lat, depth, reading, ts
Task: Fetch reading from cloud_cover where value is greater than the minimum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080944 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, level, lon, depth
Sensor: snow_depth | fields: value, depth, reading, type
Task: Fetch reading from turbidity where value is greater than the minimum of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080945 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: depth, type, value, unit
Sensor: soil_moisture | fields: value, ts, unit, level
Task: Fetch value from uv_index where depth is greater than the total of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080946 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, qc, depth, lon
Sensor: wind_speed | fields: value, unit, reading, level
Task: Fetch reading from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080947 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, qc, lon, value
Sensor: pressure | fields: type, depth, level, lon
Task: Fetch lat from sunlight where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080948 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, value, lon, lat
Sensor: evaporation | fields: unit, depth, lat, ts
Task: Get reading from cloud_cover where depth exceeds the count of depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080949 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, unit, value, depth
Sensor: humidity | fields: lat, lon, reading, type
Task: Get lat from visibility where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080950 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, reading, value, unit
Sensor: turbidity | fields: lat, lon, qc, level
Task: Fetch reading from snow_depth where depth is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080951 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, level, ts, type
Sensor: drought_index | fields: lon, reading, type, qc
Task: Retrieve value from cloud_cover with depth above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080952 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, qc, reading, depth
Sensor: uv_index | fields: lon, lat, ts, unit
Task: Fetch lon from sunlight that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080953 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, level, ts
Sensor: humidity | fields: unit, level, lon, reading
Task: Get value from soil_moisture where reading exceeds the count of reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080954 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: ts, value, lon, qc
Sensor: pressure | fields: value, lat, unit, depth
Task: Retrieve value from air_quality that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080955 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, reading, lon, lat
Sensor: temperature | fields: reading, unit, level, ts
Task: Get lat from cloud_cover where value exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080956 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, value, depth, lat
Sensor: sunlight | fields: value, reading, depth, lon
Task: Retrieve lon from cloud_cover with reading above the MIN(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080957 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, depth, type
Sensor: turbidity | fields: reading, level, lat, unit
Task: Retrieve lat from evaporation whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080958 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, lat, ts, reading
Sensor: drought_index | fields: reading, type, unit, qc
Task: Fetch depth from humidity where depth is greater than the average of depth in drought_index for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"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_080959 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, depth, reading, type
Sensor: drought_index | fields: depth, level, value, ts
Task: Fetch depth from lightning where value is greater than the total of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080960 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, lat, depth, level
Sensor: lightning | fields: ts, qc, reading, lat
Task: Get lon from turbidity where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080961 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, level, lon, depth
Sensor: turbidity | fields: level, lat, lon, depth
Task: Retrieve lon from uv_index with value above the COUNT(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080962 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, lon, type, ts
Sensor: air_quality | fields: depth, reading, unit, type
Task: Retrieve reading from cloud_cover that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080963 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, lon, lat, qc
Sensor: sunlight | fields: qc, type, lat, depth
Task: Retrieve lon from temperature with depth above the AVG(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080964 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, type, value, reading
Sensor: soil_moisture | fields: lat, unit, reading, type
Task: Retrieve level from dew_point with value above the MIN(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080965 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, unit, value, level
Sensor: visibility | fields: level, ts, unit, reading
Task: Fetch level from pressure where reading is greater than the minimum of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080966 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, value, type, reading
Sensor: pressure | fields: qc, reading, lat, depth
Task: Get depth from drought_index where reading exceeds the maximum depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080967 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: level, ts, value, lat
Sensor: frost | fields: reading, level, qc, ts
Task: Fetch reading from dew_point where qc exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080968 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, depth, lon, reading
Sensor: cloud_cover | fields: ts, value, unit, reading
Task: Get reading from turbidity where depth exceeds the total reading from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080969 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, lat, qc
Sensor: evaporation | fields: qc, type, unit, ts
Task: Retrieve lon from sunlight with reading above the MIN(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080970 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, unit, value, lon
Sensor: drought_index | fields: value, level, type, qc
Task: Retrieve reading from temperature that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080971 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, ts, type, value
Sensor: visibility | fields: lon, level, depth, value
Task: Get lon from dew_point where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080972 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, reading, qc, value
Sensor: visibility | fields: ts, reading, lon, depth
Task: Fetch lat from snow_depth where depth is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080973 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, value, level, ts
Sensor: air_quality | fields: depth, lon, type, value
Task: Get level from turbidity where depth exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080974 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, depth, unit, lon
Sensor: air_quality | fields: depth, lon, reading, ts
Task: Retrieve value from lightning that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080975 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, value, unit, level
Sensor: soil_moisture | fields: ts, value, level, lon
Task: Get reading from evaporation where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080976 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, lat, value
Sensor: frost | fields: lat, ts, level, reading
Task: Get lon from turbidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080977 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, value, lon, depth
Sensor: turbidity | fields: ts, depth, unit, reading
Task: Retrieve lat from air_quality whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080978 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, reading, level, lat
Sensor: dew_point | fields: unit, qc, level, lon
Task: Get level from rainfall where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080979 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, type, value, lon
Sensor: rainfall | fields: value, reading, ts, level
Task: Retrieve level from wind_speed whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080980 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, ts, lat, level
Sensor: humidity | fields: lon, type, lat, value
Task: Retrieve lat from evaporation with value above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080981 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, depth, unit, value
Sensor: cloud_cover | fields: type, reading, unit, ts
Task: Retrieve depth from dew_point with reading above the MIN(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080982 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, depth, reading, ts
Sensor: frost | fields: level, lon, depth, type
Task: Fetch reading from snow_depth where ts exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080983 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: ts, reading, type, depth
Sensor: rainfall | fields: value, unit, lon, lat
Task: Retrieve reading from temperature that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080984 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, reading, value, qc
Sensor: turbidity | fields: lat, value, level, reading
Task: Get depth from dew_point where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080985 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, lon, level, value
Sensor: temperature | fields: reading, ts, unit, value
Task: Retrieve lon from evaporation whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080986 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, lon, qc, type
Sensor: lightning | fields: depth, value, unit, qc
Task: Get level from wind_speed where depth exceeds the total depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080987 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, depth, level, unit
Sensor: uv_index | fields: type, lon, depth, lat
Task: Retrieve lat from sunlight with depth above the AVG(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080988 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: qc, unit, reading, value
Sensor: wind_speed | fields: value, depth, lat, level
Task: Get lat from humidity where reading exceeds the minimum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080989 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, lat, lon, value
Sensor: rainfall | fields: lon, depth, qc, unit
Task: Fetch level from cloud_cover where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080990 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, lon, ts, unit
Sensor: visibility | fields: level, reading, depth, type
Task: Fetch value from lightning where depth is greater than the maximum of value in visibility for matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080991 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, value, unit, qc
Sensor: evaporation | fields: value, type, lon, ts
Task: Retrieve reading from soil_moisture with reading above the SUM(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"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_080992 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, type, qc, lat
Sensor: visibility | fields: lon, lat, unit, qc
Task: Fetch value from pressure where depth is greater than the count of of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080993 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, reading, lon, type
Sensor: pressure | fields: unit, reading, lat, value
Task: Fetch value from soil_moisture that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080994 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, value, unit, qc
Sensor: evaporation | fields: ts, level, unit, qc
Task: Get depth from soil_moisture where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080995 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, lat, level, value
Sensor: pressure | fields: type, level, unit, value
Task: Fetch value from turbidity where value is greater than the total of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080996 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, lon, lat, level
Sensor: air_quality | fields: lon, level, depth, value
Task: Fetch depth from frost where depth is greater than the maximum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080997 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, qc, type, lat
Sensor: air_quality | fields: type, lon, unit, reading
Task: Fetch lon from snow_depth where reading is greater than the total of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080998 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, level, lon, depth
Sensor: air_quality | fields: qc, lon, depth, value
Task: Get depth from pressure where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.