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: humidity | code: clr | fields: unit, type, value, lon
Sensor: soil_moisture | fields: value, lon, lat, qc
Task: Fetch reading from humidity where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024300 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: depth, value, lat, qc
Sensor: cloud_cover | fields: reading, value, level, qc
Task: Retrieve lat from frost whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024301 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, level, lat, reading
Sensor: air_quality | fields: value, ts, qc, unit
Task: Get lon from frost where depth exceeds the total reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024302 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, level, lat, qc
Sensor: temperature | fields: lat, lon, depth, reading
Task: Retrieve value from wind_speed with value above the COUNT(depth) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024303 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, reading, level, value
Sensor: snow_depth | fields: value, level, lon, depth
Task: Retrieve reading from frost with depth above the COUNT(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024304 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lat, type, unit, level
Sensor: turbidity | fields: lat, depth, reading, qc
Task: Fetch reading from dew_point where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024305 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: depth, lat, level, value
Sensor: air_quality | fields: type, unit, reading, level
Task: Get reading from temperature where value exceeds the maximum reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024306 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, value, unit, lon
Sensor: sunlight | fields: unit, depth, lon, ts
Task: Retrieve lat from soil_moisture whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024307 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, lat, ts
Sensor: sunlight | fields: unit, depth, lon, value
Task: Retrieve lon from turbidity whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024308 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, qc, reading, type
Sensor: dew_point | fields: unit, level, lon, ts
Task: Retrieve value from snow_depth that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024309 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, type, lat, reading
Sensor: visibility | fields: lon, value, depth, ts
Task: Get level from pressure where reading exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024310 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, type, level, reading
Sensor: temperature | fields: type, lon, ts, reading
Task: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024311 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, lat, value, level
Sensor: lightning | fields: value, qc, level, type
Task: Retrieve lon from pressure that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024312 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, lat, type
Sensor: dew_point | fields: ts, level, reading, qc
Task: Fetch level from humidity that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024313 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: ts, type, reading, lat
Sensor: rainfall | fields: depth, value, ts, reading
Task: Fetch reading from dew_point where depth is greater than the maximum of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024314 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: ts, type, qc, lon
Sensor: pressure | fields: type, unit, reading, depth
Task: Fetch reading from frost where depth is greater than the average of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024315 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: depth, value, lat, unit
Sensor: pressure | fields: lon, qc, lat, level
Task: Retrieve lat from humidity whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024316 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, level, qc, ts
Sensor: dew_point | fields: unit, reading, lon, lat
Task: Retrieve lon from frost whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024317 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, unit, lon, reading
Sensor: soil_moisture | fields: lat, lon, type, value
Task: Retrieve depth from drought_index with reading above the AVG(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024318 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, level, lat, depth
Sensor: turbidity | fields: unit, lon, qc, depth
Task: Get value from frost where qc appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024319 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, type, unit, reading
Sensor: snow_depth | fields: reading, type, value, ts
Task: Fetch value from visibility where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024320 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, unit, reading, depth
Sensor: visibility | fields: unit, level, reading, depth
Task: Retrieve level from sunlight with value above the AVG(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024321 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, lon, depth, qc
Sensor: uv_index | fields: value, lat, lon, ts
Task: Fetch reading from rainfall where reading is greater than the minimum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024322 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, reading, lat, ts
Sensor: frost | fields: lon, qc, unit, depth
Task: Get lon from sunlight where value exceeds the count of reading from frost for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024323 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, lon, type, ts
Sensor: drought_index | fields: qc, ts, depth, reading
Task: Get level from turbidity where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024324 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: unit, reading, qc, level
Sensor: cloud_cover | fields: depth, lat, unit, value
Task: Get reading from sunlight where depth exceeds the minimum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024325 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, qc, reading, unit
Sensor: lightning | fields: lat, reading, qc, depth
Task: Get level from air_quality where depth exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024326 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, unit, ts, reading
Sensor: cloud_cover | fields: reading, level, lon, unit
Task: Get lon from dew_point where reading exceeds the maximum reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024327 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, lon, reading, qc
Sensor: sunlight | fields: depth, unit, type, ts
Task: Retrieve level from snow_depth whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024328 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, depth, level, ts
Sensor: humidity | fields: value, lon, level, depth
Task: Get value from turbidity where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024329 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, depth, qc, type
Sensor: dew_point | fields: type, reading, lat, value
Task: Get level from pressure where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024330 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, depth, lat
Sensor: sunlight | fields: depth, qc, level, reading
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024331 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: level, qc, value, lon
Sensor: soil_moisture | fields: depth, reading, type, qc
Task: Retrieve depth from visibility with value above the COUNT(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024332 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, unit, qc, level
Sensor: cloud_cover | fields: unit, type, level, qc
Task: Fetch reading from pressure where depth is greater than the maximum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024333 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, lat, unit, type
Sensor: uv_index | fields: qc, level, lon, type
Task: Retrieve level from pressure whose depth is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024334 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: unit, qc, lon, lat
Sensor: snow_depth | fields: type, qc, depth, level
Task: Fetch reading from sunlight where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024335 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, ts, level, depth
Sensor: frost | fields: qc, unit, type, lon
Task: Fetch lat from sunlight where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024336 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, ts, depth, unit
Sensor: uv_index | fields: lon, ts, qc, depth
Task: Retrieve lon from cloud_cover that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024337 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, qc, reading, unit
Sensor: humidity | fields: qc, level, reading, type
Task: Retrieve lat from drought_index with reading above the COUNT(reading) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024338 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: type, reading, level, ts
Sensor: soil_moisture | fields: value, level, qc, unit
Task: Fetch lon from rainfall where depth is greater than the maximum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024339 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, lon, value, reading
Sensor: snow_depth | fields: lat, type, unit, qc
Task: Retrieve level from lightning with value above the MIN(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024340 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, level, depth, reading
Sensor: drought_index | fields: level, qc, lon, unit
Task: Retrieve level from humidity with value above the MIN(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024341 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: qc, value, lat, level
Sensor: visibility | fields: ts, unit, lat, value
Task: Fetch lon from dew_point where depth exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024342 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: level, ts, value, lon
Sensor: air_quality | fields: ts, qc, unit, depth
Task: Retrieve depth from dew_point that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024343 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: unit, qc, reading, type
Sensor: uv_index | fields: level, ts, qc, lon
Task: Fetch level from evaporation where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024344 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, level, unit, qc
Sensor: temperature | fields: reading, ts, level, lon
Task: Retrieve value from turbidity with value above the SUM(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024345 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: type, qc, lat, depth
Sensor: evaporation | fields: lat, ts, type, unit
Task: Retrieve level from uv_index with value above the MIN(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024346 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lat, level, lon, depth
Sensor: cloud_cover | fields: lat, type, depth, lon
Task: Retrieve depth from humidity whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024347 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, depth, value, qc
Sensor: drought_index | fields: type, reading, lat, level
Task: Get value from soil_moisture where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024348 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, ts, qc, lat
Sensor: wind_speed | fields: value, depth, type, reading
Task: Get depth from soil_moisture where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024349 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, lat, qc, depth
Sensor: lightning | fields: level, lon, ts, reading
Task: Retrieve depth from frost whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024350 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: value, type, ts, level
Sensor: evaporation | fields: depth, value, unit, lon
Task: Fetch depth from dew_point where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024351 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lon, depth, level, ts
Sensor: snow_depth | fields: value, ts, qc, depth
Task: Retrieve lat from evaporation whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024352 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: unit, reading, lat, level
Sensor: sunlight | fields: qc, depth, lon, unit
Task: Fetch reading from temperature that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024353 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, ts, value, unit
Sensor: frost | fields: qc, value, type, ts
Task: Retrieve reading from wind_speed with reading above the MAX(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024354 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, reading, value, unit
Sensor: snow_depth | fields: lon, value, level, type
Task: Get lon from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024355 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: value, unit, lon, lat
Sensor: drought_index | fields: lon, value, lat, depth
Task: Get lon from frost where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024356 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lat, level, depth
Sensor: rainfall | fields: qc, type, level, value
Task: Get reading from wind_speed where reading exceeds the total value from rainfall for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024357 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, qc, depth, type
Sensor: visibility | fields: lat, type, reading, level
Task: Retrieve depth from turbidity with value above the MAX(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024358 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, lon, level, depth
Sensor: temperature | fields: depth, value, qc, level
Task: Fetch depth from snow_depth where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024359 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, depth, lon, lat
Sensor: rainfall | fields: unit, reading, type, lat
Task: Retrieve reading from lightning that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024360 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, qc, ts
Sensor: frost | fields: unit, ts, value, depth
Task: Fetch reading from snow_depth where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024361 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: level, lat, type, unit
Sensor: visibility | fields: depth, reading, lon, lat
Task: Fetch lat from temperature where value is greater than the average of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024362 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, lat, ts, depth
Sensor: humidity | fields: qc, ts, reading, lat
Task: Get value from snow_depth where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024363 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, lon, qc
Sensor: drought_index | fields: lon, unit, value, level
Task: Retrieve value from sunlight with depth above the SUM(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024364 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, unit, reading, depth
Sensor: soil_moisture | fields: unit, depth, qc, level
Task: Retrieve reading from uv_index with depth above the MAX(depth) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024365 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, qc, ts, reading
Sensor: frost | fields: unit, type, value, depth
Task: Fetch value from temperature that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024366 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, lon, level
Sensor: sunlight | fields: unit, depth, lat, reading
Task: Fetch lon from cloud_cover where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024367 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, lat, reading, level
Sensor: air_quality | fields: value, reading, unit, lat
Task: Retrieve depth from pressure with depth above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024368 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: depth, level, lat, type
Sensor: turbidity | fields: lat, level, ts, unit
Task: Get value from air_quality where reading exceeds the total depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024369 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: value, qc, unit, ts
Sensor: uv_index | fields: lat, reading, qc, depth
Task: Get depth from frost where value exceeds the count of value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024370 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, level, lon, ts
Sensor: frost | fields: lon, unit, ts, type
Task: Fetch level from temperature where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024371 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, level, ts, value
Sensor: turbidity | fields: ts, unit, reading, value
Task: Fetch lat from rainfall that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024372 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, depth, qc, type
Sensor: soil_moisture | fields: lon, type, value, qc
Task: Fetch level from pressure that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024373 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, depth, unit, reading
Sensor: dew_point | fields: depth, reading, lon, unit
Task: Retrieve lat from soil_moisture with value above the MIN(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024374 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, reading, unit
Sensor: visibility | fields: qc, ts, type, unit
Task: Fetch reading from drought_index where value is greater than the count of of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024375 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, reading, lat, type
Sensor: uv_index | fields: level, lon, value, lat
Task: Retrieve depth from turbidity whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024376 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: reading, qc, value, depth
Sensor: rainfall | fields: ts, lat, level, qc
Task: Fetch level from sunlight where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024377 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, unit, reading, level
Sensor: wind_speed | fields: lat, reading, lon, ts
Task: Get value from turbidity where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024378 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, type, unit, qc
Sensor: temperature | fields: unit, level, qc, lon
Task: Fetch reading from lightning that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024379 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, level, unit, qc
Sensor: wind_speed | fields: type, lon, level, lat
Task: Fetch reading from dew_point where reading is greater than the total of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024380 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, level, value, qc
Sensor: evaporation | fields: qc, depth, level, lon
Task: Fetch depth from pressure where value is greater than the count of of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024381 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lon, type, ts, depth
Sensor: soil_moisture | fields: depth, qc, lon, unit
Task: Retrieve reading from air_quality with reading above the MAX(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024382 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, level, unit, reading
Sensor: air_quality | fields: ts, value, unit, lat
Task: Get depth from wind_speed where unit appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024383 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: level, value, lon, ts
Sensor: cloud_cover | fields: qc, depth, unit, lon
Task: Retrieve value from dew_point whose depth is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024384 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, reading, type, qc
Sensor: visibility | fields: value, lat, ts, reading
Task: Fetch level from soil_moisture where reading is greater than the average of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024385 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lat, lon, type, ts
Sensor: turbidity | fields: lat, qc, depth, unit
Task: Get lon from rainfall where value exceeds the minimum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024386 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, value, ts, unit
Sensor: humidity | fields: level, unit, lon, type
Task: Get depth from dew_point where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024387 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, level, ts, lon
Sensor: cloud_cover | fields: lon, qc, depth, level
Task: Fetch depth from frost that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024388 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: type, depth, reading, unit
Sensor: dew_point | fields: unit, depth, qc, type
Task: Get lat from sunlight where ts appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024389 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, value, reading, type
Sensor: dew_point | fields: qc, level, value, type
Task: Get lat from evaporation where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024390 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, unit, ts, type
Sensor: turbidity | fields: unit, depth, value, lon
Task: Fetch depth from frost where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024391 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: unit, value, lat, lon
Sensor: soil_moisture | fields: lon, qc, type, value
Task: Retrieve value from visibility that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024392 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: unit, value, lat, reading
Sensor: temperature | fields: reading, type, level, unit
Task: Get lon from humidity where depth exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024393 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, level, reading, unit
Sensor: frost | fields: lon, reading, lat, type
Task: Retrieve lon from air_quality with value above the AVG(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024394 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: type, depth, level, lat
Sensor: wind_speed | fields: value, depth, reading, lat
Task: Retrieve depth from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_024395 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, unit, depth, ts
Sensor: dew_point | fields: lat, ts, level, type
Task: Get lon from humidity where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024396 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, value, unit, type
Sensor: evaporation | fields: type, ts, value, qc
Task: Retrieve reading from air_quality whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024397 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: reading, type, depth, ts
Sensor: rainfall | fields: unit, type, lon, lat
Task: Get lon from pressure where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024398 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: qc, depth, ts, level
Sensor: humidity | fields: type, depth, qc, unit
Task: Retrieve lat from sunlight with depth above the SUM(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_024399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.