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: mst | fields: level, type, unit, lat
Sensor: rainfall | fields: level, ts, unit, depth
Task: Get depth from soil_moisture where depth exceeds the count of reading from rainfall for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021800 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: level, reading, qc, unit
Sensor: uv_index | fields: lon, qc, value, unit
Task: Get value from snow_depth where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021801 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: ts, level, lat, type
Sensor: cloud_cover | fields: depth, qc, unit, level
Task: Get lat from air_quality where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021802 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lon, value, level
Sensor: temperature | fields: level, ts, depth, value
Task: Fetch level from dew_point that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021803 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, level, ts, lon
Sensor: turbidity | fields: type, value, level, lat
Task: Get level from temperature where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021804 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: level, lat, type, unit
Sensor: snow_depth | fields: reading, type, lon, ts
Task: Fetch lon from temperature where value is greater than the minimum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021805 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, unit, level, ts
Sensor: temperature | fields: lat, depth, ts, level
Task: Retrieve level from visibility with value above the SUM(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021806 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, depth, lat, qc
Sensor: sunlight | fields: lat, reading, level, lon
Task: Get depth from cloud_cover where value exceeds the maximum reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021807 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: level, reading, depth, lat
Sensor: rainfall | fields: value, depth, lon, ts
Task: Get lat from drought_index where value exceeds the count of depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021808 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: value, reading, lat, lon
Sensor: sunlight | fields: level, type, ts, value
Task: Get reading from turbidity where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021809 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, lon, value, depth
Sensor: temperature | fields: lat, lon, type, reading
Task: Get lon from turbidity where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021810 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, lat, value, ts
Sensor: turbidity | fields: ts, type, lon, level
Task: Retrieve reading from snow_depth that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021811 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, type, depth, qc
Sensor: wind_speed | fields: lon, qc, unit, reading
Task: Fetch level from frost where value is greater than the count of of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021812 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, level, value, ts
Sensor: sunlight | fields: ts, value, reading, qc
Task: Fetch lon from soil_moisture where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021813 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, unit, value, lon
Sensor: lightning | fields: unit, qc, ts, depth
Task: Fetch value from pressure where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"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_021814 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, unit, value, level
Sensor: evaporation | fields: qc, type, value, depth
Task: Fetch depth from rainfall that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021815 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, depth, unit, lat
Sensor: cloud_cover | fields: qc, ts, unit, depth
Task: Get depth from frost where reading exceeds the minimum value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021816 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, value, depth, lat
Sensor: soil_moisture | fields: value, lat, depth, level
Task: Get value from lightning where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021817 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, depth, value, ts
Sensor: evaporation | fields: qc, value, lat, ts
Task: Fetch lat from cloud_cover where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021818 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lon, value, depth, level
Sensor: wind_speed | fields: type, value, ts, qc
Task: Get level from rainfall where reading exceeds the total depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021819 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, lat, qc, depth
Sensor: snow_depth | fields: level, value, qc, ts
Task: Fetch reading from dew_point where reading is greater than the average of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"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_021820 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, qc, type, unit
Sensor: drought_index | fields: value, level, unit, qc
Task: Get reading from snow_depth where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021821 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, lon, qc
Sensor: humidity | fields: reading, depth, unit, level
Task: Fetch value from visibility where depth is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021822 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, level, unit, value
Sensor: lightning | fields: depth, lat, ts, value
Task: Get value from air_quality where reading exceeds the average value from lightning for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021823 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, lat, reading, ts
Sensor: air_quality | fields: unit, qc, lat, reading
Task: Fetch reading from dew_point that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"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_021824 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: type, qc, reading, value
Sensor: dew_point | fields: lon, lat, type, qc
Task: Retrieve value from air_quality that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021825 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, lon, value, type
Sensor: dew_point | fields: type, lat, reading, depth
Task: Fetch lon from visibility that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021826 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, type, depth, qc
Sensor: rainfall | fields: lat, level, reading, lon
Task: Retrieve depth from turbidity whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021827 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: type, lon, ts, depth
Sensor: rainfall | fields: depth, type, level, ts
Task: Fetch lon from dew_point where depth is greater than the average of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021828 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, lat, unit
Sensor: evaporation | fields: ts, reading, unit, qc
Task: Retrieve lat from sunlight that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021829 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, reading, unit
Sensor: visibility | fields: unit, lon, level, qc
Task: Fetch reading from air_quality where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021830 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, ts, reading, level
Sensor: turbidity | fields: value, depth, level, type
Task: Fetch level from lightning where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021831 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, level, lat, unit
Sensor: soil_moisture | fields: unit, reading, value, depth
Task: Get level from wind_speed where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021832 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, level, type
Sensor: uv_index | fields: ts, level, lat, type
Task: Get value from soil_moisture where value exceeds the average value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021833 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, lon, type, value
Sensor: soil_moisture | fields: qc, reading, lat, level
Task: Fetch lat from temperature where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021834 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, qc, level, reading
Sensor: dew_point | fields: type, value, ts, lon
Task: Retrieve reading from evaporation with depth above the AVG(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021835 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, reading, depth, level
Sensor: wind_speed | fields: reading, level, unit, lon
Task: Fetch lon from dew_point where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021836 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, lat, ts, level
Sensor: sunlight | fields: level, lon, ts, unit
Task: Get reading from soil_moisture where reading exceeds the count of depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021837 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, lon, reading, qc
Sensor: sunlight | fields: depth, lat, type, level
Task: Fetch depth from frost where unit exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021838 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, reading, unit
Sensor: soil_moisture | fields: value, lon, level, lat
Task: Fetch reading from frost that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021839 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: reading, lat, value, depth
Sensor: evaporation | fields: type, depth, qc, reading
Task: Fetch lon from humidity where reading is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021840 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, lat, ts, value
Sensor: uv_index | fields: lon, value, level, qc
Task: Retrieve lon from drought_index whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021841 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, type, level, ts
Sensor: sunlight | fields: lon, level, unit, qc
Task: Retrieve level from drought_index that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021842 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, ts, type, unit
Sensor: cloud_cover | fields: value, reading, ts, type
Task: Fetch lon from soil_moisture that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021843 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, unit, type, level
Sensor: visibility | fields: type, ts, level, lon
Task: Retrieve lat from frost whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021844 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, level, lat, reading
Sensor: uv_index | fields: reading, value, qc, level
Task: Retrieve value from snow_depth with reading above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021845 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, value, type, lon
Sensor: evaporation | fields: reading, unit, ts, value
Task: Fetch lon from pressure where value is greater than the average of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021846 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, reading, type
Sensor: humidity | fields: ts, depth, value, unit
Task: Fetch depth from dew_point that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021847 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, lon, value, lat
Sensor: frost | fields: type, qc, lat, value
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_021848 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, depth, level, qc
Sensor: cloud_cover | fields: unit, type, value, qc
Task: Retrieve depth from lightning whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021849 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, unit, ts, depth
Sensor: pressure | fields: lon, depth, type, unit
Task: Get level from rainfall where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021850 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: reading, unit, depth, type
Sensor: sunlight | fields: lon, level, value, type
Task: Get depth from lightning where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021851 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, value, lat, unit
Sensor: turbidity | fields: lon, value, qc, lat
Task: Retrieve level from snow_depth with reading above the AVG(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021852 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, reading, qc, depth
Sensor: soil_moisture | fields: lat, unit, lon, qc
Task: Fetch depth from frost that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021853 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: reading, level, value, type
Sensor: air_quality | fields: lon, unit, type, level
Task: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021854 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: unit, reading, depth, lon
Sensor: humidity | fields: unit, reading, value, level
Task: Get level from frost where qc appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021855 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, value, lon, type
Sensor: drought_index | fields: lat, depth, value, unit
Task: Fetch value from cloud_cover where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021856 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, ts, value, lat
Sensor: dew_point | fields: depth, lon, ts, unit
Task: Get reading from humidity where depth exceeds the count of reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021857 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, lat, type
Sensor: temperature | fields: lat, reading, level, ts
Task: Retrieve level from evaporation that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021858 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, lat, reading, ts
Sensor: frost | fields: lon, level, type, value
Task: Fetch lon from cloud_cover where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021859 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: unit, value, lat, ts
Sensor: pressure | fields: type, value, lat, level
Task: Get depth from humidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021860 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lat, value, level
Sensor: lightning | fields: value, depth, unit, lon
Task: Retrieve value from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021861 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, level, lat, lon
Sensor: air_quality | fields: reading, level, lon, value
Task: Fetch reading from pressure that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021862 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lon, lat, ts, unit
Sensor: turbidity | fields: qc, level, ts, lat
Task: Fetch level from uv_index where depth is greater than the average of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021863 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, lat, level, unit
Sensor: snow_depth | fields: lon, level, value, unit
Task: Retrieve value from soil_moisture that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021864 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, depth, ts, lat
Sensor: lightning | fields: qc, depth, type, lat
Task: Retrieve reading from soil_moisture whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021865 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, reading, depth, lat
Sensor: rainfall | fields: reading, ts, qc, level
Task: Get reading from snow_depth where value exceeds the minimum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021866 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, lat, ts, reading
Sensor: dew_point | fields: lon, value, level, lat
Task: Retrieve value from sunlight with reading above the MAX(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021867 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, lat, level, value
Sensor: evaporation | fields: reading, lat, depth, lon
Task: Fetch lat from pressure where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021868 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, reading, lat, level
Sensor: evaporation | fields: reading, depth, value, unit
Task: Get value from lightning where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021869 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: value, lon, depth, ts
Sensor: frost | fields: lat, qc, lon, depth
Task: Get lat from turbidity where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021870 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: unit, ts, depth, lat
Sensor: air_quality | fields: qc, type, lon, reading
Task: Retrieve reading from humidity with depth above the MAX(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021871 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, lon, depth, ts
Sensor: air_quality | fields: reading, depth, lat, type
Task: Retrieve lon from frost with depth above the COUNT(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021872 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, value, level, lon
Sensor: rainfall | fields: qc, level, reading, type
Task: Fetch value from cloud_cover where ts exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021873 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, lat, reading, unit
Sensor: lightning | fields: lat, value, level, reading
Task: Retrieve depth from drought_index with value above the MAX(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021874 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lon, qc, type, depth
Sensor: turbidity | fields: lon, qc, depth, lat
Task: Fetch lon from visibility where type exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021875 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, depth, ts, level
Sensor: lightning | fields: lon, level, value, unit
Task: Get level from wind_speed where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021876 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, lat, value, unit
Sensor: visibility | fields: level, qc, reading, ts
Task: Retrieve reading from sunlight with reading above the MIN(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021877 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, unit, reading, value
Sensor: sunlight | fields: lon, unit, ts, value
Task: Retrieve level from humidity with value above the COUNT(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021878 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: value, reading, unit, type
Sensor: drought_index | fields: lon, qc, type, reading
Task: Get depth from sunlight where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021879 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, ts, depth, type
Sensor: cloud_cover | fields: lat, depth, reading, lon
Task: Fetch depth from uv_index that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021880 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: qc, unit, ts, lon
Sensor: drought_index | fields: level, ts, type, lon
Task: Fetch level from pressure where value is greater than the average of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021881 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, level, ts, lat
Sensor: visibility | fields: type, qc, value, lon
Task: Retrieve depth from evaporation whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021882 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, reading, unit, type
Sensor: snow_depth | fields: lat, qc, ts, type
Task: Get depth from soil_moisture where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021883 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, level, depth, value
Sensor: sunlight | fields: unit, value, ts, depth
Task: Fetch value from uv_index that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021884 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lon, depth, qc, type
Sensor: evaporation | fields: level, type, qc, value
Task: Fetch level from rainfall where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021885 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, unit, qc, lon
Sensor: wind_speed | fields: ts, value, level, lat
Task: Retrieve lat from lightning that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021886 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, depth, unit, type
Sensor: wind_speed | fields: qc, ts, lat, depth
Task: Retrieve depth from pressure that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021887 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: reading, ts, type, lat
Sensor: uv_index | fields: level, type, lon, ts
Task: Retrieve depth from rainfall with value above the SUM(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021888 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, lat, type, ts
Sensor: air_quality | fields: lon, level, type, depth
Task: Retrieve lon from evaporation with value above the MIN(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021889 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, unit, level, lon
Sensor: temperature | fields: type, lon, level, qc
Task: Fetch depth from visibility where ts exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021890 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, lat, type, ts
Sensor: soil_moisture | fields: value, ts, lat, type
Task: Get value from cloud_cover where reading exceeds the average value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021891 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, unit, depth, lon
Sensor: dew_point | fields: value, type, qc, unit
Task: Fetch reading from wind_speed where reading is greater than the count of of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021892 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, lat, reading, depth
Sensor: cloud_cover | fields: unit, lat, level, qc
Task: Get value from turbidity where value exceeds the count of value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021893 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, level, lat, ts
Sensor: drought_index | fields: lon, qc, unit, depth
Task: Get depth from cloud_cover where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021894 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: value, type, ts, depth
Sensor: air_quality | fields: reading, ts, value, lat
Task: Fetch level from rainfall that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021895 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, qc, level, lat
Sensor: lightning | fields: level, value, type, reading
Task: Fetch reading from pressure where depth is greater than the average of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021896 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lon, reading, level
Sensor: wind_speed | fields: level, qc, reading, lon
Task: Get lon from air_quality where depth exceeds the count of reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021897 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: qc, type, value, lat
Sensor: uv_index | fields: lat, ts, reading, depth
Task: Get level from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021898 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: reading, type, qc, level
Sensor: lightning | fields: depth, qc, reading, value
Task: Fetch depth from rainfall that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.