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: turbidity | code: ref | fields: unit, lat, value, reading
Sensor: drought_index | fields: type, lon, qc, level
Task: Fetch lat from turbidity that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047600 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, lat, depth, reading
Sensor: cloud_cover | fields: ts, lat, value, type
Task: Retrieve lon from air_quality that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047601 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, value, ts, qc
Sensor: visibility | fields: ts, lon, type, qc
Task: Get reading from dew_point where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047602 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, value, qc, type
Sensor: lightning | fields: qc, level, reading, type
Task: Retrieve reading from snow_depth that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047603 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: qc, type, reading, level
Sensor: dew_point | fields: type, lat, value, qc
Task: Retrieve value from evaporation whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047604 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, reading, type, unit
Sensor: dew_point | fields: ts, level, reading, unit
Task: Retrieve value from drought_index with value above the MIN(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047605 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, lon, value, unit
Sensor: air_quality | fields: qc, value, level, lat
Task: Get lat from cloud_cover where depth exceeds the count of reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047606 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, value, reading, level
Sensor: frost | fields: reading, type, level, lat
Task: Fetch level from soil_moisture where reading is greater than the maximum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047607 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, type, ts, depth
Sensor: visibility | fields: unit, reading, depth, ts
Task: Fetch value from snow_depth where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047608 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, type, qc, depth
Sensor: humidity | fields: unit, level, reading, value
Task: Retrieve lon from turbidity that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047609 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, lat, lon, level
Sensor: wind_speed | fields: depth, unit, lat, level
Task: Get depth from visibility where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"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_047610 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: reading, lat, qc, depth
Sensor: humidity | fields: level, depth, reading, qc
Task: Get lon from frost where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047611 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, unit, qc, ts
Sensor: snow_depth | fields: lon, lat, value, depth
Task: Get lon from humidity where unit appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047612 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: lat, type, unit, lon
Sensor: drought_index | fields: qc, lon, lat, unit
Task: Retrieve depth from air_quality with reading above the SUM(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047613 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: value, depth, ts, type
Sensor: soil_moisture | fields: qc, unit, level, value
Task: Get depth from pressure where depth exceeds the maximum depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047614 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: ts, qc, reading, level
Sensor: uv_index | fields: lon, lat, qc, value
Task: Retrieve level from dew_point with value above the MIN(reading) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047615 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, unit, qc, type
Sensor: evaporation | fields: reading, qc, lon, value
Task: Fetch lat from frost where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047616 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, unit, ts, reading
Sensor: turbidity | fields: depth, ts, unit, lon
Task: Fetch reading from dew_point where reading is greater than the minimum of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047617 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, reading, depth, unit
Sensor: soil_moisture | fields: value, lat, lon, ts
Task: Get level from pressure where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047618 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, reading, value, unit
Sensor: turbidity | fields: lon, reading, ts, depth
Task: Fetch reading from rainfall where value is greater than the total of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047619 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, qc, level, type
Sensor: frost | fields: reading, lat, lon, level
Task: Retrieve lon from lightning whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047620 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: value, qc, type, lat
Sensor: frost | fields: lat, level, value, reading
Task: Retrieve reading from lightning with reading above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047621 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, unit, ts, lon
Sensor: turbidity | fields: value, unit, type, lon
Task: Get level from lightning where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047622 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: level, lon, reading, ts
Sensor: air_quality | fields: qc, lat, type, depth
Task: Get lon from snow_depth where depth exceeds the average depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047623 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, ts, depth, unit
Sensor: sunlight | fields: unit, type, depth, lat
Task: Retrieve lat from snow_depth with depth above the MIN(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047624 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, depth, reading, type
Sensor: dew_point | fields: qc, value, depth, unit
Task: Fetch lon from cloud_cover where depth is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047625 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: ts, value, lat, qc
Sensor: drought_index | fields: ts, depth, type, unit
Task: Retrieve reading from uv_index whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047626 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, lat, value, ts
Sensor: turbidity | fields: qc, unit, lon, depth
Task: Retrieve lon from drought_index with depth above the COUNT(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047627 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, reading, value, type
Sensor: temperature | fields: depth, lat, lon, value
Task: Retrieve lat from uv_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047628 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: depth, unit, type, level
Sensor: evaporation | fields: depth, ts, unit, lat
Task: Fetch reading from pressure where ts exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047629 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, unit, depth, type
Sensor: sunlight | fields: reading, depth, lat, lon
Task: Fetch lon from humidity where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047630 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, unit, lat, level
Sensor: temperature | fields: value, lon, unit, type
Task: Retrieve level from snow_depth that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047631 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, lon, value, qc
Sensor: pressure | fields: value, ts, lat, qc
Task: Get value from frost where ts appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047632 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: ts, lon, qc, unit
Sensor: rainfall | fields: depth, qc, value, lon
Task: Get level from frost where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047633 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lat, level, qc
Sensor: frost | fields: reading, type, level, unit
Task: Get depth from wind_speed where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047634 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, qc, ts, lon
Sensor: dew_point | fields: level, lat, qc, ts
Task: Get lon from frost where depth exceeds the maximum value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047635 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, lat, ts, unit
Sensor: cloud_cover | fields: ts, value, level, lon
Task: Fetch depth from air_quality where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047636 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, depth, lat, qc
Sensor: dew_point | fields: reading, unit, level, lon
Task: Fetch value from lightning where qc exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047637 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: level, ts, value, type
Sensor: rainfall | fields: lat, unit, type, qc
Task: Retrieve level from humidity that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047638 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: level, depth, unit, qc
Sensor: rainfall | fields: level, unit, ts, lon
Task: Retrieve depth from visibility with depth above the COUNT(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047639 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: type, lon, ts, unit
Sensor: lightning | fields: ts, value, qc, lat
Task: Retrieve value from uv_index that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047640 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: reading, depth, qc, level
Sensor: humidity | fields: ts, reading, depth, lon
Task: Get lat from lightning where ts appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047641 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: level, depth, lon, reading
Sensor: wind_speed | fields: lon, reading, unit, depth
Task: Get level from humidity where value exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047642 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: reading, ts, type, qc
Sensor: snow_depth | fields: lat, qc, lon, type
Task: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047643 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, level, depth, lat
Sensor: cloud_cover | fields: qc, level, ts, depth
Task: Retrieve lon from pressure whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047644 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: reading, qc, ts, value
Sensor: visibility | fields: lat, value, qc, depth
Task: Get lat from uv_index where reading exceeds the maximum reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047645 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, lat, unit, type
Sensor: air_quality | fields: type, value, depth, qc
Task: Fetch reading from uv_index where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047646 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lon, level, unit
Sensor: lightning | fields: value, lat, ts, lon
Task: Fetch depth from cloud_cover that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047647 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: level, ts, unit, qc
Sensor: temperature | fields: lat, value, unit, type
Task: Get value from visibility where ts appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047648 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, level, qc, value
Sensor: air_quality | fields: lat, ts, depth, level
Task: Fetch depth from soil_moisture where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047649 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, reading, type, lon
Sensor: frost | fields: value, reading, level, qc
Task: Retrieve level from turbidity that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047650 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, depth, unit, lat
Sensor: evaporation | fields: reading, level, unit, lat
Task: Get lon from dew_point where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047651 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, unit, type, value
Sensor: sunlight | fields: type, qc, depth, reading
Task: Retrieve lon from cloud_cover with value above the MIN(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047652 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, depth, unit, level
Sensor: visibility | fields: level, qc, lat, type
Task: Retrieve lat from dew_point with depth above the AVG(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047653 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, type, level, lon
Sensor: humidity | fields: level, value, qc, depth
Task: Get level from pressure where depth appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047654 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, reading, value, depth
Sensor: wind_speed | fields: reading, value, qc, unit
Task: Get depth from evaporation where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047655 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: unit, type, value, depth
Sensor: snow_depth | fields: lon, ts, unit, lat
Task: Fetch reading from temperature that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047656 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: unit, reading, value, depth
Sensor: snow_depth | fields: ts, lat, value, unit
Task: Retrieve value from temperature with depth above the MAX(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047657 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, reading, depth, qc
Sensor: pressure | fields: lat, type, level, reading
Task: Get lat from rainfall where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047658 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: depth, lon, reading, qc
Sensor: wind_speed | fields: lon, reading, value, unit
Task: Retrieve level from lightning that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047659 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lat, depth, qc
Sensor: drought_index | fields: lat, type, value, qc
Task: Retrieve depth from dew_point that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047660 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, depth, type, lon
Sensor: turbidity | fields: unit, reading, level, value
Task: Retrieve depth from visibility with depth above the MAX(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047661 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, depth, reading, level
Sensor: turbidity | fields: reading, lon, type, level
Task: Retrieve level from pressure with depth above the MAX(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"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_047662 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: qc, reading, depth, type
Sensor: soil_moisture | fields: ts, qc, value, lon
Task: Get depth from drought_index where value exceeds the minimum depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047663 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, level, unit, reading
Sensor: humidity | fields: value, type, lat, qc
Task: Get lat from drought_index where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047664 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, unit, reading, value
Sensor: wind_speed | fields: ts, value, reading, unit
Task: Get lat from dew_point where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047665 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, depth, lon, level
Sensor: air_quality | fields: lon, qc, reading, level
Task: Get level from dew_point where depth exceeds the average depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047666 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, depth, value
Sensor: dew_point | fields: unit, lat, value, ts
Task: Fetch level from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047667 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, type, unit, value
Sensor: temperature | fields: type, level, unit, lon
Task: Retrieve value from lightning whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047668 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, lat, lon, ts
Sensor: snow_depth | fields: unit, lon, lat, reading
Task: Get lat from cloud_cover where value exceeds the maximum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047669 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, lat, reading, level
Sensor: soil_moisture | fields: type, depth, lon, value
Task: Retrieve reading from pressure with depth above the COUNT(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047670 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, value, type, depth
Sensor: soil_moisture | fields: qc, ts, reading, lat
Task: Get value from snow_depth where value exceeds the average reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047671 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, unit, depth, level
Sensor: cloud_cover | fields: type, lat, depth, qc
Task: Fetch level from soil_moisture where depth is greater than the total of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047672 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, reading, lat, lon
Sensor: lightning | fields: ts, lat, lon, type
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047673 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, type, depth, value
Sensor: visibility | fields: reading, lat, depth, qc
Task: Fetch reading from sunlight that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047674 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, ts, qc, depth
Sensor: turbidity | fields: level, qc, lon, lat
Task: Fetch value from dew_point where qc exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047675 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: unit, lon, type, depth
Sensor: lightning | fields: lat, reading, qc, depth
Task: Get depth from evaporation where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047676 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: value, depth, lon, level
Sensor: soil_moisture | fields: lat, qc, ts, unit
Task: Get lat from visibility where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047677 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: unit, depth, level, reading
Sensor: snow_depth | fields: depth, lon, ts, reading
Task: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047678 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, qc, lat, type
Sensor: sunlight | fields: level, lon, value, ts
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047679 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, ts, lon, level
Sensor: rainfall | fields: reading, level, ts, value
Task: Fetch reading from lightning where reading is greater than the count of of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047680 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, lon, lat, value
Sensor: snow_depth | fields: lon, qc, reading, level
Task: Get lon from visibility where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047681 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, depth, value, ts
Sensor: temperature | fields: lon, ts, level, value
Task: Get value from rainfall where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047682 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, unit, lat, reading
Sensor: evaporation | fields: qc, lon, reading, unit
Task: Retrieve value from lightning whose ts is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047683 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, type, ts, depth
Sensor: temperature | fields: unit, ts, type, depth
Task: Fetch value from cloud_cover where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047684 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, level, depth, lon
Sensor: evaporation | fields: lon, value, level, reading
Task: Get lon from air_quality where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047685 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, value, type, depth
Sensor: frost | fields: reading, lat, type, qc
Task: Retrieve lon from wind_speed whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047686 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: depth, lat, value, reading
Sensor: air_quality | fields: qc, reading, depth, value
Task: Get depth from frost where value exceeds the maximum depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047687 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, value, lat, reading
Sensor: soil_moisture | fields: level, value, lat, lon
Task: Retrieve lat from dew_point whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047688 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, ts, level, reading
Sensor: cloud_cover | fields: depth, value, lat, reading
Task: Retrieve depth from snow_depth whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047689 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, value, reading, lat
Sensor: dew_point | fields: reading, unit, ts, depth
Task: Fetch value from turbidity where ts exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047690 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, lat, lon
Sensor: evaporation | fields: lat, depth, reading, type
Task: Get depth from dew_point where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047691 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: qc, value, reading, ts
Sensor: sunlight | fields: lon, value, lat, depth
Task: Retrieve depth from humidity whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047692 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, qc, lat, ts
Sensor: snow_depth | fields: unit, reading, depth, type
Task: Retrieve reading from pressure with depth above the AVG(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047693 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lat, unit, type
Sensor: visibility | fields: value, ts, lat, level
Task: Fetch reading from soil_moisture that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047694 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, depth, type, lat
Sensor: rainfall | fields: lon, reading, level, type
Task: Get lat from drought_index where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047695 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, lon, ts, type
Sensor: air_quality | fields: depth, unit, lat, level
Task: Fetch lon from lightning where reading is greater than the minimum of value in air_quality for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_047696 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lat, value, lon
Sensor: humidity | fields: lat, qc, level, lon
Task: Fetch lat from wind_speed that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047697 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, ts, depth, type
Sensor: humidity | fields: qc, type, ts, level
Task: Retrieve lat from air_quality whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047698 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: value, level, ts, unit
Sensor: pressure | fields: level, ts, depth, qc
Task: Get level from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_047699 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.