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: sunlight | code: mst | fields: lat, ts, reading, lon
Sensor: humidity | fields: ts, type, value, level
Task: Fetch level from sunlight where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015600 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, unit, level, depth
Sensor: visibility | fields: ts, level, reading, qc
Task: Retrieve value from uv_index that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015601 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, level, ts, type
Sensor: lightning | fields: reading, ts, depth, qc
Task: Fetch level from sunlight where depth is greater than the maximum of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015602 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, qc, unit, level
Sensor: sunlight | fields: level, lon, qc, depth
Task: Get depth from turbidity where unit appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015603 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, qc, level, lat
Sensor: uv_index | fields: qc, depth, lat, ts
Task: Fetch reading from frost where value is greater than the minimum of reading in uv_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015604 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, type, unit, ts
Sensor: dew_point | fields: depth, ts, level, value
Task: Get lat from humidity where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015605 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, type, depth, ts
Sensor: uv_index | fields: unit, value, lon, depth
Task: Retrieve value from dew_point that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015606 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, type, value, qc
Sensor: evaporation | fields: reading, level, unit, qc
Task: Retrieve depth from lightning that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015607 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, qc, lon, unit
Sensor: uv_index | fields: level, value, ts, qc
Task: Fetch level from frost where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015608 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, lon, reading, ts
Sensor: soil_moisture | fields: level, lon, lat, unit
Task: Retrieve lat from turbidity that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015609 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, ts, lat, depth
Sensor: temperature | fields: qc, depth, type, level
Task: Fetch level from snow_depth where depth is greater than the count of of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015610 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, value, type, unit
Sensor: sunlight | fields: level, type, reading, ts
Task: Fetch lon from temperature where reading is greater than the average of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015611 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, unit, depth, level
Sensor: sunlight | fields: type, lat, value, ts
Task: Retrieve level from wind_speed whose depth is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015612 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: type, level, depth, lon
Sensor: soil_moisture | fields: unit, value, depth, lat
Task: Fetch lat from humidity where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015613 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: value, type, lon, lat
Sensor: rainfall | fields: level, depth, reading, lon
Task: Get level from evaporation where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015614 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, depth, type, level
Sensor: turbidity | fields: type, lat, reading, ts
Task: Fetch lat from dew_point that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015615 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, lon, ts, qc
Sensor: air_quality | fields: reading, qc, ts, unit
Task: Get value from sunlight where unit appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015616 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, lon, value, qc
Sensor: sunlight | fields: reading, level, qc, lat
Task: Get reading from uv_index where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015617 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, lat, unit, reading
Sensor: temperature | fields: lon, value, lat, level
Task: Retrieve level from uv_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015618 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, lat, type, value
Sensor: snow_depth | fields: level, type, reading, lat
Task: Retrieve lon from soil_moisture whose depth is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015619 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lat, depth, qc
Sensor: soil_moisture | fields: lat, reading, lon, type
Task: Fetch lat from sunlight that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015620 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: ts, qc, type, lon
Sensor: cloud_cover | fields: lon, ts, value, depth
Task: Retrieve lon from drought_index whose depth is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015621 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, qc, value, lat
Sensor: lightning | fields: depth, reading, level, lon
Task: Retrieve value from frost with value above the AVG(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015622 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, value, lon, qc
Sensor: cloud_cover | fields: ts, level, lon, lat
Task: Get reading from temperature where reading exceeds the count of reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015623 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, value, lat, qc
Sensor: snow_depth | fields: qc, lon, value, reading
Task: Fetch lat from evaporation where reading is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015624 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, ts, level, depth
Sensor: humidity | fields: type, qc, reading, lat
Task: Get level from visibility where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015625 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, lat, level, type
Sensor: turbidity | fields: qc, level, lat, value
Task: Retrieve lon from soil_moisture whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015626 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, unit, type, value
Sensor: humidity | fields: qc, unit, reading, level
Task: Retrieve lat from pressure whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015627 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, qc, ts, value
Sensor: snow_depth | fields: qc, unit, type, ts
Task: Retrieve lon from wind_speed whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015628 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: depth, lat, qc, level
Sensor: pressure | fields: depth, ts, level, reading
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015629 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, depth, lat, lon
Sensor: cloud_cover | fields: value, lon, unit, level
Task: Retrieve level from rainfall with value above the SUM(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015630 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, type, ts, depth
Sensor: rainfall | fields: lat, value, unit, qc
Task: Get lon from soil_moisture where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015631 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, level, lat, type
Sensor: visibility | fields: level, qc, lon, value
Task: Fetch level from snow_depth that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015632 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, ts, lon, level
Sensor: soil_moisture | fields: lat, level, depth, value
Task: Fetch lat from humidity where ts exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015633 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: level, lon, type, reading
Sensor: drought_index | fields: value, type, ts, lat
Task: Fetch reading from sunlight where type exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015634 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, reading, ts, type
Sensor: humidity | fields: lon, qc, type, depth
Task: Get level from wind_speed where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015635 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: type, unit, qc, reading
Sensor: humidity | fields: type, unit, qc, depth
Task: Get depth from evaporation where reading exceeds the average reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015636 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: type, ts, reading, value
Sensor: humidity | fields: lat, reading, ts, qc
Task: Retrieve value from snow_depth whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015637 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, type, depth, reading
Sensor: turbidity | fields: depth, reading, type, level
Task: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015638 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, lon, ts
Sensor: visibility | fields: depth, qc, lon, value
Task: Retrieve value from lightning that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015639 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: qc, ts, unit, level
Sensor: turbidity | fields: qc, level, reading, ts
Task: Fetch level from pressure that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015640 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, qc, unit, ts
Sensor: pressure | fields: qc, level, depth, lat
Task: Retrieve lon from dew_point that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015641 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, reading, value, lon
Sensor: pressure | fields: qc, ts, lat, lon
Task: Retrieve lon from evaporation with reading above the MAX(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015642 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lon, level, qc, type
Sensor: lightning | fields: reading, ts, value, lat
Task: Retrieve lat from humidity whose ts is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015643 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, ts, unit, reading
Sensor: snow_depth | fields: qc, level, unit, lon
Task: Retrieve reading from drought_index that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015644 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, ts, lat, reading
Sensor: pressure | fields: qc, unit, reading, lat
Task: Retrieve reading from lightning whose type is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015645 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, unit, value, lat
Sensor: cloud_cover | fields: type, lon, value, unit
Task: Retrieve lon from drought_index with value above the SUM(reading) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015646 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, lon, level, value
Sensor: dew_point | fields: type, reading, lon, depth
Task: Get lon from temperature where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015647 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, level, unit, ts
Sensor: cloud_cover | fields: lon, type, ts, value
Task: Fetch value from soil_moisture that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015648 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: level, value, reading, depth
Sensor: visibility | fields: ts, lat, unit, level
Task: Fetch level from wind_speed where depth is greater than the count of of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015649 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, qc, lon
Sensor: cloud_cover | fields: level, reading, lat, value
Task: Retrieve value from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015650 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, level, lon, lat
Sensor: evaporation | fields: depth, unit, type, level
Task: Get depth from humidity where value exceeds the average reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015651 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, qc, type, lon
Sensor: visibility | fields: lat, level, lon, unit
Task: Get lon from lightning where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015652 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, type, qc, unit
Sensor: drought_index | fields: ts, depth, reading, value
Task: Retrieve depth from humidity that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015653 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: lon, qc, depth, reading
Sensor: cloud_cover | fields: depth, value, reading, ts
Task: Fetch lon from pressure where reading is greater than the count of of value in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015654 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, value, type, lat
Sensor: air_quality | fields: type, value, lon, reading
Task: Fetch depth from sunlight where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015655 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lon, lat, type
Sensor: lightning | fields: reading, ts, depth, qc
Task: Fetch reading from snow_depth where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015656 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, lon, unit, ts
Sensor: rainfall | fields: type, lon, value, level
Task: Retrieve value from visibility whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015657 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: level, reading, depth, unit
Sensor: pressure | fields: unit, lon, type, depth
Task: Get lon from visibility where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015658 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, lat, ts, value
Sensor: humidity | fields: lon, level, ts, qc
Task: Retrieve reading from frost with value above the MIN(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015659 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, lat, ts, value
Sensor: rainfall | fields: ts, type, depth, qc
Task: Retrieve depth from dew_point with reading above the MIN(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015660 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, depth, lat, value
Sensor: turbidity | fields: unit, type, value, level
Task: Fetch level from air_quality where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015661 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, reading, value, lon
Sensor: soil_moisture | fields: level, type, ts, value
Task: Fetch reading from wind_speed that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015662 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: reading, level, value, ts
Sensor: temperature | fields: qc, lon, ts, unit
Task: Fetch value from humidity where type exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015663 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, level, value, reading
Sensor: evaporation | fields: unit, depth, ts, lat
Task: Get level from drought_index where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015664 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, qc, level, value
Sensor: frost | fields: value, unit, qc, ts
Task: Retrieve depth from humidity that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015665 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, qc, unit, depth
Sensor: cloud_cover | fields: reading, qc, unit, depth
Task: Fetch depth from soil_moisture where depth exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015666 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, value, lat, type
Sensor: pressure | fields: unit, reading, value, ts
Task: Fetch depth from cloud_cover that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015667 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, ts, level, unit
Sensor: uv_index | fields: ts, type, unit, lat
Task: Get lon from visibility where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015668 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, unit, lon, type
Sensor: temperature | fields: value, ts, depth, unit
Task: Fetch reading from pressure that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015669 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, lon, lat, ts
Sensor: snow_depth | fields: type, unit, level, lat
Task: Fetch reading from rainfall where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015670 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, lon, reading, type
Sensor: dew_point | fields: depth, lat, lon, qc
Task: Get lat from rainfall where value exceeds the count of depth from dew_point for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015671 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: reading, level, unit, depth
Sensor: rainfall | fields: ts, depth, reading, lat
Task: Retrieve depth from evaporation with depth above the COUNT(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015672 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lat, ts, qc, level
Sensor: rainfall | fields: level, lon, unit, value
Task: Retrieve level from sunlight whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015673 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, value, ts, depth
Sensor: air_quality | fields: reading, unit, lat, value
Task: Fetch value from soil_moisture where depth is greater than the total of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015674 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, qc, type, level
Sensor: sunlight | fields: reading, level, type, qc
Task: Get level from dew_point where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015675 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: type, reading, level, lat
Sensor: rainfall | fields: value, qc, level, type
Task: Get reading from frost where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015676 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, depth, level, lat
Sensor: cloud_cover | fields: value, ts, lat, unit
Task: Fetch reading from humidity where value is greater than the minimum of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015677 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, qc, lat, unit
Sensor: dew_point | fields: ts, type, unit, depth
Task: Retrieve reading from uv_index whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015678 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, lat, lon, ts
Sensor: soil_moisture | fields: value, lon, ts, type
Task: Get lat from uv_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015679 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, level, depth, unit
Sensor: frost | fields: level, lon, unit, qc
Task: Retrieve reading from turbidity that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015680 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: type, value, qc, ts
Sensor: frost | fields: unit, reading, qc, type
Task: Get level from turbidity where depth appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015681 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: type, unit, ts, level
Sensor: lightning | fields: reading, type, depth, unit
Task: Retrieve reading from wind_speed whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015682 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, depth, unit, type
Sensor: turbidity | fields: lat, depth, level, unit
Task: Retrieve reading from cloud_cover that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015683 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, value, reading, level
Sensor: uv_index | fields: type, ts, reading, value
Task: Get level from humidity where value exceeds the maximum reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015684 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, level, type, reading
Sensor: uv_index | fields: reading, level, lon, value
Task: Get lon from visibility where reading exceeds the minimum depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015685 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: type, ts, lon, value
Sensor: pressure | fields: lon, qc, type, value
Task: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015686 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lon, depth, level, type
Sensor: sunlight | fields: level, lon, qc, value
Task: Fetch lon from turbidity that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015687 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, unit, lat, depth
Sensor: temperature | fields: level, reading, unit, lon
Task: Retrieve level from humidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015688 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: qc, lat, ts, type
Sensor: visibility | fields: type, unit, lat, value
Task: Retrieve reading from pressure that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015689 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, reading, qc, depth
Sensor: pressure | fields: qc, lon, level, type
Task: Retrieve lat from air_quality that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015690 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: unit, value, qc, lat
Sensor: humidity | fields: depth, lon, value, reading
Task: Get level from sunlight where reading exceeds the count of value from humidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015691 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, depth, lat, type
Sensor: humidity | fields: unit, depth, lat, qc
Task: Retrieve lat from temperature that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015692 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, qc, value, lon
Sensor: evaporation | fields: unit, reading, depth, ts
Task: Fetch depth from soil_moisture where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015693 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: qc, type, level, lon
Sensor: wind_speed | fields: type, depth, level, ts
Task: Retrieve level from temperature that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015694 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, level, type, depth
Sensor: rainfall | fields: lat, value, unit, lon
Task: Get depth from uv_index where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015695 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lon, qc, reading, ts
Sensor: rainfall | fields: qc, level, lat, unit
Task: Fetch lon from lightning where reading is greater than the maximum of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015696 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, depth, qc, lat
Sensor: uv_index | fields: qc, unit, level, lat
Task: Get depth from air_quality where depth appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015697 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: unit, depth, lat, value
Sensor: sunlight | fields: depth, reading, value, level
Task: Fetch depth from dew_point where value is greater than the count of of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015698 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, lat, type
Sensor: rainfall | fields: unit, lat, lon, qc
Task: Fetch lat from air_quality where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.