variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: temperature | code: thr | fields: depth, lon, ts, value
Sensor: cloud_cover | fields: qc, level, lon, type
Task: Retrieve lat from temperature that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005900 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lat, reading, qc, ts
Sensor: dew_point | fields: lat, type, value, lon
Task: Fetch reading from sunlight where depth is greater than the average of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005901 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, type, depth, lat
Sensor: evaporation | fields: value, depth, lat, lon
Task: Fetch lon from sunlight where value is greater than the average of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005902 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: value, ts, lat, reading
Sensor: lightning | fields: unit, lat, level, reading
Task: Get depth from drought_index where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005903 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, depth, type, ts
Sensor: wind_speed | fields: reading, type, unit, depth
Task: Fetch depth from lightning where value is greater than the count of of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005904 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, level, reading, unit
Sensor: snow_depth | fields: lon, qc, reading, type
Task: Get lon from rainfall where reading exceeds the average depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005905 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, type, qc
Sensor: soil_moisture | fields: depth, level, ts, qc
Task: Get lat from turbidity where reading exceeds the average depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005906 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, lat, unit
Sensor: drought_index | fields: qc, depth, reading, lat
Task: Retrieve level from sunlight whose qc is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005907 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, ts, qc, lat
Sensor: frost | fields: qc, unit, type, lat
Task: Get depth from lightning where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005908 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, reading, unit, type
Sensor: dew_point | fields: type, unit, lat, value
Task: Get lat from soil_moisture where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005909 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, reading, depth, unit
Sensor: drought_index | fields: ts, qc, value, lon
Task: Retrieve level from turbidity that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005910 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, depth, ts, reading
Sensor: rainfall | fields: level, depth, type, ts
Task: Get depth from snow_depth where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005911 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, unit, depth, level
Sensor: uv_index | fields: depth, type, value, ts
Task: Get level from cloud_cover where qc appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005912 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, level, ts, qc
Sensor: drought_index | fields: lon, type, depth, level
Task: Fetch depth from sunlight where depth is greater than the minimum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005913 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, lon, qc, type
Sensor: pressure | fields: value, lat, type, ts
Task: Retrieve lat from evaporation whose unit is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005914 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: depth, reading, type, unit
Sensor: air_quality | fields: value, level, reading, type
Task: Retrieve reading from uv_index with value above the MIN(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005915 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, value, ts, lon
Sensor: snow_depth | fields: value, ts, depth, type
Task: Retrieve reading from evaporation with value above the COUNT(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005916 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, value, level, type
Sensor: turbidity | fields: depth, unit, reading, level
Task: Get depth from humidity where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005917 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: unit, lat, qc, lon
Sensor: evaporation | fields: value, unit, reading, lon
Task: Get lat from pressure where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005918 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, depth, unit, lon
Sensor: uv_index | fields: qc, unit, lat, type
Task: Retrieve reading from drought_index that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005919 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, level, qc, ts
Sensor: turbidity | fields: value, level, ts, reading
Task: Fetch depth from snow_depth that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005920 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, lat, depth
Sensor: temperature | fields: lon, unit, reading, lat
Task: Retrieve reading from visibility with reading above the MIN(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005921 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, unit, ts, type
Sensor: soil_moisture | fields: lat, reading, lon, level
Task: Get lat from visibility where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005922 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, value, type, lat
Sensor: cloud_cover | fields: type, reading, lat, value
Task: Fetch level from visibility where reading is greater than the count of of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005923 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: level, depth, type, value
Sensor: humidity | fields: unit, value, reading, depth
Task: Retrieve value from frost whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005924 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: ts, value, reading, lat
Sensor: cloud_cover | fields: level, lat, unit, depth
Task: Retrieve lat from visibility whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005925 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, value, level, ts
Sensor: evaporation | fields: lat, value, reading, ts
Task: Get level from turbidity where unit appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005926 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, level, reading, value
Sensor: uv_index | fields: qc, lat, type, lon
Task: Fetch level from turbidity where value is greater than the average of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005927 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, value, type, lat
Sensor: humidity | fields: qc, type, lon, value
Task: Retrieve depth from snow_depth that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005928 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, reading, value, level
Sensor: rainfall | fields: lon, reading, lat, qc
Task: Get level from drought_index where reading exceeds the maximum depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005929 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, value, level, reading
Sensor: evaporation | fields: value, reading, ts, depth
Task: Fetch level from pressure where qc exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005930 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: level, reading, type, unit
Sensor: dew_point | fields: qc, depth, unit, level
Task: Get reading from wind_speed where reading exceeds the average reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005931 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, qc, unit, lon
Sensor: pressure | fields: depth, unit, type, ts
Task: Fetch reading from snow_depth where value is greater than the maximum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005932 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, lon, reading, qc
Sensor: visibility | fields: qc, reading, type, unit
Task: Fetch lon from sunlight where ts exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005933 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, ts, value, type
Sensor: humidity | fields: reading, value, lon, lat
Task: Fetch lat from rainfall that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005934 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, value, ts, unit
Sensor: air_quality | fields: ts, reading, type, lat
Task: Retrieve lon from cloud_cover with reading above the SUM(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005935 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, depth, qc, lon
Sensor: cloud_cover | fields: lon, depth, value, lat
Task: Fetch reading from snow_depth where value is greater than the count of of reading in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"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_005936 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: value, qc, ts, level
Sensor: frost | fields: reading, lon, level, type
Task: Retrieve level from rainfall whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005937 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, unit, ts, lat
Sensor: turbidity | fields: reading, lat, level, qc
Task: Get lat from temperature where value exceeds the count of value from turbidity for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005938 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, lat, value, level
Sensor: sunlight | fields: value, depth, unit, level
Task: Retrieve lat from air_quality that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005939 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, ts, unit, qc
Sensor: dew_point | fields: unit, ts, reading, type
Task: Fetch depth from cloud_cover that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005940 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, qc, reading, ts
Sensor: drought_index | fields: qc, ts, lon, depth
Task: Get lat from uv_index where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005941 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, lon, ts, value
Sensor: cloud_cover | fields: lat, level, lon, reading
Task: Retrieve lon from temperature that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005942 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, ts, type, depth
Sensor: frost | fields: qc, depth, type, lon
Task: Fetch lat from soil_moisture where depth is greater than the maximum of value in frost for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005943 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, value, type, lon
Sensor: drought_index | fields: type, lat, lon, qc
Task: Retrieve lon from humidity whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005944 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, lat, unit, level
Sensor: wind_speed | fields: unit, depth, ts, reading
Task: Get value from pressure where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005945 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, value, ts, lon
Sensor: visibility | fields: type, value, depth, ts
Task: Fetch depth from temperature where reading is greater than the average of reading in visibility for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005946 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lat, level, reading, value
Sensor: soil_moisture | fields: depth, type, qc, ts
Task: Fetch lon from evaporation that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005947 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, unit, qc, lat
Sensor: dew_point | fields: qc, lat, unit, lon
Task: Get depth from humidity where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005948 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, reading, ts, level
Sensor: rainfall | fields: unit, value, lat, reading
Task: Get level from pressure where type appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005949 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, level, ts, unit
Sensor: drought_index | fields: depth, value, qc, ts
Task: Get reading from soil_moisture where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005950 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, level, reading
Sensor: temperature | fields: reading, qc, lon, unit
Task: Retrieve reading from sunlight with value above the COUNT(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005951 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, level, depth, lon
Sensor: drought_index | fields: qc, depth, reading, ts
Task: Retrieve lat from lightning with reading above the COUNT(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005952 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, depth, level, unit
Sensor: evaporation | fields: depth, type, ts, lat
Task: Get depth from snow_depth where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005953 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, value, unit, lat
Sensor: turbidity | fields: ts, type, level, qc
Task: Fetch value from visibility where reading is greater than the total of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005954 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, ts, unit, lon
Sensor: temperature | fields: lat, reading, ts, depth
Task: Get level from soil_moisture where depth exceeds the maximum depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005955 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, depth, unit, level
Sensor: pressure | fields: depth, value, type, reading
Task: Retrieve lat from cloud_cover with depth above the AVG(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005956 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, level, unit, lat
Sensor: pressure | fields: reading, unit, lat, type
Task: Get reading from temperature where value exceeds the average depth from pressure for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005957 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, reading, lat, ts
Sensor: snow_depth | fields: lat, level, ts, qc
Task: Fetch reading from rainfall where reading is greater than the average of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005958 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, unit, qc, type
Sensor: drought_index | fields: reading, lat, level, ts
Task: Get lon from sunlight where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005959 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, unit, lat, depth
Sensor: turbidity | fields: lat, reading, lon, type
Task: Fetch depth from rainfall where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005960 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, lat, ts, unit
Sensor: pressure | fields: reading, lat, type, lon
Task: Fetch level from temperature that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005961 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, type, ts, level
Sensor: turbidity | fields: value, lat, unit, lon
Task: Retrieve depth from visibility whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005962 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: level, type, qc, value
Sensor: dew_point | fields: unit, ts, level, type
Task: Fetch lat from visibility where reading is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005963 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, qc, lon, type
Sensor: turbidity | fields: depth, lon, type, value
Task: Retrieve depth from drought_index with reading above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005964 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lon, value, type
Sensor: temperature | fields: type, lat, depth, value
Task: Get lat from sunlight where reading exceeds the average value from temperature for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005965 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, qc, depth, value
Sensor: frost | fields: lon, depth, lat, reading
Task: Retrieve lon from wind_speed with depth above the MIN(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005966 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, lat, type, value
Sensor: lightning | fields: level, lon, value, qc
Task: Fetch level from cloud_cover where unit exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005967 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, level, reading, ts
Sensor: pressure | fields: type, depth, ts, lon
Task: Retrieve depth from humidity that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005968 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: level, ts, type, unit
Sensor: frost | fields: depth, qc, value, unit
Task: Get depth from humidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005969 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: qc, type, reading, value
Sensor: wind_speed | fields: lat, qc, lon, level
Task: Fetch value from dew_point where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005970 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, qc, depth, type
Sensor: uv_index | fields: lon, value, lat, depth
Task: Fetch depth from snow_depth where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005971 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, depth, qc, lat
Sensor: sunlight | fields: value, qc, type, depth
Task: Get lat from soil_moisture where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005972 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, ts, depth, reading
Sensor: wind_speed | fields: ts, reading, level, type
Task: Get level from rainfall where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005973 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, reading, unit
Sensor: drought_index | fields: level, lon, qc, ts
Task: Retrieve depth from wind_speed whose unit is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005974 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, reading, level, depth
Sensor: dew_point | fields: unit, value, lat, lon
Task: Retrieve level from air_quality with reading above the MAX(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005975 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: level, lat, type, qc
Sensor: turbidity | fields: lat, level, reading, lon
Task: Fetch lat from evaporation that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005976 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, value, depth, type
Sensor: temperature | fields: reading, value, lat, depth
Task: Get level from rainfall where value exceeds the minimum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005977 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, lon, type, ts
Sensor: lightning | fields: reading, ts, qc, level
Task: Retrieve reading from soil_moisture whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005978 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: unit, depth, lat, lon
Sensor: cloud_cover | fields: qc, depth, type, level
Task: Retrieve lat from dew_point that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005979 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, qc, level, unit
Sensor: wind_speed | fields: value, unit, lon, depth
Task: Retrieve lat from frost whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005980 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lon, ts, value
Sensor: evaporation | fields: level, reading, unit, lat
Task: Retrieve level from air_quality with reading above the COUNT(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005981 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: ts, reading, qc, unit
Sensor: drought_index | fields: unit, type, level, value
Task: Fetch value from pressure where depth is greater than the count of of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005982 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, type, level, reading
Sensor: wind_speed | fields: qc, depth, type, value
Task: Fetch reading from sunlight that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005983 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, type, qc, depth
Sensor: drought_index | fields: unit, depth, lat, level
Task: Fetch value from air_quality where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005984 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, lat, type, value
Sensor: wind_speed | fields: ts, value, lat, type
Task: Retrieve value from snow_depth whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005985 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lon, unit, qc, ts
Sensor: cloud_cover | fields: ts, lat, level, reading
Task: Get value from pressure where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005986 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: unit, type, ts, reading
Sensor: visibility | fields: qc, type, lon, lat
Task: Fetch value from temperature where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005987 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, depth, lat, level
Sensor: pressure | fields: lon, level, value, qc
Task: Retrieve lon from visibility whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005988 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, depth, unit, lat
Sensor: turbidity | fields: lon, type, depth, reading
Task: Retrieve reading from frost with value above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005989 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: ts, lon, depth, type
Sensor: uv_index | fields: unit, type, depth, level
Task: Fetch level from dew_point that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005990 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, level, lat, ts
Sensor: dew_point | fields: value, level, depth, qc
Task: Fetch depth from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005991 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, type, lat, qc
Sensor: snow_depth | fields: level, reading, lat, depth
Task: Retrieve value from soil_moisture whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005992 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, depth, ts, lat
Sensor: evaporation | fields: depth, type, value, reading
Task: Get value from turbidity where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005993 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, type, value, lon
Sensor: rainfall | fields: type, unit, depth, reading
Task: Retrieve lat from frost with reading above the MIN(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005994 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, depth, qc, type
Sensor: sunlight | fields: lon, depth, ts, qc
Task: Get level from cloud_cover where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005995 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, qc, depth, type
Sensor: soil_moisture | fields: depth, reading, lat, level
Task: Get lon from lightning where value exceeds the maximum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005996 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, level, depth, ts
Sensor: frost | fields: level, lat, depth, type
Task: Retrieve reading from lightning with reading above the COUNT(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005997 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, lon, ts, level
Sensor: wind_speed | fields: depth, value, lon, lat
Task: Retrieve value from evaporation whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005998 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, reading, lon, lat
Sensor: uv_index | fields: lat, qc, ts, type
Task: Retrieve reading from lightning whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.