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: air_quality | code: gst | fields: type, lon, level, depth
Sensor: frost | fields: qc, lat, depth, level
Task: Fetch value from air_quality that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058700 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, level, qc, lat
Sensor: soil_moisture | fields: unit, lon, value, lat
Task: Retrieve depth from rainfall with depth above the COUNT(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058701 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: qc, value, depth, ts
Sensor: evaporation | fields: qc, value, lat, depth
Task: Retrieve lon from visibility that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058702 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, level, type, value
Sensor: air_quality | fields: reading, level, qc, unit
Task: Get depth from humidity where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058703 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: level, depth, reading, qc
Sensor: cloud_cover | fields: ts, level, value, qc
Task: Get lon from visibility where reading exceeds the count of value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058704 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: qc, lat, unit, type
Sensor: soil_moisture | fields: level, lat, type, lon
Task: Fetch depth from pressure that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058705 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, depth, type, level
Sensor: wind_speed | fields: ts, qc, type, level
Task: Retrieve lon from dew_point with reading above the COUNT(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058706 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, ts, value, qc
Sensor: visibility | fields: depth, reading, lon, type
Task: Retrieve depth from uv_index whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058707 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: qc, level, reading, unit
Sensor: pressure | fields: ts, value, reading, unit
Task: Get level from humidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058708 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, ts, value, level
Sensor: snow_depth | fields: ts, lat, level, qc
Task: Retrieve depth from visibility whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058709 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, reading, lat, ts
Sensor: visibility | fields: ts, unit, qc, value
Task: Fetch lat from humidity where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058710 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, ts, qc, type
Sensor: pressure | fields: qc, level, unit, depth
Task: Fetch value from frost that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058711 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lat, value, qc
Sensor: cloud_cover | fields: unit, ts, level, reading
Task: Get lon from rainfall where value exceeds the total depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058712 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, value, lat, reading
Sensor: wind_speed | fields: qc, level, lat, ts
Task: Fetch value from rainfall that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058713 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, value, lat, level
Sensor: rainfall | fields: lat, depth, qc, unit
Task: Retrieve level from evaporation that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058714 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: qc, depth, lon, type
Sensor: uv_index | fields: value, unit, reading, depth
Task: Fetch lat from rainfall that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058715 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, qc, type, reading
Sensor: dew_point | fields: unit, value, lon, lat
Task: Fetch lat from cloud_cover that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058716 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, lat, lon
Sensor: pressure | fields: reading, lon, type, lat
Task: Get lat from turbidity where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058717 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, depth, level, unit
Sensor: evaporation | fields: level, reading, value, lon
Task: Get lon from dew_point where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058718 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: value, depth, qc, level
Sensor: pressure | fields: unit, value, level, qc
Task: Fetch value from wind_speed that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058719 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, unit, depth, value
Sensor: rainfall | fields: reading, level, lon, qc
Task: Fetch level from snow_depth where value is greater than the maximum of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058720 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, depth, reading, lon
Sensor: frost | fields: type, lat, ts, lon
Task: Retrieve value from evaporation that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058721 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, qc, level, value
Sensor: air_quality | fields: type, value, reading, ts
Task: Get level from dew_point where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058722 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, type, lon, reading
Sensor: lightning | fields: lat, unit, type, qc
Task: Fetch lon from rainfall where type exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058723 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: unit, reading, type, value
Sensor: uv_index | fields: type, unit, lon, reading
Task: Retrieve level from drought_index that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058724 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: level, ts, lat, depth
Sensor: frost | fields: lon, reading, level, depth
Task: Fetch lon from evaporation where value is greater than the count of of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058725 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, level, type
Sensor: evaporation | fields: qc, ts, type, lat
Task: Fetch level from sunlight that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058726 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: ts, lat, unit, lon
Sensor: humidity | fields: value, lat, depth, lon
Task: Get level from pressure where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058727 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, lat, reading, unit
Sensor: evaporation | fields: value, reading, level, lon
Task: Get lon from soil_moisture where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058728 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, reading, ts, lon
Sensor: temperature | fields: value, type, qc, ts
Task: Retrieve depth from drought_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058729 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, value, qc, lat
Sensor: uv_index | fields: level, qc, reading, unit
Task: Get lon from snow_depth where depth exceeds the average depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058730 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, ts, lat, value
Sensor: visibility | fields: lon, reading, type, unit
Task: Fetch reading from snow_depth where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058731 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, reading, value, qc
Sensor: sunlight | fields: ts, type, unit, lat
Task: Get level from cloud_cover where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058732 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, ts, lon, lat
Sensor: temperature | fields: value, type, lon, ts
Task: Get lat from drought_index where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058733 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, qc, type
Sensor: sunlight | fields: depth, lon, value, level
Task: Retrieve lat from rainfall with value above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058734 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, level, lat, depth
Sensor: visibility | fields: unit, lon, level, value
Task: Get value from pressure where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058735 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: depth, lat, qc, unit
Sensor: soil_moisture | fields: value, type, reading, ts
Task: Get lon from turbidity where type appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058736 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: value, reading, level, type
Sensor: uv_index | fields: ts, level, lat, lon
Task: Fetch lat from wind_speed that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058737 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, reading, ts, qc
Sensor: evaporation | fields: unit, ts, level, qc
Task: Get level from pressure where reading exceeds the count of depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058738 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, level, ts, value
Sensor: visibility | fields: level, reading, depth, qc
Task: Retrieve value from lightning with depth above the MAX(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058739 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: type, ts, unit, depth
Sensor: sunlight | fields: reading, qc, value, ts
Task: Fetch level from visibility where reading is greater than the total of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058740 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, level, lon, ts
Sensor: uv_index | fields: qc, reading, depth, value
Task: Fetch lat from turbidity where depth is greater than the total of depth in uv_index for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"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_058741 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, value, qc, reading
Sensor: turbidity | fields: unit, value, qc, type
Task: Get depth from visibility where reading exceeds the average reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058742 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, level, lat, qc
Sensor: dew_point | fields: type, lat, level, reading
Task: Fetch lon from air_quality where ts exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058743 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, level, type, qc
Sensor: lightning | fields: value, lat, level, reading
Task: Get depth from wind_speed where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058744 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, type, ts, depth
Sensor: wind_speed | fields: depth, lat, level, reading
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058745 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, qc, reading, unit
Sensor: dew_point | fields: value, unit, level, type
Task: Retrieve depth from drought_index with depth above the MIN(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058746 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, reading, level
Sensor: drought_index | fields: lat, unit, ts, lon
Task: Get level from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058747 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lon, lat, type
Sensor: drought_index | fields: value, reading, unit, level
Task: Retrieve reading from air_quality with depth above the COUNT(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058748 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: unit, lon, reading, ts
Sensor: humidity | fields: ts, lat, unit, lon
Task: Get depth from sunlight where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058749 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lon, ts, depth, qc
Sensor: turbidity | fields: type, lon, depth, level
Task: Retrieve depth from temperature whose qc is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058750 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, ts, depth, value
Sensor: visibility | fields: type, ts, lat, qc
Task: Get value from cloud_cover where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058751 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, type, level, qc
Sensor: air_quality | fields: lat, unit, value, level
Task: Retrieve depth from soil_moisture that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058752 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: reading, value, depth, unit
Sensor: soil_moisture | fields: lon, level, unit, ts
Task: Retrieve depth from lightning that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058753 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, type, depth, unit
Sensor: dew_point | fields: type, unit, lon, level
Task: Fetch depth from frost where reading is greater than the maximum of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058754 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, reading, value, level
Sensor: humidity | fields: qc, lon, reading, lat
Task: Retrieve lat from rainfall with value above the MIN(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058755 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, reading, lon
Sensor: air_quality | fields: reading, type, unit, depth
Task: Retrieve reading from rainfall that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058756 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: depth, qc, lat, reading
Sensor: air_quality | fields: value, lon, ts, reading
Task: Fetch reading from rainfall where value is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058757 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, ts, level, depth
Sensor: air_quality | fields: depth, type, reading, ts
Task: Retrieve depth from turbidity with depth above the COUNT(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058758 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, unit, level, lat
Sensor: pressure | fields: level, qc, lon, reading
Task: Retrieve depth from rainfall whose type is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058759 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lon, type, level
Sensor: rainfall | fields: type, lon, reading, qc
Task: Retrieve value from dew_point whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058760 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, depth, reading, unit
Sensor: temperature | fields: depth, type, ts, lon
Task: Retrieve level from air_quality that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058761 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, ts, qc, lat
Sensor: temperature | fields: value, lat, unit, lon
Task: Get level from frost where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058762 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, depth, qc, reading
Sensor: frost | fields: type, unit, qc, depth
Task: Retrieve lat from temperature that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058763 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, type, lat, depth
Sensor: rainfall | fields: lat, depth, type, level
Task: Retrieve lat from soil_moisture with value above the AVG(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058764 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: lon, type, value, depth
Sensor: uv_index | fields: level, lat, value, unit
Task: Get reading from rainfall where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058765 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: type, depth, lat, lon
Sensor: temperature | fields: lat, lon, value, level
Task: Fetch lat from cloud_cover that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058766 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, value, lon, qc
Sensor: evaporation | fields: depth, reading, level, qc
Task: Get value from dew_point where reading exceeds the total value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"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_058767 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, lat, type, reading
Sensor: frost | fields: unit, type, ts, level
Task: Retrieve value from drought_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058768 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, unit, level, type
Sensor: soil_moisture | fields: qc, reading, ts, lon
Task: Get lon from frost where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058769 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, unit, qc, reading
Sensor: air_quality | fields: lon, value, qc, depth
Task: Get level from dew_point where value exceeds the maximum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058770 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, depth, type, qc
Sensor: humidity | fields: unit, ts, value, reading
Task: Retrieve reading from lightning that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058771 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, qc, type, lat
Sensor: wind_speed | fields: value, lat, lon, ts
Task: Get lon from lightning where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058772 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, unit, ts, lon
Sensor: dew_point | fields: type, lon, unit, ts
Task: Fetch lat from air_quality where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058773 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: qc, reading, depth, ts
Sensor: visibility | fields: value, qc, ts, lat
Task: Retrieve lat from air_quality whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058774 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: reading, lon, level, qc
Sensor: temperature | fields: level, type, depth, lat
Task: Retrieve level from humidity whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058775 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, lon, value, ts
Sensor: evaporation | fields: level, unit, qc, type
Task: Fetch value from lightning that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058776 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lon, type, depth, qc
Sensor: frost | fields: type, lon, unit, depth
Task: Retrieve lat from uv_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058777 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, unit, value, type
Sensor: frost | fields: depth, lon, lat, ts
Task: Retrieve level from cloud_cover that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"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_058778 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, depth, ts, qc
Sensor: soil_moisture | fields: value, unit, reading, ts
Task: Get reading from uv_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058779 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, type, depth, lon
Sensor: soil_moisture | fields: lat, ts, level, value
Task: Retrieve value from uv_index whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058780 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, ts, value, lon
Sensor: wind_speed | fields: depth, level, lat, lon
Task: Get reading from temperature where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058781 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, lon, unit, value
Sensor: frost | fields: unit, type, lon, qc
Task: Fetch depth from snow_depth where depth exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058782 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, qc, reading, value
Sensor: temperature | fields: type, value, lat, lon
Task: Get value from cloud_cover where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"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_058783 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lat, value, reading, level
Sensor: sunlight | fields: type, lat, value, ts
Task: Fetch lat from frost that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058784 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, reading, qc, type
Sensor: humidity | fields: ts, level, lon, reading
Task: Get reading from sunlight where reading exceeds the minimum reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058785 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, type, value, level
Sensor: temperature | fields: depth, reading, lon, value
Task: Retrieve level from soil_moisture with value above the MIN(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058786 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: value, ts, depth, level
Sensor: wind_speed | fields: depth, lat, value, unit
Task: Fetch lat from air_quality where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058787 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, level, value, qc
Sensor: snow_depth | fields: depth, lat, reading, ts
Task: Get level from air_quality where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058788 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, reading, depth, ts
Sensor: soil_moisture | fields: lon, reading, ts, lat
Task: Fetch lat from dew_point where reading is greater than the minimum of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058789 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, level, ts, qc
Sensor: visibility | fields: depth, level, qc, ts
Task: Fetch lon from turbidity where value is greater than the count of of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058790 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: ts, level, lon, qc
Sensor: humidity | fields: unit, value, type, depth
Task: Fetch value from visibility that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058791 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, ts, reading, depth
Sensor: turbidity | fields: level, ts, depth, lon
Task: Fetch level from snow_depth where value is greater than the minimum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058792 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, lon, reading, value
Sensor: air_quality | fields: ts, value, reading, lat
Task: Retrieve lon from temperature that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058793 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, level, lat, reading
Sensor: visibility | fields: ts, qc, lon, depth
Task: Fetch lon from pressure where reading is greater than the average of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058794 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, reading, lat, qc
Sensor: frost | fields: lon, reading, level, unit
Task: Fetch level from humidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058795 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, value, level, lon
Sensor: wind_speed | fields: level, value, unit, depth
Task: Retrieve value from rainfall that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_058796 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, unit, value, qc
Sensor: lightning | fields: lat, type, unit, reading
Task: Retrieve lat from sunlight whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058797 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: type, depth, reading, lon
Sensor: sunlight | fields: qc, lat, reading, type
Task: Get level from dew_point where value exceeds the maximum value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058798 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lat, depth, ts
Sensor: turbidity | fields: level, reading, lat, ts
Task: Fetch depth from cloud_cover where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_058799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.