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: visibility | code: thr | fields: ts, lat, reading, depth
Sensor: wind_speed | fields: unit, reading, lon, level
Task: Fetch lon from visibility where value is greater than the total of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010700 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, value, unit, lon
Sensor: sunlight | fields: lon, unit, level, reading
Task: Fetch lat from soil_moisture where value is greater than the minimum of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010701 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, lat, lon, type
Sensor: air_quality | fields: lat, qc, reading, level
Task: Retrieve lon from dew_point that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010702 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, depth, reading
Sensor: rainfall | fields: reading, value, lat, unit
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010703 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, lon, value, reading
Sensor: air_quality | fields: depth, unit, reading, type
Task: Retrieve lon from dew_point with depth above the AVG(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010704 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, level, depth, unit
Sensor: uv_index | fields: qc, unit, level, ts
Task: Fetch level from sunlight where value is greater than the total of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010705 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: depth, value, ts, unit
Sensor: cloud_cover | fields: reading, value, lat, qc
Task: Retrieve value from visibility whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010706 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lat, level, qc, value
Sensor: frost | fields: depth, type, ts, qc
Task: Retrieve lon from evaporation whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010707 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lon, qc, reading, value
Sensor: lightning | fields: reading, lon, unit, type
Task: Get reading from visibility where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010708 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, value, qc
Sensor: temperature | fields: lon, level, unit, lat
Task: Get lon from evaporation where depth exceeds the average reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010709 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, ts, type, lat
Sensor: evaporation | fields: lon, level, qc, ts
Task: Retrieve value from soil_moisture whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010710 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: qc, value, lat, reading
Sensor: sunlight | fields: ts, value, lon, reading
Task: Retrieve lon from evaporation whose ts is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010711 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, qc, level, lat
Sensor: temperature | fields: depth, type, unit, level
Task: Get value from cloud_cover where depth exceeds the average value from temperature for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010712 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, level, lat, qc
Sensor: dew_point | fields: qc, value, reading, level
Task: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"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_010713 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, lat, qc, depth
Sensor: lightning | fields: depth, qc, unit, level
Task: Retrieve reading from rainfall with depth above the MAX(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010714 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: value, depth, reading, level
Sensor: dew_point | fields: qc, lon, unit, ts
Task: Get level from visibility where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010715 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, lat, reading, qc
Sensor: cloud_cover | fields: type, ts, value, lat
Task: Fetch lat from evaporation where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010716 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: ts, depth, level, reading
Sensor: snow_depth | fields: depth, lat, level, value
Task: Retrieve lat from sunlight whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010717 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, level, ts, depth
Sensor: sunlight | fields: unit, type, reading, lat
Task: Get level from frost where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010718 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, reading, qc, value
Sensor: visibility | fields: reading, unit, ts, depth
Task: Retrieve lat from drought_index with value above the AVG(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010719 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, reading, value, depth
Sensor: visibility | fields: reading, lat, depth, type
Task: Retrieve value from lightning with reading above the AVG(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010720 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, unit, ts, level
Sensor: snow_depth | fields: ts, reading, depth, level
Task: Retrieve value from soil_moisture with value above the SUM(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010721 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, reading, qc, unit
Sensor: wind_speed | fields: depth, value, lon, ts
Task: Get level from humidity where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010722 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, unit, qc, type
Sensor: rainfall | fields: type, lat, unit, level
Task: Retrieve value from visibility with depth above the MIN(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010723 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, unit, level, ts
Sensor: drought_index | fields: type, lat, ts, depth
Task: Fetch depth from sunlight that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010724 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, unit, type, level
Sensor: frost | fields: lon, depth, level, qc
Task: Retrieve level from temperature whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010725 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, unit, lon, level
Sensor: dew_point | fields: lat, reading, ts, level
Task: Get lon from pressure where reading exceeds the count of depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010726 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: ts, lat, level, type
Sensor: uv_index | fields: type, lat, qc, reading
Task: Get lon from frost where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010727 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, qc, value
Sensor: cloud_cover | fields: depth, lon, qc, reading
Task: Fetch depth from air_quality that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010728 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, depth, lat, type
Sensor: soil_moisture | fields: type, unit, reading, ts
Task: Fetch lon from sunlight where qc exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010729 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, type, value, reading
Sensor: dew_point | fields: level, qc, depth, type
Task: Retrieve level from soil_moisture that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010730 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, ts, unit, lon
Sensor: humidity | fields: unit, level, ts, lon
Task: Fetch lat from snow_depth that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010731 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, reading, ts, lat
Sensor: temperature | fields: lat, value, reading, qc
Task: Fetch lon from sunlight that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010732 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, level, qc, type
Sensor: sunlight | fields: type, depth, lon, value
Task: Fetch depth from turbidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010733 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, ts, lon, lat
Sensor: air_quality | fields: lon, reading, value, unit
Task: Fetch lat from visibility that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010734 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: unit, lat, value, depth
Sensor: snow_depth | fields: qc, type, ts, unit
Task: Retrieve lat from uv_index with depth above the MAX(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010735 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, value, reading, type
Sensor: temperature | fields: level, unit, depth, qc
Task: Fetch lat from snow_depth that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010736 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, depth, qc, level
Sensor: frost | fields: value, qc, reading, lon
Task: Fetch value from wind_speed where depth is greater than the minimum of value in frost for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010737 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, type, qc, depth
Sensor: wind_speed | fields: value, lon, depth, lat
Task: Fetch value from soil_moisture that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010738 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, ts, type, lat
Sensor: humidity | fields: ts, value, level, lat
Task: Fetch level from lightning that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010739 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: depth, unit, type, qc
Sensor: soil_moisture | fields: ts, unit, type, lon
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010740 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, reading, level, unit
Sensor: frost | fields: lat, ts, qc, level
Task: Fetch level from rainfall that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010741 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, qc, depth, unit
Sensor: air_quality | fields: reading, lat, value, ts
Task: Fetch lat from frost that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010742 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: ts, qc, lon, depth
Sensor: turbidity | fields: lon, level, qc, unit
Task: Get lat from rainfall where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010743 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, ts, lon, type
Sensor: dew_point | fields: type, qc, lon, unit
Task: Retrieve value from turbidity with depth above the AVG(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010744 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, depth, value, lon
Sensor: soil_moisture | fields: level, lat, depth, qc
Task: Fetch level from sunlight where depth is greater than the minimum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010745 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, value, reading, lon
Sensor: air_quality | fields: depth, qc, ts, lon
Task: Get level from cloud_cover where value exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010746 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: unit, reading, value, ts
Sensor: pressure | fields: level, type, lat, reading
Task: Retrieve reading from air_quality whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010747 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, reading, unit, qc
Sensor: evaporation | fields: qc, ts, value, lon
Task: Retrieve depth from sunlight whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010748 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, depth, lon, type
Sensor: turbidity | fields: lat, ts, value, depth
Task: Fetch lon from humidity where depth is greater than the minimum of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010749 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, value, lat, level
Sensor: snow_depth | fields: qc, lat, type, level
Task: Retrieve lat from uv_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010750 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, level, ts, lon
Sensor: turbidity | fields: type, qc, lat, reading
Task: Retrieve reading from sunlight that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010751 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, lat, level, type
Sensor: air_quality | fields: lat, value, ts, level
Task: Get value from humidity where depth exceeds the minimum value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010752 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, ts, lat, qc
Sensor: air_quality | fields: unit, reading, lat, qc
Task: Get lat from sunlight where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010753 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: level, unit, value, qc
Sensor: temperature | fields: qc, value, lon, level
Task: Retrieve level from humidity with reading above the SUM(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010754 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, depth, value, unit
Sensor: rainfall | fields: depth, type, reading, unit
Task: Retrieve reading from cloud_cover whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010755 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, lat, level, qc
Sensor: lightning | fields: ts, level, lat, type
Task: Fetch lon from pressure where value is greater than the maximum of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010756 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, level, ts, lat
Sensor: visibility | fields: value, depth, lat, reading
Task: Retrieve reading from snow_depth with value above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010757 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, depth, lon, lat
Sensor: pressure | fields: value, lon, level, qc
Task: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010758 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, level, lat, lon
Sensor: rainfall | fields: value, reading, type, unit
Task: Get lat from wind_speed where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010759 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, qc, lon, reading
Sensor: turbidity | fields: ts, lat, reading, lon
Task: Retrieve reading from rainfall whose type is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010760 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, qc, ts, lon
Sensor: cloud_cover | fields: type, ts, lon, lat
Task: Retrieve depth from wind_speed whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010761 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, unit, value, depth
Sensor: cloud_cover | fields: type, lat, lon, depth
Task: Fetch depth from visibility that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010762 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, reading, type, value
Sensor: rainfall | fields: ts, reading, lat, value
Task: Fetch depth from drought_index that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010763 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: reading, value, lat, qc
Sensor: snow_depth | fields: unit, ts, lon, depth
Task: Retrieve level from evaporation with depth above the COUNT(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010764 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, reading, type, qc
Sensor: air_quality | fields: value, depth, qc, unit
Task: Retrieve level from turbidity with reading above the AVG(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "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": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010765 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: reading, value, ts, qc
Sensor: uv_index | fields: lon, unit, qc, value
Task: Fetch lat from air_quality where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010766 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: level, qc, lon, depth
Sensor: wind_speed | fields: reading, ts, qc, value
Task: Get value from lightning where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010767 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, level, value, reading
Sensor: rainfall | fields: unit, type, qc, value
Task: Fetch reading from drought_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010768 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, value, level, ts
Sensor: uv_index | fields: level, lon, ts, reading
Task: Get level from cloud_cover where unit appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010769 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, depth, type, lon
Sensor: snow_depth | fields: type, value, level, depth
Task: Get depth from humidity where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010770 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, unit, level, ts
Sensor: dew_point | fields: unit, level, depth, qc
Task: Retrieve level from lightning whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010771 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, reading, type, ts
Sensor: rainfall | fields: level, ts, reading, qc
Task: Retrieve lon from temperature whose ts is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010772 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, type, level, unit
Sensor: dew_point | fields: lat, depth, lon, type
Task: Get lon from drought_index where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010773 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, qc, lon, lat
Sensor: temperature | fields: value, qc, level, type
Task: Get lat from snow_depth where reading exceeds the total value from temperature for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010774 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, reading, level, depth
Sensor: soil_moisture | fields: unit, level, value, reading
Task: Get value from snow_depth where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010775 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: level, lon, reading, ts
Sensor: temperature | fields: lat, value, lon, unit
Task: Get depth from sunlight where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010776 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, ts, value, reading
Sensor: sunlight | fields: qc, unit, level, ts
Task: Retrieve level from pressure with value above the AVG(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010777 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, value, lat, reading
Sensor: temperature | fields: qc, reading, lat, type
Task: Get lon from turbidity where value exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010778 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: lon, qc, type, depth
Sensor: snow_depth | fields: type, value, lon, lat
Task: Retrieve lon from sunlight that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010779 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, value, ts
Sensor: snow_depth | fields: qc, unit, depth, value
Task: Retrieve lat from visibility that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010780 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, lat, level, value
Sensor: pressure | fields: level, type, lon, unit
Task: Get level from cloud_cover where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010781 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: qc, lat, type, reading
Sensor: air_quality | fields: unit, ts, lon, qc
Task: Get lat from visibility where depth exceeds the average depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010782 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, reading, ts, value
Sensor: air_quality | fields: value, lon, unit, lat
Task: Fetch value from soil_moisture where reading is greater than the average of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010783 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: reading, value, lat, type
Sensor: turbidity | fields: lon, ts, lat, type
Task: Fetch lon from pressure where value is greater than the count of of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010784 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: type, value, lon, lat
Sensor: turbidity | fields: level, reading, lat, qc
Task: Get lat from visibility where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010785 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, value, type, level
Sensor: soil_moisture | fields: lat, qc, lon, type
Task: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010786 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: type, value, lat, qc
Sensor: turbidity | fields: qc, unit, type, reading
Task: Fetch reading from pressure where value is greater than the total of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010787 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, qc, value, level
Sensor: evaporation | fields: lon, ts, reading, type
Task: Get value from pressure where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010788 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, value, unit, ts
Sensor: sunlight | fields: reading, qc, lon, unit
Task: Get reading from temperature where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010789 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, value, lon, depth
Sensor: cloud_cover | fields: reading, value, unit, level
Task: Fetch reading from lightning that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010790 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, type, depth, value
Sensor: soil_moisture | fields: depth, level, value, lon
Task: Retrieve depth from lightning that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010791 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: unit, level, reading, value
Sensor: lightning | fields: qc, level, lon, value
Task: Fetch lat from drought_index that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010792 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, value, type, reading
Sensor: snow_depth | fields: lat, ts, reading, lon
Task: Retrieve level from turbidity that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010793 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, qc, ts, type
Sensor: cloud_cover | fields: level, lat, ts, type
Task: Get depth from dew_point where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010794 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: unit, level, ts, value
Sensor: dew_point | fields: unit, lat, ts, reading
Task: Fetch value from uv_index that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010795 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, lat, value, unit
Sensor: cloud_cover | fields: value, level, qc, lat
Task: Get value from wind_speed where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010796 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, ts, lat
Sensor: turbidity | fields: level, depth, qc, unit
Task: Retrieve depth from sunlight with value above the SUM(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010797 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, depth, reading, level
Sensor: cloud_cover | fields: type, value, unit, reading
Task: Fetch lon from drought_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010798 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, level, qc, depth
Sensor: turbidity | fields: depth, qc, lon, reading
Task: Retrieve level from sunlight with depth above the SUM(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.