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: uv_index | code: stn | fields: unit, qc, depth, reading
Sensor: air_quality | fields: value, type, level, ts
Task: Get level from uv_index where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011700 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, unit, level, value
Sensor: visibility | fields: lat, lon, ts, unit
Task: Retrieve reading from wind_speed whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011701 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, depth, lat, lon
Sensor: evaporation | fields: lat, ts, unit, qc
Task: Fetch value from pressure where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011702 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: lon, reading, level, type
Sensor: soil_moisture | fields: lat, lon, depth, ts
Task: Retrieve level from snow_depth whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011703 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, depth, lat, lon
Sensor: pressure | fields: type, depth, lon, ts
Task: Fetch level from dew_point where depth is greater than the maximum of depth in pressure for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011704 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, lat, value, reading
Sensor: frost | fields: type, lon, lat, ts
Task: Retrieve level from uv_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011705 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: type, level, qc, value
Sensor: cloud_cover | fields: lon, depth, unit, level
Task: Retrieve level from drought_index whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011706 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, value, ts, reading
Sensor: pressure | fields: unit, lon, ts, qc
Task: Get lat from cloud_cover where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011707 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: type, reading, lon, qc
Sensor: snow_depth | fields: level, lat, depth, lon
Task: Fetch lon from evaporation where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011708 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, lon, value, qc
Sensor: wind_speed | fields: level, ts, value, depth
Task: Get value from rainfall where reading exceeds the total reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011709 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: unit, type, lon, level
Sensor: humidity | fields: type, level, ts, lat
Task: Fetch value from evaporation that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011710 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: lon, reading, type, lat
Sensor: uv_index | fields: unit, level, lon, type
Task: Retrieve value from sunlight whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011711 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, ts, depth, reading
Sensor: pressure | fields: depth, level, value, unit
Task: Get value from frost where qc appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011712 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, value, qc, lon
Sensor: visibility | fields: depth, type, reading, level
Task: Retrieve lon from lightning whose unit is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011713 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, type, lat, value
Sensor: soil_moisture | fields: depth, reading, lon, level
Task: Retrieve level from pressure that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011714 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, depth, reading, level
Sensor: uv_index | fields: unit, lat, level, ts
Task: Retrieve value from temperature whose unit is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011715 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, unit, qc, lon
Sensor: dew_point | fields: type, ts, level, qc
Task: Fetch lat from cloud_cover where reading is greater than the average of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"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_011716 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, level, lon, unit
Sensor: evaporation | fields: qc, ts, reading, value
Task: Retrieve value from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011717 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, depth, value, unit
Sensor: visibility | fields: level, value, unit, type
Task: Fetch reading from rainfall where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011718 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, qc, reading, level
Sensor: lightning | fields: qc, type, value, depth
Task: Fetch reading from cloud_cover that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011719 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, depth, level, ts
Sensor: evaporation | fields: lat, depth, value, lon
Task: Get value from humidity where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011720 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, type, ts, value
Sensor: wind_speed | fields: value, level, reading, lat
Task: Retrieve lat from sunlight with depth above the COUNT(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011721 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, level, reading, ts
Sensor: temperature | fields: depth, unit, type, qc
Task: Get lat from wind_speed where qc appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011722 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: depth, value, lat, type
Sensor: wind_speed | fields: level, type, lat, lon
Task: Fetch lon from uv_index where value is greater than the total of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011723 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, depth, lon, ts
Sensor: wind_speed | fields: qc, unit, level, value
Task: Get lon from air_quality where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011724 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: reading, lat, value, type
Sensor: frost | fields: unit, depth, level, reading
Task: Get depth from humidity where value exceeds the maximum value from frost for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011725 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, unit, depth, lon
Sensor: visibility | fields: level, value, lat, qc
Task: Retrieve depth from uv_index with reading above the AVG(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011726 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: value, type, lat, ts
Sensor: sunlight | fields: lat, qc, depth, value
Task: Get value from frost where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011727 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lon, qc, unit
Sensor: wind_speed | fields: depth, ts, reading, level
Task: Retrieve reading from drought_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011728 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: ts, value, level, unit
Sensor: frost | fields: ts, lat, unit, reading
Task: Retrieve depth from pressure with depth above the COUNT(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011729 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: type, unit, lat, depth
Sensor: temperature | fields: level, type, unit, lon
Task: Retrieve lat from sunlight with reading above the SUM(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011730 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, ts, qc, type
Sensor: rainfall | fields: lat, lon, depth, type
Task: Fetch depth from evaporation where value is greater than the total of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011731 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, type, level, lon
Sensor: frost | fields: depth, qc, unit, type
Task: Fetch depth from temperature where depth is greater than the total of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011732 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, value, ts, depth
Sensor: soil_moisture | fields: ts, level, reading, depth
Task: Fetch lat from rainfall that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011733 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, reading, depth, lon
Sensor: turbidity | fields: depth, ts, level, unit
Task: Get reading from evaporation where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011734 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, qc, reading, lon
Sensor: evaporation | fields: lat, level, value, qc
Task: Retrieve lat from uv_index with depth above the COUNT(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011735 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, level, unit, reading
Sensor: temperature | fields: value, lon, depth, type
Task: Get lat from cloud_cover where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011736 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, lon, value, ts
Sensor: drought_index | fields: level, reading, type, lon
Task: Get value from sunlight where reading exceeds the average value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011737 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: ts, lon, lat, level
Sensor: rainfall | fields: type, qc, lon, value
Task: Retrieve depth from dew_point whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011738 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: value, unit, level, depth
Sensor: uv_index | fields: qc, type, lat, level
Task: Retrieve level from pressure with reading above the SUM(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011739 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lat, reading, type, qc
Sensor: visibility | fields: qc, ts, depth, type
Task: Get reading from lightning where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011740 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: value, ts, type, unit
Sensor: rainfall | fields: reading, unit, type, level
Task: Retrieve reading from evaporation that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011741 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, depth, qc, ts
Sensor: soil_moisture | fields: level, qc, depth, type
Task: Fetch reading from cloud_cover where qc exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011742 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, depth, lat, lon
Sensor: rainfall | fields: lat, level, depth, ts
Task: Fetch level from air_quality that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011743 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, reading, type, depth
Sensor: lightning | fields: reading, unit, lon, level
Task: Fetch level from wind_speed that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011744 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: qc, value, reading, level
Sensor: visibility | fields: depth, type, qc, value
Task: Fetch value from turbidity where depth is greater than the count of of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011745 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lat, type, depth
Sensor: frost | fields: ts, level, value, lat
Task: Get level from snow_depth where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011746 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, ts, qc, type
Sensor: temperature | fields: unit, ts, qc, type
Task: Get reading from pressure where value exceeds the maximum depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011747 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, reading, ts, qc
Sensor: air_quality | fields: qc, lon, level, unit
Task: Get reading from soil_moisture where depth exceeds the count of depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011748 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, depth, qc, reading
Sensor: lightning | fields: value, type, depth, qc
Task: Retrieve lat from visibility that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011749 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: type, qc, unit, lon
Sensor: rainfall | fields: ts, type, value, qc
Task: Get level from lightning where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011750 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lat, value, type, lon
Sensor: frost | fields: depth, reading, ts, level
Task: Retrieve lat from drought_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011751 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: level, lat, unit, value
Sensor: uv_index | fields: depth, type, lat, reading
Task: Fetch reading from dew_point that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011752 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: level, lat, reading, type
Sensor: temperature | fields: level, value, reading, unit
Task: Retrieve value from air_quality that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011753 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, ts, type, value
Sensor: lightning | fields: type, level, ts, unit
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011754 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, qc, reading, type
Sensor: humidity | fields: lon, reading, level, qc
Task: Get lon from frost where value exceeds the minimum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011755 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lat, type, qc
Sensor: pressure | fields: lon, level, value, lat
Task: Fetch value from drought_index that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011756 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lat, qc, level, ts
Sensor: evaporation | fields: type, lat, qc, lon
Task: Get lon from temperature where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011757 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: qc, value, lon, type
Sensor: air_quality | fields: qc, ts, type, lat
Task: Fetch lat from temperature where depth is greater than the count of of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011758 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, reading, lon, level
Sensor: lightning | fields: reading, lon, ts, level
Task: Get level from dew_point where reading exceeds the maximum value from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011759 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, type, level, depth
Sensor: wind_speed | fields: qc, level, type, depth
Task: Get lon from drought_index where reading exceeds the maximum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011760 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, level, lon, type
Sensor: rainfall | fields: unit, ts, qc, level
Task: Retrieve depth from uv_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011761 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, type, value, depth
Sensor: pressure | fields: ts, reading, lat, type
Task: Get value from air_quality where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011762 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lat, lon, ts
Sensor: drought_index | fields: type, depth, value, ts
Task: Get level from snow_depth where value exceeds the minimum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011763 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, type, value, unit
Sensor: sunlight | fields: lat, reading, depth, level
Task: Get depth from visibility where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011764 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, value, lat, depth
Sensor: temperature | fields: unit, lon, value, reading
Task: Retrieve depth from drought_index with reading above the AVG(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011765 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, depth, value, reading
Sensor: cloud_cover | fields: type, depth, lon, qc
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011766 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lat, reading, lon
Sensor: visibility | fields: unit, ts, lon, level
Task: Get lon from snow_depth where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011767 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, ts, reading, value
Sensor: temperature | fields: type, lon, reading, ts
Task: Get lon from uv_index where depth appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011768 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, reading, qc, unit
Sensor: dew_point | fields: ts, value, lat, reading
Task: Retrieve lon from frost that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011769 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: unit, value, qc, depth
Sensor: sunlight | fields: depth, unit, type, lat
Task: Retrieve depth from temperature that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011770 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: qc, value, depth, reading
Sensor: temperature | fields: ts, lon, level, unit
Task: Get depth from dew_point where value exceeds the average reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011771 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, lat, depth, reading
Sensor: visibility | fields: reading, ts, type, lat
Task: Retrieve lon from wind_speed whose depth is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011772 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, reading, unit, value
Sensor: visibility | fields: unit, lon, value, reading
Task: Get reading from wind_speed where type appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011773 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, lat, ts, type
Sensor: rainfall | fields: depth, reading, lon, value
Task: Retrieve lon from wind_speed that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011774 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, reading, unit, value
Sensor: dew_point | fields: value, depth, unit, level
Task: Get lat from evaporation where reading exceeds the count of reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011775 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: level, depth, qc, reading
Sensor: visibility | fields: lon, reading, depth, qc
Task: Retrieve reading from sunlight with depth above the AVG(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011776 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: qc, depth, ts, value
Sensor: visibility | fields: lon, reading, value, level
Task: Retrieve value from lightning whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011777 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: depth, reading, type, value
Sensor: wind_speed | fields: ts, level, unit, qc
Task: Fetch lat from dew_point where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011778 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, lon, level, type
Sensor: lightning | fields: lat, type, ts, lon
Task: Retrieve depth from air_quality with value above the MIN(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011779 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: level, lon, lat, depth
Sensor: evaporation | fields: lat, level, qc, ts
Task: Get depth from pressure where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011780 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: reading, unit, lat, value
Sensor: uv_index | fields: lon, value, ts, reading
Task: Get depth from lightning where depth exceeds the total depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011781 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, depth, lon, level
Sensor: humidity | fields: unit, level, lat, reading
Task: Get depth from frost where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011782 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: lat, level, depth, qc
Sensor: drought_index | fields: type, unit, lat, ts
Task: Get reading from evaporation where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011783 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, type, depth, level
Sensor: visibility | fields: lat, reading, type, value
Task: Retrieve lon from drought_index with value above the MIN(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011784 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: level, lat, reading, depth
Sensor: soil_moisture | fields: unit, lat, ts, qc
Task: Fetch reading from air_quality where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011785 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, reading, level, depth
Sensor: air_quality | fields: value, lon, depth, reading
Task: Retrieve reading from frost with depth above the MIN(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011786 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, reading, value, qc
Sensor: soil_moisture | fields: qc, level, depth, lat
Task: Get level from lightning where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011787 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lat, depth, ts
Sensor: air_quality | fields: value, ts, reading, depth
Task: Fetch reading from soil_moisture that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011788 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, value, reading, qc
Sensor: wind_speed | fields: value, lat, qc, reading
Task: Fetch depth from air_quality that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011789 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lon, value, type, unit
Sensor: sunlight | fields: depth, unit, lat, ts
Task: Get lon from rainfall where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"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_011790 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, level, lon, unit
Sensor: drought_index | fields: ts, unit, qc, depth
Task: Fetch value from evaporation that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011791 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, value, depth, lat
Sensor: turbidity | fields: level, reading, qc, type
Task: Fetch value from snow_depth that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011792 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, lat, qc
Sensor: humidity | fields: type, unit, lat, depth
Task: Get lon from rainfall where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011793 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, lon, reading, value
Sensor: rainfall | fields: type, ts, reading, depth
Task: Retrieve lon from temperature that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011794 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, lat, ts, reading
Sensor: pressure | fields: ts, depth, lon, reading
Task: Retrieve lat from cloud_cover with reading above the COUNT(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011795 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: ts, unit, value, lon
Sensor: temperature | fields: reading, ts, lat, depth
Task: Fetch lat from rainfall that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011796 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, type, lon, reading
Sensor: pressure | fields: level, lat, unit, depth
Task: Get lon from lightning where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011797 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, lat, level, unit
Sensor: soil_moisture | fields: reading, lat, level, ts
Task: Get level from dew_point where value exceeds the count of value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011798 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, level, lon, unit
Sensor: pressure | fields: lon, ts, lat, value
Task: Fetch lat from uv_index that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.