variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, qc, type, reading
Sensor: dew_point | fields: lon, depth, unit, value
Task: Get depth from wind_speed where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020900 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, unit, value, depth
Sensor: sunlight | fields: qc, type, value, reading
Task: Get lon from soil_moisture where depth exceeds the average value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020901 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, unit, lon, qc
Sensor: frost | fields: depth, level, qc, ts
Task: Get depth from humidity where depth appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020902 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, lat, reading, level
Sensor: air_quality | fields: level, type, qc, value
Task: Fetch lat from turbidity where reading is greater than the count of of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020903 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, lat, lon, ts
Sensor: temperature | fields: ts, lat, value, reading
Task: Get value from uv_index where value exceeds the count of depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020904 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, lon, lat, qc
Sensor: wind_speed | fields: type, level, depth, qc
Task: Retrieve reading from pressure that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020905 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, lon, type, reading
Sensor: uv_index | fields: ts, type, lat, depth
Task: Get depth from dew_point where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020906 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, value, level, type
Sensor: humidity | fields: level, lat, depth, type
Task: Retrieve reading from visibility that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020907 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, unit, depth
Sensor: pressure | fields: value, level, type, lon
Task: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020908 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, level, lat, reading
Sensor: air_quality | fields: depth, reading, unit, lon
Task: Retrieve reading from uv_index with depth above the MIN(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020909 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, ts, reading, depth
Sensor: rainfall | fields: lon, depth, lat, qc
Task: Retrieve lon from frost with value above the MAX(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020910 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, qc, value, ts
Sensor: turbidity | fields: reading, unit, value, qc
Task: Get lat from rainfall where reading exceeds the minimum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020911 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, reading, type, ts
Sensor: sunlight | fields: lon, unit, depth, lat
Task: Get value from evaporation where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020912 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, level, ts, value
Sensor: evaporation | fields: value, depth, type, unit
Task: Get depth from soil_moisture where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020913 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, level, type, lon
Sensor: rainfall | fields: ts, depth, value, lat
Task: Get level from soil_moisture where reading exceeds the minimum reading from rainfall for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020914 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lat, type, level, ts
Sensor: wind_speed | fields: value, type, unit, level
Task: Retrieve lon from pressure with reading above the AVG(reading) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020915 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, reading, level, lat
Sensor: evaporation | fields: qc, depth, level, ts
Task: Fetch depth from wind_speed where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020916 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, qc, ts, depth
Sensor: rainfall | fields: lat, ts, level, value
Task: Fetch lon from drought_index where reading is greater than the count of of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020917 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lat, ts, reading, lon
Sensor: temperature | fields: lat, qc, unit, depth
Task: Fetch depth from lightning that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020918 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, type, value, lon
Sensor: cloud_cover | fields: value, ts, lat, depth
Task: Retrieve depth from snow_depth whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020919 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, level, depth, ts
Sensor: uv_index | fields: reading, unit, depth, type
Task: Get lat from humidity where depth appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020920 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, lon, type, unit
Sensor: pressure | fields: value, lon, ts, lat
Task: Fetch reading from snow_depth where depth is greater than the average of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020921 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, level, qc, lon
Sensor: uv_index | fields: level, unit, value, qc
Task: Fetch lon from pressure where depth is greater than the total of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020922 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lon, level, lat
Sensor: air_quality | fields: unit, type, qc, level
Task: Get lat from dew_point where value exceeds the count of depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020923 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, reading, lat, unit
Sensor: drought_index | fields: lon, depth, reading, value
Task: Retrieve depth from sunlight whose qc is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020924 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, ts, type, value
Sensor: cloud_cover | fields: value, type, lon, qc
Task: Fetch level from visibility that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020925 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, level, lon, value
Sensor: air_quality | fields: unit, lon, type, qc
Task: Fetch reading from soil_moisture that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020926 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lon, type, unit, qc
Sensor: turbidity | fields: unit, value, qc, depth
Task: Retrieve reading from visibility that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020927 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, ts, unit, type
Sensor: sunlight | fields: qc, type, level, depth
Task: Fetch value from evaporation that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020928 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, type, unit, qc
Sensor: visibility | fields: qc, lon, level, reading
Task: Get lon from soil_moisture where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020929 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lat, reading, level, depth
Sensor: cloud_cover | fields: lon, unit, ts, level
Task: Retrieve reading from uv_index that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020930 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, level, reading
Sensor: visibility | fields: lat, depth, unit, reading
Task: Fetch lon from air_quality where reading is greater than the average of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020931 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, ts, lat, type
Sensor: lightning | fields: lon, unit, qc, level
Task: Fetch reading from turbidity where value is greater than the average of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"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_020932 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, ts, qc, lat
Sensor: snow_depth | fields: unit, type, depth, ts
Task: Retrieve lat from turbidity with reading above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020933 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: qc, lat, reading, lon
Sensor: cloud_cover | fields: qc, ts, value, lat
Task: Get depth from rainfall where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020934 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, lat, lon, level
Sensor: evaporation | fields: level, unit, type, reading
Task: Get depth from wind_speed where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020935 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lat, unit, lon, qc
Sensor: dew_point | fields: depth, type, lat, lon
Task: Fetch reading from rainfall where depth exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020936 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, unit, level, qc
Sensor: pressure | fields: value, depth, unit, lat
Task: Retrieve depth from snow_depth with depth above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020937 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, reading, unit, value
Sensor: lightning | fields: ts, unit, lon, value
Task: Retrieve depth from pressure with value above the MIN(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020938 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, lat, ts, value
Sensor: rainfall | fields: unit, depth, lon, qc
Task: Get reading from dew_point where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020939 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, reading, type, qc
Sensor: rainfall | fields: lon, qc, depth, reading
Task: Fetch level from air_quality where depth is greater than the total of depth in rainfall for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020940 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, value, level, lat
Sensor: pressure | fields: lon, depth, ts, unit
Task: Retrieve lat from lightning that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020941 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, value, reading, lat
Sensor: snow_depth | fields: value, type, reading, qc
Task: Fetch reading from dew_point where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020942 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, reading, ts, lat
Sensor: cloud_cover | fields: level, qc, unit, lat
Task: Retrieve level from evaporation with reading above the AVG(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020943 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, type, qc
Sensor: evaporation | fields: level, ts, unit, type
Task: Get reading from cloud_cover where reading exceeds the maximum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020944 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, ts, lat, reading
Sensor: lightning | fields: ts, level, unit, value
Task: Get lon from air_quality where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020945 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, unit, level, lon
Sensor: air_quality | fields: type, unit, value, ts
Task: Get lat from visibility where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020946 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, value, lat, depth
Sensor: pressure | fields: ts, unit, lon, reading
Task: Fetch reading from air_quality where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020947 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, depth, unit, value
Sensor: air_quality | fields: level, value, lon, depth
Task: Fetch lat from visibility where unit exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020948 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: level, qc, lon, lat
Sensor: sunlight | fields: value, qc, level, unit
Task: Retrieve lat from frost that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020949 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: reading, unit, type, level
Sensor: wind_speed | fields: value, level, type, reading
Task: Fetch value from drought_index where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020950 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, value, depth, level
Sensor: drought_index | fields: ts, value, lat, level
Task: Retrieve reading from sunlight with depth above the SUM(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020951 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, value, lon, depth
Sensor: cloud_cover | fields: ts, qc, level, lat
Task: Get level from turbidity where value exceeds the minimum depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020952 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: reading, value, depth, type
Sensor: visibility | fields: ts, depth, reading, type
Task: Get level from temperature where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020953 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, unit, lat, type
Sensor: visibility | fields: depth, qc, lon, unit
Task: Retrieve depth from sunlight with reading above the MIN(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020954 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, lon, value, reading
Sensor: drought_index | fields: unit, value, lat, ts
Task: Get reading from evaporation where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020955 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, depth, ts, value
Sensor: evaporation | fields: type, level, lon, lat
Task: Retrieve depth from wind_speed that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020956 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, lon, unit
Sensor: uv_index | fields: depth, value, lat, lon
Task: Retrieve level from air_quality with value above the SUM(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020957 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, type, ts, reading
Sensor: temperature | fields: lon, unit, lat, type
Task: Fetch lon from rainfall that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020958 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: value, reading, level, type
Sensor: rainfall | fields: qc, lon, lat, level
Task: Retrieve value from turbidity with depth above the MAX(value) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020959 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, value, qc, unit
Sensor: rainfall | fields: lat, qc, unit, reading
Task: Get level from soil_moisture where ts appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020960 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, level, ts, depth
Sensor: visibility | fields: ts, depth, unit, lat
Task: Fetch depth from dew_point where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020961 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, lon, lat, ts
Sensor: turbidity | fields: lon, unit, ts, depth
Task: Fetch reading from wind_speed where type exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020962 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, level, qc, ts
Sensor: uv_index | fields: ts, lon, unit, qc
Task: Retrieve value from evaporation with reading above the COUNT(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020963 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lon, type, level
Sensor: evaporation | fields: level, type, qc, reading
Task: Fetch value from soil_moisture where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020964 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: ts, lat, value, reading
Sensor: soil_moisture | fields: depth, qc, level, unit
Task: Get lon from pressure where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020965 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, level, unit, ts
Sensor: air_quality | fields: level, type, depth, lon
Task: Retrieve reading from humidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020966 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, reading, value, lat
Sensor: wind_speed | fields: level, reading, value, lon
Task: Fetch depth from snow_depth where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020967 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, unit, ts, level
Sensor: soil_moisture | fields: reading, unit, lon, lat
Task: Get level from pressure where reading exceeds the maximum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020968 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, reading, qc, unit
Sensor: sunlight | fields: lat, lon, value, qc
Task: Retrieve value from turbidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020969 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, value, lat, qc
Sensor: dew_point | fields: ts, reading, value, depth
Task: Get reading from pressure where qc appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020970 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, qc, reading, ts
Sensor: uv_index | fields: qc, type, level, lon
Task: Fetch reading from turbidity where reading is greater than the minimum of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020971 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, level, value, unit
Sensor: lightning | fields: level, reading, lat, ts
Task: Fetch reading from wind_speed that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020972 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, type, lat, qc
Sensor: evaporation | fields: type, lon, qc, value
Task: Retrieve depth from soil_moisture that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020973 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, depth, lon, qc
Sensor: wind_speed | fields: unit, lat, reading, ts
Task: Get depth from turbidity where depth exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020974 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lat, reading, level, depth
Sensor: drought_index | fields: level, reading, depth, unit
Task: Get lat from sunlight where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020975 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, unit, lat
Sensor: humidity | fields: unit, qc, reading, type
Task: Retrieve reading from sunlight whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020976 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: reading, depth, level, lon
Sensor: dew_point | fields: lon, value, ts, type
Task: Fetch lon from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020977 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, lon, level, type
Sensor: humidity | fields: lat, type, level, reading
Task: Retrieve value from wind_speed with depth above the SUM(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020978 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, type, level, value
Sensor: evaporation | fields: lat, unit, level, type
Task: Get depth from lightning where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020979 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, lon, ts, type
Sensor: sunlight | fields: depth, unit, ts, lon
Task: Fetch lon from cloud_cover that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020980 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: ts, value, unit, type
Sensor: uv_index | fields: lat, reading, type, unit
Task: Fetch value from temperature where value is greater than the maximum of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020981 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, depth, unit, qc
Sensor: soil_moisture | fields: type, reading, ts, level
Task: Fetch value from dew_point where reading is greater than the total of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020982 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: ts, qc, level, lat
Sensor: uv_index | fields: level, reading, type, qc
Task: Retrieve value from lightning that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020983 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: type, reading, unit, lat
Sensor: air_quality | fields: level, depth, lat, reading
Task: Fetch level from evaporation where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020984 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, unit, ts, level
Sensor: snow_depth | fields: unit, value, type, lon
Task: Retrieve lon from turbidity with depth above the COUNT(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020985 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, lon, depth, lat
Sensor: sunlight | fields: level, depth, lon, qc
Task: Get lat from uv_index where depth exceeds the maximum depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020986 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: unit, ts, value, lat
Sensor: wind_speed | fields: reading, lat, lon, depth
Task: Get value from pressure where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020987 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, lat, qc, value
Sensor: turbidity | fields: lon, ts, level, type
Task: Get lon from visibility where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020988 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, ts, type, qc
Sensor: evaporation | fields: lat, unit, type, reading
Task: Retrieve lat from rainfall whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020989 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, level, reading
Sensor: cloud_cover | fields: lat, unit, qc, level
Task: Retrieve depth from frost with depth above the MAX(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020990 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, ts, qc, level
Sensor: lightning | fields: ts, value, reading, qc
Task: Get level from humidity where depth exceeds the average reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020991 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, lon, ts, level
Sensor: dew_point | fields: value, level, unit, ts
Task: Get lon from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020992 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, reading, ts, qc
Sensor: rainfall | fields: level, depth, type, value
Task: Fetch level from turbidity where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020993 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: type, unit, qc, value
Sensor: evaporation | fields: reading, qc, depth, ts
Task: Retrieve value from humidity with depth above the AVG(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020994 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, type, qc, lon
Sensor: temperature | fields: value, depth, reading, lat
Task: Retrieve lon from soil_moisture whose unit is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020995 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, level, qc, lat
Sensor: rainfall | fields: type, unit, reading, level
Task: Fetch lat from sunlight that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020996 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: ts, lon, level, type
Sensor: sunlight | fields: lat, ts, type, depth
Task: Retrieve reading from turbidity whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020997 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, depth, ts, reading
Sensor: turbidity | fields: qc, depth, lat, type
Task: Get lat from snow_depth where type appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020998 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, ts, qc, unit
Sensor: pressure | fields: qc, value, lon, unit
Task: Get value from soil_moisture where depth exceeds the total reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.