variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, type, ts, lat
Sensor: snow_depth | fields: value, depth, type, level
Task: Get depth from rainfall where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018900 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, depth, ts, unit
Sensor: cloud_cover | fields: type, qc, level, depth
Task: Fetch lat from humidity that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018901 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, qc, level, lat
Sensor: dew_point | fields: qc, level, unit, depth
Task: Fetch depth from soil_moisture where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018902 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: qc, level, reading, depth
Sensor: lightning | fields: value, lat, type, ts
Task: Fetch depth from temperature where reading is greater than the minimum of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018903 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, type, ts, unit
Sensor: snow_depth | fields: value, lat, level, type
Task: Get value from frost where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018904 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lat, reading, unit
Sensor: humidity | fields: lat, type, qc, value
Task: Retrieve level from soil_moisture whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018905 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, depth, value, ts
Sensor: evaporation | fields: unit, reading, value, type
Task: Fetch value from uv_index where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018906 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, lat, value, unit
Sensor: dew_point | fields: qc, level, lon, depth
Task: Fetch lon from cloud_cover where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018907 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, depth, reading, qc
Sensor: uv_index | fields: reading, depth, type, lat
Task: Retrieve level from air_quality whose depth is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018908 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, lat, type, qc
Sensor: pressure | fields: type, qc, unit, lat
Task: Retrieve level from sunlight whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018909 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, qc, reading
Sensor: turbidity | fields: depth, lon, ts, lat
Task: Get lon from evaporation where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018910 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, value, qc
Sensor: pressure | fields: type, reading, level, lat
Task: Fetch value from air_quality where reading is greater than the count of of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"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_018911 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, ts, depth, unit
Sensor: pressure | fields: depth, lon, reading, unit
Task: Retrieve lon from rainfall with reading above the SUM(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018912 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, depth, unit, qc
Sensor: lightning | fields: type, qc, reading, lon
Task: Get reading from snow_depth where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018913 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, level, lat, lon
Sensor: evaporation | fields: level, lon, qc, type
Task: Fetch level from rainfall where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018914 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, lat, depth, lon
Sensor: lightning | fields: qc, lon, level, unit
Task: Get lon from snow_depth where depth exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018915 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, value, reading, type
Sensor: humidity | fields: lon, type, reading, ts
Task: Get reading from pressure where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018916 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, qc, ts, lon
Sensor: soil_moisture | fields: qc, ts, lon, unit
Task: Get lat from evaporation where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018917 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, qc, ts, value
Sensor: wind_speed | fields: qc, reading, value, level
Task: Retrieve depth from snow_depth whose qc is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018918 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: value, reading, level, lat
Sensor: wind_speed | fields: qc, value, ts, level
Task: Retrieve lat from frost that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018919 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, level, ts, qc
Sensor: drought_index | fields: type, lon, unit, level
Task: Retrieve value from snow_depth with depth above the SUM(value) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018920 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, ts, depth, unit
Sensor: frost | fields: lat, reading, depth, qc
Task: Retrieve level from turbidity with depth above the AVG(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018921 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: lon, unit, reading, value
Sensor: visibility | fields: lon, ts, level, reading
Task: Retrieve lat from evaporation whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018922 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, value, lon, unit
Sensor: rainfall | fields: level, reading, value, qc
Task: Retrieve depth from dew_point with depth above the SUM(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018923 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, ts, level, qc
Sensor: soil_moisture | fields: qc, unit, lon, type
Task: Retrieve depth from sunlight whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018924 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: depth, ts, qc, reading
Sensor: wind_speed | fields: value, level, ts, type
Task: Retrieve lon from turbidity with value above the MAX(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018925 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, value, depth, qc
Sensor: wind_speed | fields: level, lon, ts, reading
Task: Fetch lon from sunlight where depth is greater than the total of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018926 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, qc, unit, value
Sensor: wind_speed | fields: reading, lat, ts, level
Task: Retrieve value from drought_index whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018927 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, qc, depth, type
Sensor: dew_point | fields: level, lat, lon, depth
Task: Fetch value from rainfall where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018928 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lat, unit, ts, qc
Sensor: pressure | fields: value, level, qc, depth
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018929 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, value, type, level
Sensor: visibility | fields: value, type, unit, ts
Task: Get level from pressure where reading exceeds the average value from visibility for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018930 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, lat, value, depth
Sensor: rainfall | fields: type, value, unit, lon
Task: Fetch value from frost where reading is greater than the average of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018931 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, ts, qc, lat
Sensor: visibility | fields: level, lat, reading, value
Task: Get lat from drought_index where depth exceeds the minimum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018932 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, lon, qc
Sensor: uv_index | fields: unit, reading, qc, lon
Task: Retrieve depth from visibility with value above the MIN(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"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_018933 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, qc, level, depth
Sensor: uv_index | fields: reading, depth, qc, unit
Task: Fetch value from frost where value is greater than the count of of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018934 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, type, value, lon
Sensor: humidity | fields: reading, value, depth, unit
Task: Get value from soil_moisture where value exceeds the total reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018935 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, depth, lat, unit
Sensor: turbidity | fields: lat, lon, value, depth
Task: Retrieve level from temperature whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018936 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, value, depth, ts
Sensor: dew_point | fields: qc, lat, unit, reading
Task: Fetch depth from sunlight where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018937 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, lon, reading, level
Sensor: cloud_cover | fields: reading, qc, level, depth
Task: Get depth from pressure where reading exceeds the minimum reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018938 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, depth, lat, reading
Sensor: temperature | fields: level, lon, value, reading
Task: Retrieve lat from snow_depth whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018939 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, level, unit, value
Sensor: uv_index | fields: lat, qc, level, reading
Task: Fetch lat from evaporation that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018940 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: ts, depth, lon, reading
Sensor: visibility | fields: unit, qc, lat, reading
Task: Retrieve reading from dew_point that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018941 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: depth, lon, qc, ts
Sensor: evaporation | fields: ts, lat, qc, value
Task: Fetch reading from lightning that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018942 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: value, lon, type, lat
Sensor: frost | fields: qc, reading, lon, type
Task: Retrieve level from wind_speed with value above the SUM(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018943 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: unit, reading, type, lon
Sensor: evaporation | fields: ts, type, unit, lat
Task: Fetch lon from visibility where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018944 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, qc, unit, depth
Sensor: soil_moisture | fields: depth, qc, type, value
Task: Retrieve lat from snow_depth with value above the SUM(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018945 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, value, level, depth
Sensor: frost | fields: unit, depth, lon, level
Task: Fetch depth from wind_speed where reading is greater than the count of of value in frost for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018946 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, depth, unit, ts
Sensor: humidity | fields: depth, lon, qc, level
Task: Fetch lon from rainfall where value is greater than the total of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018947 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, depth, reading, value
Sensor: drought_index | fields: ts, lat, type, value
Task: Fetch reading from dew_point where reading is greater than the total of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018948 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, ts, lon, qc
Sensor: evaporation | fields: ts, unit, lon, depth
Task: Retrieve lat from wind_speed with reading above the COUNT(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018949 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: unit, depth, lon, level
Sensor: sunlight | fields: level, lat, lon, reading
Task: Fetch lon from turbidity where depth is greater than the maximum of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018950 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, reading, lon, depth
Sensor: sunlight | fields: lon, lat, qc, level
Task: Retrieve value from soil_moisture with depth above the SUM(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018951 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, qc, reading, ts
Sensor: pressure | fields: lat, reading, unit, depth
Task: Get level from snow_depth where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018952 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, lat, depth, unit
Sensor: pressure | fields: unit, qc, reading, lon
Task: Get level from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018953 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, lat, unit, type
Sensor: temperature | fields: lon, qc, level, unit
Task: Retrieve reading from air_quality with value above the AVG(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018954 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, lon, depth
Sensor: uv_index | fields: level, qc, lon, value
Task: Fetch depth from lightning that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018955 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, ts, lon, lat
Sensor: drought_index | fields: value, ts, type, level
Task: Get value from rainfall where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018956 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: lon, unit, value, qc
Sensor: visibility | fields: type, ts, depth, value
Task: Get reading from uv_index where depth exceeds the maximum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018957 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, level, reading, qc
Sensor: uv_index | fields: reading, ts, qc, type
Task: Fetch lat from drought_index where reading is greater than the maximum of depth in uv_index for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018958 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, lat, ts, depth
Sensor: soil_moisture | fields: lat, lon, ts, value
Task: Retrieve level from temperature with reading above the SUM(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018959 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: type, unit, lon, value
Sensor: humidity | fields: unit, type, value, qc
Task: Fetch reading from pressure where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018960 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, depth, ts
Sensor: pressure | fields: ts, reading, lat, depth
Task: Fetch depth from cloud_cover where reading is greater than the total of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018961 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, level, reading
Sensor: dew_point | fields: ts, unit, type, qc
Task: Retrieve value from sunlight with reading above the AVG(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018962 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: value, lon, depth, lat
Sensor: lightning | fields: ts, type, lat, qc
Task: Fetch value from turbidity that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018963 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, depth, level, value
Sensor: turbidity | fields: type, lat, qc, level
Task: Fetch level from evaporation where unit exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018964 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, qc, level, unit
Sensor: soil_moisture | fields: lat, level, qc, type
Task: Fetch lat from temperature that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018965 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, value, qc, reading
Sensor: sunlight | fields: lat, reading, type, value
Task: Retrieve level from wind_speed that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018966 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, type, reading, ts
Sensor: temperature | fields: qc, type, ts, value
Task: Retrieve depth from snow_depth with depth above the AVG(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018967 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, qc, lon, value
Sensor: drought_index | fields: lat, value, reading, ts
Task: Retrieve depth from temperature whose type is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018968 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, lon, lat, type
Sensor: pressure | fields: depth, reading, level, value
Task: Get lat from turbidity where depth exceeds the count of value from pressure for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018969 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, qc, lat, ts
Sensor: wind_speed | fields: lon, type, depth, reading
Task: Get depth from dew_point where qc appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018970 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, depth, reading, level
Sensor: temperature | fields: lat, depth, reading, value
Task: Get value from rainfall where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018971 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, qc, type, reading
Sensor: sunlight | fields: depth, reading, unit, value
Task: Fetch lat from turbidity that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018972 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: qc, lon, depth, ts
Sensor: wind_speed | fields: type, unit, lat, depth
Task: Fetch value from pressure that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018973 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, ts, type, level
Sensor: drought_index | fields: lon, ts, type, qc
Task: Retrieve value from snow_depth whose type is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018974 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, qc, lat, lon
Sensor: air_quality | fields: lat, value, qc, lon
Task: Retrieve level from snow_depth whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018975 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lon, type, unit
Sensor: temperature | fields: type, depth, lon, ts
Task: Retrieve level from turbidity that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018976 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, reading, type, unit
Sensor: lightning | fields: reading, level, value, type
Task: Get depth from air_quality where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018977 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: ts, reading, qc, unit
Sensor: air_quality | fields: ts, type, value, lat
Task: Fetch level from dew_point where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018978 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, qc, lon, value
Sensor: visibility | fields: qc, value, lat, type
Task: Get lon from humidity where unit appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018979 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, reading, lon, lat
Sensor: pressure | fields: lon, value, level, lat
Task: Fetch depth from temperature where value is greater than the maximum of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018980 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, value, unit, reading
Sensor: evaporation | fields: value, reading, depth, unit
Task: Retrieve level from drought_index with reading above the SUM(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018981 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, value, lat, type
Sensor: drought_index | fields: ts, value, depth, lat
Task: Get level from soil_moisture where depth exceeds the minimum depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018982 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, value, type, qc
Sensor: turbidity | fields: ts, type, reading, value
Task: Fetch value from humidity where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018983 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lon, type, reading, depth
Sensor: drought_index | fields: qc, ts, lon, lat
Task: Get lat from humidity where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018984 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: level, depth, qc, unit
Sensor: pressure | fields: lon, depth, type, ts
Task: Fetch level from frost where value is greater than the count of of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018985 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, ts, lat, unit
Sensor: snow_depth | fields: type, depth, lon, level
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018986 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, lon, unit, level
Sensor: sunlight | fields: lat, ts, unit, reading
Task: Fetch lon from cloud_cover where depth is greater than the total of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018987 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, qc, lat, reading
Sensor: humidity | fields: unit, lon, depth, lat
Task: Fetch depth from sunlight where reading is greater than the maximum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018988 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, depth, qc, level
Sensor: temperature | fields: value, qc, lat, ts
Task: Fetch lon from cloud_cover that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018989 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, unit, level, value
Sensor: pressure | fields: type, unit, lon, ts
Task: Fetch depth from air_quality where value is greater than the maximum of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018990 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: lat, level, reading, depth
Sensor: humidity | fields: level, reading, ts, qc
Task: Get value from evaporation where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018991 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, ts, reading
Sensor: lightning | fields: ts, reading, value, type
Task: Retrieve value from cloud_cover whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018992 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, level, lon, value
Sensor: air_quality | fields: depth, type, ts, reading
Task: Fetch lat from snow_depth where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018993 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, type, unit, lon
Sensor: air_quality | fields: ts, qc, unit, value
Task: Fetch reading from lightning where value is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018994 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: value, level, unit, depth
Sensor: humidity | fields: unit, value, lon, level
Task: Retrieve lon from frost with depth above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018995 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, qc, lon, type
Sensor: air_quality | fields: reading, type, qc, unit
Task: Fetch lon from evaporation where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018996 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: ts, lon, level, reading
Sensor: sunlight | fields: level, value, qc, lon
Task: Get level from uv_index where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018997 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, unit, value, depth
Sensor: evaporation | fields: depth, qc, reading, level
Task: Retrieve level from uv_index that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018998 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, lat, level, ts
Sensor: turbidity | fields: qc, unit, level, depth
Task: Retrieve lon from dew_point that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.