variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, unit, ts, lat
Sensor: dew_point | fields: type, value, lat, unit
Task: Fetch depth from soil_moisture where value is greater than the count of of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072500 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, type, ts, depth
Sensor: dew_point | fields: type, ts, depth, lon
Task: Get lon from soil_moisture where value exceeds the count of depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072501 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, unit, depth, reading
Sensor: frost | fields: depth, reading, level, unit
Task: Fetch value from sunlight where reading is greater than the total of value in frost for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072502 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, level, unit, ts
Sensor: visibility | fields: level, depth, unit, lon
Task: Fetch depth from air_quality where type exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072503 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, reading, depth, value
Sensor: evaporation | fields: level, type, ts, reading
Task: Get lat from soil_moisture where reading exceeds the minimum depth from evaporation for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072504 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, depth, type, ts
Sensor: evaporation | fields: lon, unit, qc, depth
Task: Retrieve depth from turbidity with depth above the MIN(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072505 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, depth, unit, level
Sensor: sunlight | fields: level, value, ts, reading
Task: Get depth from drought_index where reading exceeds the average value from sunlight for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072506 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: qc, value, level, unit
Sensor: turbidity | fields: qc, lat, unit, depth
Task: Retrieve depth from sunlight with depth above the SUM(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072507 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, ts, lat, reading
Sensor: snow_depth | fields: reading, type, ts, lat
Task: Retrieve reading from air_quality with depth above the MAX(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072508 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, lon, value, reading
Sensor: air_quality | fields: depth, type, reading, ts
Task: Retrieve lat from soil_moisture with depth above the SUM(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072509 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, level, reading, lon
Sensor: turbidity | fields: value, lon, lat, level
Task: Get level from frost where depth exceeds the count of reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072510 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: unit, lat, ts, type
Sensor: pressure | fields: type, value, lon, depth
Task: Retrieve value from humidity whose type is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072511 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: depth, type, lat, reading
Sensor: snow_depth | fields: lon, lat, depth, unit
Task: Fetch lon from drought_index that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072512 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, value, ts, level
Sensor: turbidity | fields: lat, value, ts, unit
Task: Fetch level from soil_moisture that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072513 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, qc, value, lat
Sensor: humidity | fields: qc, ts, reading, lon
Task: Get value from pressure where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072514 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: type, lat, qc, ts
Sensor: lightning | fields: level, unit, lat, ts
Task: Retrieve value from drought_index whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072515 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lon, type, value
Sensor: turbidity | fields: type, ts, reading, qc
Task: Get lat from uv_index where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072516 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, unit, value, type
Sensor: rainfall | fields: ts, qc, lon, unit
Task: Retrieve level from cloud_cover with value above the SUM(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072517 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, depth, level, type
Sensor: soil_moisture | fields: type, qc, depth, reading
Task: Fetch reading from rainfall where depth is greater than the maximum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072518 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, type, reading, ts
Sensor: visibility | fields: ts, unit, reading, lon
Task: Fetch value from wind_speed where depth is greater than the maximum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072519 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lat, ts, level
Sensor: humidity | fields: ts, value, type, lon
Task: Fetch lon from cloud_cover where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072520 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, depth, ts, lon
Sensor: temperature | fields: lon, lat, unit, level
Task: Retrieve depth from cloud_cover that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072521 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, qc, unit
Sensor: turbidity | fields: depth, qc, lat, type
Task: Fetch lon from lightning where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072522 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, level, lon, type
Sensor: frost | fields: type, reading, qc, lon
Task: Fetch lon from pressure where type exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072523 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, value, reading
Sensor: visibility | fields: lat, depth, lon, ts
Task: Retrieve depth from dew_point that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072524 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, ts, type, value
Sensor: frost | fields: ts, unit, depth, type
Task: Get level from turbidity where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072525 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lat, value, depth, reading
Sensor: sunlight | fields: reading, type, ts, lat
Task: Retrieve level from air_quality whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072526 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, qc, lat, ts
Sensor: lightning | fields: lat, depth, lon, value
Task: Get value from snow_depth where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072527 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, level, depth, ts
Sensor: soil_moisture | fields: value, ts, lon, type
Task: Fetch value from rainfall that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072528 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, qc, type, unit
Sensor: turbidity | fields: level, depth, lon, type
Task: Retrieve level from humidity that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072529 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, type, reading, lon
Sensor: snow_depth | fields: level, qc, reading, depth
Task: Fetch level from dew_point that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072530 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: level, value, reading, type
Sensor: lightning | fields: ts, unit, qc, reading
Task: Fetch level from dew_point that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072531 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, level, type, depth
Sensor: pressure | fields: lon, value, ts, depth
Task: Retrieve lon from uv_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072532 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: type, value, lon, depth
Sensor: visibility | fields: ts, value, lon, qc
Task: Fetch level from evaporation that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072533 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lat, type, ts, reading
Sensor: wind_speed | fields: lat, level, reading, unit
Task: Fetch level from visibility that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072534 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, qc, level, ts
Sensor: evaporation | fields: lon, unit, reading, value
Task: Retrieve depth from visibility with value above the AVG(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072535 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, value, lon, level
Sensor: frost | fields: level, reading, qc, type
Task: Fetch depth from turbidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072536 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, unit, type, value
Sensor: uv_index | fields: lat, lon, value, level
Task: Get reading from visibility where qc appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072537 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: unit, ts, lon, lat
Sensor: temperature | fields: lat, level, lon, depth
Task: Retrieve reading from pressure with value above the MAX(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072538 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, level, qc, value
Sensor: turbidity | fields: lon, level, unit, reading
Task: Retrieve value from frost that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072539 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, reading, lon, unit
Sensor: turbidity | fields: qc, type, value, depth
Task: Get value from air_quality where value exceeds the maximum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072540 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, reading, ts
Sensor: humidity | fields: type, lat, reading, unit
Task: Get lon from turbidity where value exceeds the total value from humidity for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072541 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, type, value, qc
Sensor: soil_moisture | fields: value, ts, level, depth
Task: Fetch depth from evaporation where reading is greater than the minimum of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072542 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: ts, lon, value, reading
Sensor: air_quality | fields: level, ts, value, lat
Task: Retrieve value from temperature with depth above the MIN(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072543 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, value, type, reading
Sensor: uv_index | fields: ts, reading, qc, type
Task: Get value from cloud_cover where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072544 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, depth, qc, level
Sensor: visibility | fields: reading, level, unit, ts
Task: Get value from cloud_cover where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072545 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, unit, lon, qc
Sensor: turbidity | fields: level, depth, lat, type
Task: Get value from temperature where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072546 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, qc, level, value
Sensor: temperature | fields: unit, lon, type, qc
Task: Retrieve level from air_quality whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072547 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: value, level, depth, reading
Sensor: wind_speed | fields: ts, lat, level, depth
Task: Retrieve level from humidity with depth above the MIN(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072548 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, ts, reading, value
Sensor: visibility | fields: depth, value, level, lat
Task: Retrieve level from cloud_cover whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072549 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, unit, qc, ts
Sensor: humidity | fields: reading, level, ts, lon
Task: Retrieve reading from soil_moisture that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072550 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, qc, lat, unit
Sensor: snow_depth | fields: value, reading, depth, qc
Task: Retrieve reading from uv_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072551 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, reading, unit
Sensor: temperature | fields: qc, depth, lon, unit
Task: Fetch depth from humidity where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072552 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, ts, reading, value
Sensor: pressure | fields: value, qc, level, depth
Task: Retrieve level from evaporation with value above the COUNT(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"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_072553 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, lat, lon
Sensor: drought_index | fields: reading, qc, value, type
Task: Retrieve lon from humidity whose type is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072554 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, type, lon, unit
Sensor: rainfall | fields: reading, unit, qc, ts
Task: Fetch level from humidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072555 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, qc, lon, unit
Sensor: soil_moisture | fields: level, lat, unit, reading
Task: Get lon from temperature where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072556 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: reading, unit, level, type
Sensor: drought_index | fields: reading, qc, lon, ts
Task: Retrieve lat from uv_index that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072557 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, reading, lat, unit
Sensor: snow_depth | fields: unit, lon, lat, ts
Task: Fetch reading from humidity where value is greater than the maximum of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072558 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, value, reading, unit
Sensor: turbidity | fields: unit, lon, reading, depth
Task: Retrieve depth from uv_index with value above the MIN(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072559 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, ts, lat, level
Sensor: uv_index | fields: reading, ts, unit, lat
Task: Retrieve lon from lightning that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072560 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, ts, lon, value
Sensor: humidity | fields: lat, qc, value, ts
Task: Get value from uv_index where depth exceeds the maximum value from humidity for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072561 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, unit, value, ts
Sensor: wind_speed | fields: qc, ts, reading, type
Task: Fetch lat from soil_moisture that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072562 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, reading, lon, level
Sensor: turbidity | fields: lat, ts, depth, type
Task: Get depth from cloud_cover where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072563 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lon, unit, depth, ts
Sensor: visibility | fields: lat, level, value, ts
Task: Fetch lon from air_quality that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_072564 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, type, depth, lat
Sensor: wind_speed | fields: lon, value, type, lat
Task: Get value from rainfall where reading exceeds the maximum value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072565 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, type, ts, value
Sensor: cloud_cover | fields: ts, lat, reading, type
Task: Get lon from lightning where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072566 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lat, qc, lon, level
Sensor: snow_depth | fields: unit, level, ts, depth
Task: Fetch lon from sunlight that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072567 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, reading, ts, unit
Sensor: drought_index | fields: depth, qc, type, value
Task: Retrieve depth from visibility whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072568 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, unit, value, qc
Sensor: air_quality | fields: lon, reading, ts, qc
Task: Retrieve reading from dew_point with value above the MIN(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072569 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, value, lon
Sensor: cloud_cover | fields: depth, value, lon, ts
Task: Retrieve level 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="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072570 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, value, level, qc
Sensor: drought_index | fields: unit, lat, depth, level
Task: Get depth from wind_speed where value exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072571 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lon, value, unit
Sensor: sunlight | fields: level, unit, depth, reading
Task: Retrieve reading from cloud_cover that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072572 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: depth, lat, reading, ts
Sensor: wind_speed | fields: type, qc, reading, unit
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072573 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, reading, unit, qc
Sensor: air_quality | fields: type, ts, value, unit
Task: Get level from cloud_cover where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072574 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, qc, type, unit
Sensor: wind_speed | fields: type, value, qc, reading
Task: Get reading from air_quality where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072575 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, type, lat, lon
Sensor: frost | fields: ts, depth, lon, level
Task: Fetch lon from lightning where value is greater than the average of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072576 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: qc, reading, ts, value
Sensor: uv_index | fields: unit, ts, lon, qc
Task: Fetch lat from turbidity that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072577 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, unit, reading, qc
Sensor: frost | fields: ts, lat, level, reading
Task: Retrieve lon from uv_index with depth above the MAX(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072578 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, lat, value, depth
Sensor: temperature | fields: ts, depth, type, reading
Task: Get depth from humidity where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072579 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: level, depth, unit, type
Sensor: dew_point | fields: depth, qc, reading, ts
Task: Fetch lat from rainfall where ts exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072580 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, unit, lat, ts
Sensor: visibility | fields: value, type, depth, level
Task: Fetch lat from humidity that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072581 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: type, qc, reading, level
Sensor: evaporation | fields: value, lon, depth, ts
Task: Fetch lon from turbidity where value is greater than the total of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072582 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, ts, lon, level
Sensor: wind_speed | fields: ts, lat, reading, level
Task: Fetch level from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072583 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: qc, depth, lat, type
Sensor: pressure | fields: reading, lat, ts, lon
Task: Fetch lat from visibility where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072584 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lon, type, unit, depth
Sensor: lightning | fields: lon, level, unit, reading
Task: Fetch lon from drought_index where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072585 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, level, lat, lon
Sensor: visibility | fields: qc, value, unit, depth
Task: Retrieve lat from temperature that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072586 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, value, ts, depth
Sensor: evaporation | fields: level, type, lon, depth
Task: Fetch reading from wind_speed that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072587 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: value, lat, reading, level
Sensor: uv_index | fields: qc, lat, ts, type
Task: Retrieve lat from pressure that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072588 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: type, ts, lat, reading
Sensor: soil_moisture | fields: type, level, ts, lon
Task: Fetch lon from air_quality where depth is greater than the maximum of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"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_072589 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: type, level, depth, lon
Sensor: pressure | fields: type, unit, lat, depth
Task: Get value from uv_index where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072590 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, level, depth, qc
Sensor: visibility | fields: ts, value, level, lat
Task: Retrieve depth from cloud_cover with reading above the MAX(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072591 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, unit, reading, lat
Sensor: air_quality | fields: value, depth, lat, level
Task: Retrieve level from cloud_cover that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072592 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, lat, level
Sensor: dew_point | fields: lon, depth, lat, unit
Task: Fetch lat from temperature where value is greater than the total of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072593 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, type, depth, unit
Sensor: temperature | fields: lat, qc, ts, reading
Task: Get level from wind_speed where value exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072594 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lat, type, level, unit
Sensor: temperature | fields: lat, qc, reading, type
Task: Get reading from visibility where reading exceeds the maximum value from temperature for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072595 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: level, reading, value, unit
Sensor: frost | fields: lat, unit, value, reading
Task: Get value from sunlight where depth exceeds the total depth from frost for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072596 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: qc, depth, level, value
Sensor: drought_index | fields: lat, ts, value, qc
Task: Get reading from visibility where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072597 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: value, ts, level, depth
Sensor: dew_point | fields: type, depth, lat, level
Task: Fetch reading from snow_depth where reading is greater than the total of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072598 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, value, level, depth
Sensor: snow_depth | fields: depth, value, lat, ts
Task: Get level from temperature where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.