variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, lat, reading, type
Sensor: uv_index | fields: lon, qc, lat, reading
Task: Fetch lon from cloud_cover where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020100 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, lon, ts, type
Sensor: air_quality | fields: qc, lon, level, depth
Task: Retrieve lat from snow_depth whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020101 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: unit, level, reading, qc
Sensor: dew_point | fields: ts, reading, value, lon
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020102 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, value, unit, ts
Sensor: sunlight | fields: value, level, type, lat
Task: Get level from drought_index where value exceeds the average depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020103 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, unit, reading, lat
Sensor: snow_depth | fields: lon, level, lat, unit
Task: Fetch reading from lightning where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020104 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, qc, value, lon
Sensor: lightning | fields: qc, type, level, lat
Task: Retrieve lon from evaporation with depth above the MAX(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020105 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, unit, level, reading
Sensor: snow_depth | fields: depth, value, ts, unit
Task: Get level from air_quality where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020106 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, value, ts, level
Sensor: turbidity | fields: lon, level, reading, qc
Task: Retrieve depth from humidity with depth above the MAX(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020107 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: type, lon, ts, value
Sensor: cloud_cover | fields: qc, level, type, ts
Task: Fetch lat from turbidity where depth exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020108 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, lon, value
Sensor: rainfall | fields: type, value, level, lat
Task: Fetch lat from sunlight where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020109 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, reading, lat
Sensor: dew_point | fields: depth, value, lon, ts
Task: Fetch reading from visibility where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020110 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, level, type, qc
Sensor: soil_moisture | fields: reading, lon, qc, ts
Task: Fetch depth from snow_depth where ts exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020111 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, type, qc, depth
Sensor: rainfall | fields: qc, ts, value, unit
Task: Retrieve reading from dew_point with reading above the AVG(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020112 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: type, ts, level, unit
Sensor: frost | fields: lon, unit, ts, value
Task: Get level from temperature where value exceeds the count of value from frost for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020113 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, qc, type, reading
Sensor: rainfall | fields: depth, qc, ts, lat
Task: Retrieve level from turbidity whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020114 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: ts, unit, type, reading
Sensor: visibility | fields: reading, lon, lat, ts
Task: Fetch lat from frost that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020115 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, value, ts, level
Sensor: snow_depth | fields: qc, lon, unit, lat
Task: Fetch value from frost where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020116 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: value, lon, lat, unit
Sensor: uv_index | fields: lon, type, unit, qc
Task: Retrieve lon from lightning whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020117 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lat, ts, reading, qc
Sensor: drought_index | fields: ts, qc, lat, unit
Task: Get reading from rainfall where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020118 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, lon, value, level
Sensor: sunlight | fields: lon, depth, lat, level
Task: Retrieve depth from lightning that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020119 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, ts, type, unit
Sensor: sunlight | fields: lat, reading, ts, qc
Task: Get lat from wind_speed where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020120 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, level, qc, ts
Sensor: visibility | fields: type, ts, qc, unit
Task: Fetch lon from air_quality where reading is greater than the maximum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020121 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, type, depth, level
Sensor: humidity | fields: value, reading, level, ts
Task: Retrieve lon from evaporation that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020122 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, depth, qc, unit
Sensor: frost | fields: type, lat, lon, reading
Task: Fetch value from evaporation where value is greater than the maximum of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020123 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, reading, unit, depth
Sensor: turbidity | fields: qc, lat, reading, unit
Task: Fetch depth from drought_index where value is greater than the average of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020124 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: level, value, unit, type
Sensor: cloud_cover | fields: reading, qc, ts, depth
Task: Get reading from lightning where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020125 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: value, lat, unit, reading
Sensor: frost | fields: lat, level, unit, value
Task: Retrieve depth from sunlight whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020126 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: reading, lon, depth, unit
Sensor: snow_depth | fields: lon, type, depth, level
Task: Retrieve value from drought_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020127 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, lon, qc, value
Sensor: snow_depth | fields: qc, lon, level, type
Task: Retrieve depth from humidity that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020128 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, lat, level, qc
Sensor: drought_index | fields: qc, lon, unit, level
Task: Retrieve lon from temperature that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020129 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, level, type, lon
Sensor: snow_depth | fields: depth, lat, type, reading
Task: Retrieve lat from frost whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020130 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, value, reading, type
Sensor: soil_moisture | fields: lon, depth, type, reading
Task: Fetch value from pressure where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020131 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: qc, depth, lat, unit
Sensor: visibility | fields: depth, type, ts, value
Task: Retrieve lat from sunlight with reading above the SUM(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020132 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, unit, qc, lon
Sensor: temperature | fields: lat, reading, qc, depth
Task: Fetch reading from sunlight where value is greater than the total of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020133 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, unit, qc, lat
Sensor: soil_moisture | fields: ts, value, type, lon
Task: Fetch lon from evaporation where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020134 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, depth, ts, value
Sensor: sunlight | fields: level, value, ts, unit
Task: Retrieve lon from lightning whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020135 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, lon, type, reading
Sensor: frost | fields: lon, value, lat, ts
Task: Fetch reading from humidity that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020136 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, level, reading, lon
Sensor: temperature | fields: value, ts, depth, level
Task: Get depth from pressure where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020137 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, unit, depth, ts
Sensor: soil_moisture | fields: qc, type, lon, level
Task: Retrieve reading from sunlight whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020138 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, type, qc, lat
Sensor: uv_index | fields: level, unit, depth, value
Task: Fetch depth from soil_moisture where ts exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020139 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, value, ts, qc
Sensor: soil_moisture | fields: reading, ts, qc, value
Task: Retrieve level from visibility with depth above the MIN(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020140 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, value, lat, depth
Sensor: wind_speed | fields: ts, unit, type, depth
Task: Get level from soil_moisture where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020141 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, lon, lat
Sensor: drought_index | fields: qc, unit, lon, type
Task: Fetch reading from turbidity where depth is greater than the average of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020142 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: unit, value, level, reading
Sensor: rainfall | fields: qc, lat, lon, level
Task: Fetch value from visibility where depth is greater than the maximum of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020143 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lon, lat, type
Sensor: pressure | fields: ts, reading, depth, value
Task: Get lat from evaporation where value exceeds the minimum value from pressure for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020144 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, depth, qc
Sensor: cloud_cover | fields: type, reading, depth, ts
Task: Retrieve depth from humidity whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020145 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, unit, type, reading
Sensor: air_quality | fields: type, depth, reading, level
Task: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020146 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, lat, level, reading
Sensor: turbidity | fields: value, qc, ts, type
Task: Retrieve lat from rainfall with value above the COUNT(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020147 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, type, lat, depth
Sensor: sunlight | fields: qc, ts, reading, unit
Task: Get reading from pressure where reading exceeds the minimum value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020148 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, unit, reading, type
Sensor: frost | fields: unit, level, qc, type
Task: Get lon from cloud_cover where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020149 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: depth, value, unit, reading
Sensor: temperature | fields: qc, lat, lon, value
Task: Retrieve lon from humidity with reading above the MAX(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020150 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, lat, reading, unit
Sensor: cloud_cover | fields: value, lon, reading, ts
Task: Retrieve lon from temperature with value above the MIN(value) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020151 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, unit, reading, type
Sensor: visibility | fields: unit, value, qc, lon
Task: Fetch depth from sunlight where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020152 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, ts, unit, reading
Sensor: lightning | fields: type, qc, lon, unit
Task: Fetch depth from pressure that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020153 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, ts, lon, type
Sensor: wind_speed | fields: qc, level, reading, value
Task: Retrieve lat from soil_moisture with value above the SUM(value) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020154 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, level, lon, ts
Sensor: sunlight | fields: value, ts, type, lat
Task: Get reading from humidity where reading exceeds the count of value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020155 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, qc, lat, ts
Sensor: wind_speed | fields: type, level, lat, lon
Task: Get lon from humidity where value exceeds the maximum depth from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020156 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, unit, depth, lat
Sensor: temperature | fields: lon, ts, lat, value
Task: Get reading from dew_point where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020157 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, level, depth, unit
Sensor: visibility | fields: depth, ts, lon, type
Task: Fetch depth from cloud_cover where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020158 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, value, type, lat
Sensor: turbidity | fields: value, ts, lon, qc
Task: Fetch value from cloud_cover where depth is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020159 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, type, lon, ts
Sensor: evaporation | fields: ts, depth, reading, level
Task: Retrieve lon from sunlight that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020160 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: level, depth, type, reading
Sensor: frost | fields: reading, lon, value, type
Task: Get reading from lightning where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020161 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, lat, type, reading
Sensor: air_quality | fields: depth, lon, type, level
Task: Get lat from frost where a corresponding entry exists in air_quality with 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_020162 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, qc, ts, type
Sensor: humidity | fields: depth, reading, type, lon
Task: Fetch value from pressure that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020163 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, type, level, lat
Sensor: humidity | fields: qc, level, depth, value
Task: Get lat from cloud_cover where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020164 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: reading, unit, value, ts
Sensor: temperature | fields: level, ts, reading, qc
Task: Retrieve lat from lightning that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020165 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, level, qc, reading
Sensor: uv_index | fields: level, unit, qc, depth
Task: Retrieve lat from frost with value above the AVG(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020166 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, unit, lon, type
Sensor: evaporation | fields: reading, unit, type, level
Task: Retrieve level from rainfall that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020167 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, reading, lon, lat
Sensor: uv_index | fields: unit, depth, lon, value
Task: Fetch lon from turbidity where ts exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020168 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: value, reading, depth, lon
Sensor: temperature | fields: ts, type, lon, depth
Task: Retrieve level from rainfall with value above the MAX(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020169 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, depth, lat, reading
Sensor: wind_speed | fields: depth, level, lat, lon
Task: Retrieve level from drought_index that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020170 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, unit, level, lat
Sensor: air_quality | fields: lat, qc, ts, unit
Task: Retrieve lon from dew_point with depth above the COUNT(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020171 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: type, value, qc, depth
Sensor: visibility | fields: reading, type, ts, depth
Task: Get value from pressure where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020172 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, value, ts, qc
Sensor: air_quality | fields: lon, unit, reading, type
Task: Get lon from frost where reading exceeds the maximum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020173 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: depth, level, lat, value
Sensor: drought_index | fields: value, depth, lat, ts
Task: Get depth from rainfall where depth exceeds the minimum value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020174 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: ts, level, reading, unit
Sensor: wind_speed | fields: ts, lat, level, reading
Task: Fetch value from visibility that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020175 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, type, level, value
Sensor: evaporation | fields: reading, lon, level, unit
Task: Fetch level from pressure where reading is greater than the maximum of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020176 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, lat, level, lon
Sensor: wind_speed | fields: lat, type, reading, ts
Task: Get reading from humidity where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020177 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, unit, value, type
Sensor: dew_point | fields: depth, value, lat, ts
Task: Get value from evaporation where reading exceeds the total value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020178 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, lon, level
Sensor: uv_index | fields: lon, unit, reading, value
Task: Retrieve level from temperature that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020179 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, unit, depth, qc
Sensor: turbidity | fields: unit, depth, lon, ts
Task: Get reading from drought_index where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020180 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, lat, lon, value
Sensor: wind_speed | fields: unit, lon, qc, level
Task: Retrieve lon from snow_depth whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020181 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, level, lon, value
Sensor: drought_index | fields: qc, unit, reading, value
Task: Retrieve value from temperature that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020182 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, ts, level, reading
Sensor: humidity | fields: value, unit, qc, ts
Task: Get depth from drought_index where value exceeds the maximum value from humidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020183 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, unit, lon, reading
Sensor: drought_index | fields: value, depth, type, ts
Task: Retrieve lat from wind_speed whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020184 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: unit, level, qc, lat
Sensor: air_quality | fields: ts, unit, value, qc
Task: Retrieve depth from visibility whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020185 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, depth, value, level
Sensor: lightning | fields: reading, lon, type, unit
Task: Get reading from uv_index where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020186 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, depth, qc
Sensor: dew_point | fields: value, reading, qc, depth
Task: Fetch depth from turbidity where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020187 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, depth, lat
Sensor: uv_index | fields: reading, qc, lon, depth
Task: Retrieve lon from turbidity that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020188 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, reading, depth, unit
Sensor: turbidity | fields: value, reading, ts, qc
Task: Fetch lon from air_quality that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020189 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, lon, level, unit
Sensor: drought_index | fields: depth, lon, level, qc
Task: Fetch depth from wind_speed where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020190 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, value, unit, lon
Sensor: rainfall | fields: lon, type, level, lat
Task: Get depth from sunlight where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020191 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, lon, unit, qc
Sensor: rainfall | fields: depth, level, unit, lon
Task: Get depth from cloud_cover where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020192 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, type, value
Sensor: soil_moisture | fields: lon, lat, depth, value
Task: Get value from cloud_cover where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020193 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, value, lon, lat
Sensor: visibility | fields: lat, reading, depth, level
Task: Fetch value from temperature where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020194 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lat, level, depth, reading
Sensor: dew_point | fields: reading, value, unit, lat
Task: Retrieve value from humidity whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020195 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lat, lon, type
Sensor: soil_moisture | fields: depth, type, lat, lon
Task: Fetch lat from air_quality that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020196 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: ts, value, qc, depth
Sensor: dew_point | fields: ts, qc, lon, unit
Task: Get value from visibility where value exceeds the count of value from dew_point for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020197 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, reading, value, unit
Sensor: wind_speed | fields: lat, level, lon, type
Task: Retrieve reading from humidity that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"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_020198 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, value, unit, depth
Sensor: turbidity | fields: reading, ts, value, depth
Task: Retrieve lon from cloud_cover with value above the MIN(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.