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: frost | code: stn | fields: unit, ts, depth, reading
Sensor: rainfall | fields: unit, reading, lat, value
Task: Get lat from frost where value exceeds the minimum reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080700 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, value, reading
Sensor: sunlight | fields: level, ts, qc, type
Task: Retrieve reading from rainfall whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080701 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: unit, qc, ts, value
Sensor: pressure | fields: level, unit, reading, depth
Task: Get lat from dew_point where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080702 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, lon, lat, depth
Sensor: wind_speed | fields: lat, unit, level, value
Task: Get reading from humidity where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080703 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lon, value, type, depth
Sensor: uv_index | fields: qc, lon, lat, type
Task: Fetch level from turbidity that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080704 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, lon, unit, level
Sensor: dew_point | fields: reading, level, value, unit
Task: Fetch lat from wind_speed where depth exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080705 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, type, level, reading
Sensor: cloud_cover | fields: reading, type, level, value
Task: Fetch lon from snow_depth where depth is greater than the count of of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080706 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, reading, ts
Sensor: soil_moisture | fields: unit, value, lon, level
Task: Retrieve depth from visibility with depth above the COUNT(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080707 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: value, level, unit, reading
Sensor: air_quality | fields: type, reading, depth, level
Task: Fetch reading from frost that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080708 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, value, type, lat
Sensor: rainfall | fields: unit, type, lat, reading
Task: Retrieve value from lightning whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080709 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, value, lon, level
Sensor: cloud_cover | fields: reading, lon, type, qc
Task: Retrieve depth from rainfall whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080710 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, reading, depth, ts
Sensor: turbidity | fields: unit, lat, level, type
Task: Fetch lat from drought_index where depth is greater than the count of of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080711 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, level, reading, type
Sensor: wind_speed | fields: lat, qc, depth, ts
Task: Retrieve value from turbidity whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080712 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, reading, ts
Sensor: drought_index | fields: lon, qc, type, reading
Task: Fetch lat from pressure where value is greater than the minimum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080713 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, type, ts, reading
Sensor: pressure | fields: unit, type, reading, ts
Task: Retrieve lat from frost that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080714 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: level, lon, unit, depth
Sensor: rainfall | fields: reading, unit, lat, depth
Task: Retrieve reading from uv_index that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080715 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, ts, level, unit
Sensor: air_quality | fields: value, lon, reading, lat
Task: Retrieve depth from snow_depth that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080716 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, level, qc
Sensor: visibility | fields: lon, type, reading, lat
Task: Get lon from dew_point where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080717 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, depth, unit, value
Sensor: sunlight | fields: type, depth, reading, level
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080718 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, type, qc, lon
Sensor: frost | fields: ts, value, level, depth
Task: Fetch lat from lightning where value is greater than the maximum of value in frost for matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080719 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, level, ts, lat
Sensor: pressure | fields: lat, qc, value, lon
Task: Retrieve lon from frost that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080720 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lat, ts, lon, unit
Sensor: turbidity | fields: depth, qc, unit, type
Task: Get reading from visibility where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080721 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, ts, value, unit
Sensor: humidity | fields: level, unit, lon, depth
Task: Fetch depth from lightning where value is greater than the minimum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080722 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, lat, qc, reading
Sensor: evaporation | fields: reading, level, lat, lon
Task: Retrieve lat from wind_speed whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080723 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, reading, type, lat
Sensor: lightning | fields: value, lon, lat, depth
Task: Retrieve lon from rainfall whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080724 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: depth, value, lat, unit
Sensor: visibility | fields: value, lon, type, qc
Task: Get value from temperature where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080725 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: level, reading, depth, value
Sensor: dew_point | fields: qc, reading, level, lat
Task: Get lat from visibility where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080726 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, type, lat, value
Sensor: pressure | fields: depth, type, reading, level
Task: Get value from sunlight where value exceeds the average depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080727 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, qc, lon, depth
Sensor: snow_depth | fields: depth, unit, qc, level
Task: Fetch lon from turbidity where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080728 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, qc, level, depth
Sensor: frost | fields: unit, level, lon, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080729 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, ts, qc, depth
Sensor: rainfall | fields: level, reading, type, value
Task: Get reading from soil_moisture where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080730 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: qc, level, type, ts
Sensor: air_quality | fields: lon, qc, reading, unit
Task: Retrieve level from humidity with depth above the COUNT(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080731 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, lat, lon, type
Sensor: rainfall | fields: level, lat, unit, type
Task: Fetch level from humidity that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080732 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, depth, level, reading
Sensor: visibility | fields: lat, value, lon, qc
Task: Fetch lon from sunlight where ts exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080733 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: lon, ts, unit, lat
Sensor: drought_index | fields: lon, ts, unit, reading
Task: Get lat from dew_point where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080734 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, level, unit, reading
Sensor: visibility | fields: lat, reading, type, lon
Task: Retrieve lat from frost with depth above the AVG(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080735 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: ts, lon, reading, qc
Sensor: humidity | fields: qc, lon, ts, value
Task: Get reading from temperature where value exceeds the average depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"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_080736 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: type, level, reading, ts
Sensor: air_quality | fields: ts, lat, qc, depth
Task: Retrieve depth from turbidity whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080737 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, depth, qc, level
Sensor: soil_moisture | fields: reading, lat, value, qc
Task: Get value from rainfall where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080738 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, reading, lon, qc
Sensor: sunlight | fields: value, ts, depth, reading
Task: Fetch lon from lightning that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080739 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, value, ts, qc
Sensor: frost | fields: qc, value, level, depth
Task: Get lat from visibility where reading exceeds the count of value from frost for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080740 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, lon, unit, type
Sensor: pressure | fields: unit, depth, ts, value
Task: Fetch lon from dew_point where reading is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080741 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, unit, qc, lat
Sensor: cloud_cover | fields: qc, type, depth, lat
Task: Fetch lat from wind_speed where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080742 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, ts, unit, reading
Sensor: turbidity | fields: lon, level, value, reading
Task: Get lon from wind_speed where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080743 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: ts, lon, reading, depth
Sensor: pressure | fields: ts, lat, type, lon
Task: Fetch lon from turbidity where value is greater than the total of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080744 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: type, ts, unit, qc
Sensor: sunlight | fields: qc, ts, value, unit
Task: Fetch depth from uv_index where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080745 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, value, type, lat
Sensor: pressure | fields: level, reading, value, unit
Task: Retrieve depth from humidity whose unit is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080746 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, depth, lon, lat
Sensor: soil_moisture | fields: lat, depth, value, unit
Task: Retrieve lat from wind_speed that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080747 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, level, depth, lat
Sensor: visibility | fields: lat, ts, reading, type
Task: Get lon from air_quality where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080748 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, level, type, qc
Sensor: frost | fields: value, level, ts, unit
Task: Fetch depth from temperature where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080749 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, value, ts, level
Sensor: turbidity | fields: lat, reading, level, value
Task: Get value from rainfall where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080750 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, value, depth, unit
Sensor: lightning | fields: type, qc, reading, depth
Task: Fetch depth from wind_speed where depth is greater than the average of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080751 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, qc, reading, lon
Sensor: turbidity | fields: value, depth, lat, unit
Task: Retrieve depth from cloud_cover with depth above the COUNT(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080752 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, unit, level, lon
Sensor: air_quality | fields: level, value, qc, ts
Task: Fetch reading from drought_index where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080753 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, level, qc, type
Sensor: dew_point | fields: lat, reading, ts, lon
Task: Get lat from pressure where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080754 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: ts, level, reading, value
Sensor: visibility | fields: lat, unit, value, type
Task: Get depth from temperature where reading exceeds the minimum reading from visibility for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080755 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, qc, depth, ts
Sensor: uv_index | fields: value, type, lat, lon
Task: Retrieve reading from humidity whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080756 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lon, level, type, qc
Sensor: air_quality | fields: qc, type, unit, lon
Task: Fetch reading from lightning where depth is greater than the total of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080757 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, type, reading, qc
Sensor: drought_index | fields: lat, type, value, reading
Task: Retrieve lon from temperature whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080758 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, lat, level
Sensor: air_quality | fields: value, unit, lon, qc
Task: Retrieve value from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080759 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: qc, ts, type, reading
Sensor: frost | fields: ts, qc, unit, reading
Task: Fetch lon from temperature where value is greater than the maximum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080760 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, type, level, lon
Sensor: evaporation | fields: lat, ts, depth, reading
Task: Retrieve depth from visibility that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080761 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, level, ts, qc
Sensor: dew_point | fields: unit, lat, lon, reading
Task: Get level from rainfall where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080762 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: qc, type, lat, ts
Sensor: uv_index | fields: depth, lon, reading, ts
Task: Fetch lat from turbidity that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080763 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, depth, type, value
Sensor: soil_moisture | fields: type, reading, unit, ts
Task: Retrieve lon from temperature that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"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_080764 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, ts, unit
Sensor: wind_speed | fields: level, type, reading, qc
Task: Retrieve value from temperature whose depth is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080765 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: reading, ts, qc, lon
Sensor: air_quality | fields: value, reading, ts, lon
Task: Get level from snow_depth where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080766 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, qc, ts, type
Sensor: sunlight | fields: reading, qc, unit, ts
Task: Retrieve reading from frost with value above the AVG(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080767 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, reading, value, lon
Sensor: visibility | fields: reading, unit, qc, ts
Task: Retrieve depth from frost with reading above the SUM(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080768 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, reading, lon, lat
Sensor: wind_speed | fields: reading, unit, type, qc
Task: Retrieve reading from turbidity with depth above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080769 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, type, lon, lat
Sensor: snow_depth | fields: level, qc, lon, depth
Task: Fetch value from sunlight where reading is greater than the average of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080770 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, depth, unit, lon
Sensor: dew_point | fields: depth, lat, qc, lon
Task: Get value from snow_depth where value exceeds the average reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080771 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, qc, lon
Sensor: soil_moisture | fields: value, lon, type, lat
Task: Retrieve level from wind_speed with value above the MAX(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080772 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: level, lat, unit, value
Sensor: uv_index | fields: value, level, qc, type
Task: Retrieve lat from evaporation with value above the AVG(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080773 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, unit, level, type
Sensor: humidity | fields: reading, ts, qc, value
Task: Retrieve reading from frost with value above the COUNT(value) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080774 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, lon, ts, qc
Sensor: air_quality | fields: level, depth, unit, qc
Task: Fetch level from humidity where reading is greater than the average of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080775 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, depth, value, level
Sensor: turbidity | fields: type, lon, level, value
Task: Retrieve lon from drought_index with reading above the AVG(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080776 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: level, depth, lon, unit
Sensor: evaporation | fields: reading, lat, level, lon
Task: Fetch lon from pressure that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080777 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, reading, lat
Sensor: temperature | fields: level, lat, reading, lon
Task: Retrieve depth from drought_index whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080778 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: qc, lat, reading, ts
Sensor: cloud_cover | fields: depth, reading, ts, lon
Task: Get level from lightning where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080779 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, reading, lat, qc
Sensor: temperature | fields: ts, unit, lon, value
Task: Get reading from evaporation where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080780 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, type, depth, lon
Sensor: cloud_cover | fields: lon, type, value, level
Task: Retrieve level from uv_index with depth above the SUM(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080781 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: value, reading, lat, depth
Sensor: lightning | fields: level, reading, type, qc
Task: Get depth from air_quality where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080782 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, lon, depth, value
Sensor: turbidity | fields: value, lon, lat, type
Task: Retrieve depth from frost with value above the MIN(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080783 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, value, lon, depth
Sensor: temperature | fields: ts, type, lat, depth
Task: Get lat from drought_index where depth exceeds the total depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080784 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lat, level, lon, ts
Sensor: dew_point | fields: lat, qc, level, type
Task: Get lat from humidity where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080785 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, ts, unit, lon
Sensor: temperature | fields: lon, level, qc, value
Task: Retrieve value from drought_index whose depth is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080786 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: depth, ts, type, reading
Sensor: rainfall | fields: depth, level, ts, lon
Task: Get lon from dew_point where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080787 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lon, level, lat, depth
Sensor: soil_moisture | fields: type, value, unit, qc
Task: Fetch lat from uv_index where reading is greater than the count of of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080788 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, qc, level, ts
Sensor: lightning | fields: lon, value, qc, depth
Task: Get level from soil_moisture where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080789 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: level, lat, reading, lon
Sensor: humidity | fields: type, unit, lat, value
Task: Retrieve lon from uv_index that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080790 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, depth, lat
Sensor: snow_depth | fields: ts, qc, lat, type
Task: Retrieve depth from turbidity with depth above the COUNT(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080791 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, reading, level, type
Sensor: drought_index | fields: reading, lat, value, level
Task: Fetch value from sunlight that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080792 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, lat, level, type
Sensor: evaporation | fields: depth, reading, ts, lon
Task: Fetch value from sunlight where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080793 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lon, qc, type, value
Sensor: frost | fields: unit, value, reading, qc
Task: Get level from turbidity where depth exceeds the maximum value from frost for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080794 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, ts, lon
Sensor: soil_moisture | fields: ts, qc, lon, reading
Task: Get level from air_quality where reading exceeds the total reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080795 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lon, reading, level
Sensor: pressure | fields: lat, level, value, ts
Task: Get lat from dew_point where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080796 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, lon, value, level
Sensor: lightning | fields: type, lon, unit, lat
Task: Retrieve level from soil_moisture with reading above the MIN(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080797 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, level, value, lat
Sensor: pressure | fields: reading, level, ts, type
Task: Retrieve level from snow_depth whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080798 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, reading, unit, depth
Sensor: humidity | fields: reading, qc, lat, type
Task: Fetch reading from drought_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.