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: stn | fields: value, unit, ts, reading
Sensor: cloud_cover | fields: unit, level, qc, type
Task: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063800 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lat, type, qc, reading
Sensor: humidity | fields: qc, type, unit, value
Task: Fetch lat from sunlight where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063801 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, level, lon, type
Sensor: snow_depth | fields: qc, reading, ts, type
Task: Get value from uv_index where depth exceeds the total depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063802 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, type, ts, lon
Sensor: air_quality | fields: value, depth, qc, ts
Task: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"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_063803 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, type, ts, unit
Sensor: snow_depth | fields: unit, level, lat, lon
Task: Fetch lat from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063804 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, depth, reading, type
Sensor: soil_moisture | fields: level, depth, ts, reading
Task: Retrieve lon from evaporation that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063805 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: unit, lat, reading, type
Sensor: snow_depth | fields: depth, lat, lon, qc
Task: Retrieve level from rainfall whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063806 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, depth, ts, type
Sensor: lightning | fields: type, lon, depth, qc
Task: Fetch reading from evaporation where reading is greater than the count of of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063807 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, lat, unit, depth
Sensor: snow_depth | fields: level, lat, unit, type
Task: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063808 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, qc, reading, level
Sensor: snow_depth | fields: level, lon, unit, lat
Task: Get value from soil_moisture where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063809 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, depth, lat
Sensor: evaporation | fields: value, type, level, unit
Task: Fetch level from cloud_cover where unit exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063810 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, qc, unit, depth
Sensor: wind_speed | fields: depth, qc, unit, type
Task: Fetch reading from cloud_cover where value is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063811 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, lon, type, qc
Sensor: frost | fields: type, depth, unit, reading
Task: Fetch lon from pressure that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063812 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: reading, lon, qc, ts
Sensor: visibility | fields: reading, lat, lon, level
Task: Retrieve value from turbidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063813 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: ts, lat, unit, lon
Sensor: dew_point | fields: unit, ts, type, value
Task: Fetch value from uv_index where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063814 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, value, ts, qc
Sensor: rainfall | fields: unit, lon, value, ts
Task: Fetch lat from pressure where value is greater than the average of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063815 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, reading, ts
Sensor: sunlight | fields: unit, ts, qc, level
Task: Fetch lon from humidity where reading is greater than the total of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063816 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, value, depth, lon
Sensor: turbidity | fields: type, lon, qc, lat
Task: Retrieve value from soil_moisture with reading above the COUNT(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063817 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, qc, depth, value
Sensor: visibility | fields: depth, lat, reading, ts
Task: Get level from rainfall where unit appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063818 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, lon, unit, qc
Sensor: snow_depth | fields: depth, qc, level, reading
Task: Get value from frost where reading exceeds the average value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063819 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: type, level, value, qc
Sensor: lightning | fields: reading, lon, unit, ts
Task: Get lon from evaporation where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063820 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, ts, lat, type
Sensor: uv_index | fields: type, depth, value, reading
Task: Fetch value from sunlight where reading is greater than the total of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063821 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: unit, reading, level, ts
Sensor: sunlight | fields: qc, reading, depth, type
Task: Fetch reading from dew_point where reading is greater than the maximum of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063822 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: level, unit, qc, ts
Sensor: drought_index | fields: lat, reading, depth, type
Task: Fetch value from lightning where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063823 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: lon, level, depth, reading
Sensor: cloud_cover | fields: type, level, value, ts
Task: Get depth from drought_index where qc appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063824 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, qc, level, ts
Sensor: uv_index | fields: ts, reading, lat, level
Task: Get level from rainfall where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063825 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, qc, lon, unit
Sensor: cloud_cover | fields: qc, value, lat, ts
Task: Fetch lon from wind_speed where reading is greater than the average of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063826 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, unit, reading, lon
Sensor: dew_point | fields: unit, lat, lon, value
Task: Fetch reading from visibility that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063827 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, level, value, lat
Sensor: turbidity | fields: lat, level, ts, qc
Task: Fetch reading from wind_speed where reading is greater than the total of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063828 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, qc, unit, type
Sensor: uv_index | fields: level, lat, depth, qc
Task: Get lon from sunlight where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063829 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: depth, qc, lon, level
Sensor: evaporation | fields: lon, ts, type, unit
Task: Retrieve lat from pressure whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063830 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, ts, depth, qc
Sensor: visibility | fields: qc, value, depth, unit
Task: Get depth from pressure where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063831 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, lat, ts, value
Sensor: pressure | fields: type, level, qc, lon
Task: Get lat from sunlight where depth exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063832 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, lat, type, qc
Sensor: air_quality | fields: type, level, value, lat
Task: Get reading from drought_index where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063833 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: depth, qc, type, value
Sensor: humidity | fields: unit, lat, reading, type
Task: Retrieve level from uv_index with reading above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063834 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, type, value
Sensor: snow_depth | fields: qc, lat, value, lon
Task: Fetch reading from wind_speed where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063835 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, lat, depth, level
Sensor: pressure | fields: reading, type, unit, level
Task: Get depth from visibility where depth exceeds the total depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063836 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, lon, qc, ts
Sensor: evaporation | fields: qc, unit, ts, depth
Task: Fetch reading from dew_point that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063837 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, value, type, qc
Sensor: turbidity | fields: level, value, reading, type
Task: Retrieve lat from rainfall with value above the MIN(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063838 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, unit, lon, qc
Sensor: lightning | fields: level, reading, lat, unit
Task: Get value from wind_speed where value exceeds the minimum depth from lightning for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063839 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, depth, qc, level
Sensor: drought_index | fields: lat, depth, level, type
Task: Retrieve lat from evaporation with value above the MIN(reading) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"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_063840 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, ts, lon, qc
Sensor: snow_depth | fields: reading, value, type, level
Task: Retrieve level from air_quality whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063841 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, level, qc, lat
Sensor: pressure | fields: reading, value, unit, lon
Task: Retrieve reading from visibility whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063842 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, unit, type, ts
Sensor: snow_depth | fields: qc, type, lat, lon
Task: Retrieve lat from sunlight whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063843 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, reading, unit, ts
Sensor: soil_moisture | fields: unit, lon, ts, depth
Task: Fetch level from temperature where reading is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063844 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lat, level, ts, lon
Sensor: evaporation | fields: type, ts, reading, value
Task: Get level from temperature where depth appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063845 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, unit, depth, type
Sensor: sunlight | fields: depth, lon, reading, level
Task: Fetch reading from wind_speed that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063846 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, unit, qc, ts
Sensor: temperature | fields: ts, lat, value, depth
Task: Retrieve reading from evaporation that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063847 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, unit, lon, ts
Sensor: snow_depth | fields: level, reading, depth, unit
Task: Fetch depth from cloud_cover that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063848 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, reading, level, unit
Sensor: frost | fields: reading, value, lat, level
Task: Retrieve depth from air_quality that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063849 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, type, value, ts
Sensor: pressure | fields: unit, lat, level, ts
Task: Fetch lat from temperature where depth is greater than the total of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063850 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, depth, reading, ts
Sensor: sunlight | fields: ts, depth, value, lon
Task: Get level from rainfall where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063851 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, reading, level
Sensor: dew_point | fields: type, lon, value, ts
Task: Retrieve lon from visibility with value above the SUM(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063852 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, depth, reading, qc
Sensor: snow_depth | fields: lon, depth, unit, ts
Task: Get level from dew_point where reading exceeds the count of depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063853 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, value, lat, type
Sensor: lightning | fields: reading, lon, value, level
Task: Fetch value from turbidity where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063854 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, reading, depth, lon
Sensor: wind_speed | fields: type, value, ts, depth
Task: Get lat from cloud_cover where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063855 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: reading, value, depth, qc
Sensor: air_quality | fields: reading, ts, depth, lon
Task: Get level from rainfall where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063856 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, lat, type, depth
Sensor: cloud_cover | fields: lat, value, depth, level
Task: Get lat from uv_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063857 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, reading, unit, type
Sensor: visibility | fields: value, depth, lon, type
Task: Retrieve reading from drought_index with value above the MIN(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063858 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: type, lat, level, qc
Sensor: rainfall | fields: ts, lat, level, unit
Task: Retrieve reading from dew_point that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063859 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, ts, qc, type
Sensor: cloud_cover | fields: unit, qc, value, type
Task: Fetch reading from sunlight where depth is greater than the maximum of reading in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063860 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, level, reading, ts
Sensor: sunlight | fields: unit, ts, value, type
Task: Fetch reading from lightning where reading is greater than the average of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063861 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: reading, unit, lon, depth
Sensor: cloud_cover | fields: lon, reading, ts, unit
Task: Retrieve value from frost whose depth is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063862 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, qc, depth, ts
Sensor: snow_depth | fields: lon, lat, value, qc
Task: Get depth from evaporation where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063863 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: unit, qc, type, reading
Sensor: rainfall | fields: level, type, lat, lon
Task: Retrieve lat from humidity with depth above the AVG(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063864 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, lon, value, level
Sensor: evaporation | fields: ts, lon, type, qc
Task: Get value from sunlight where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063865 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, ts, lon, unit
Sensor: dew_point | fields: value, lat, unit, reading
Task: Fetch depth from sunlight that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063866 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, reading, unit, qc
Sensor: frost | fields: qc, unit, lat, depth
Task: Retrieve lon from soil_moisture with reading above the COUNT(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063867 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, level, value, qc
Sensor: wind_speed | fields: level, depth, reading, qc
Task: Fetch lon from visibility where depth is greater than the total of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063868 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, lon, qc, depth
Sensor: uv_index | fields: value, ts, qc, reading
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063869 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, reading, depth, unit
Sensor: uv_index | fields: type, qc, value, unit
Task: Retrieve level from sunlight that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063870 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, depth, ts, value
Sensor: dew_point | fields: level, unit, depth, lon
Task: Get depth from soil_moisture where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063871 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, type, lat, level
Sensor: turbidity | fields: value, type, lat, unit
Task: Get reading from sunlight where value exceeds the total value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063872 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, level, reading, depth
Sensor: lightning | fields: lon, lat, value, ts
Task: Retrieve reading from visibility with depth above the MIN(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063873 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: lat, value, level, ts
Sensor: air_quality | fields: type, value, reading, ts
Task: Get reading from sunlight where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063874 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, unit, qc, value
Sensor: snow_depth | fields: depth, unit, level, lon
Task: Fetch depth from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063875 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, value, reading, ts
Sensor: rainfall | fields: ts, lat, depth, level
Task: Fetch lat from drought_index where unit exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063876 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lat, ts, unit, qc
Sensor: wind_speed | fields: depth, qc, type, lat
Task: Fetch lat from lightning where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063877 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, ts, type, lat
Sensor: turbidity | fields: level, type, unit, reading
Task: Get lat from wind_speed where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063878 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, lat, unit, reading
Sensor: dew_point | fields: unit, level, lon, lat
Task: Fetch depth from cloud_cover where reading is greater than the total of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063879 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: value, ts, depth, unit
Sensor: frost | fields: depth, ts, level, qc
Task: Retrieve depth from visibility that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063880 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, unit, depth, value
Sensor: soil_moisture | fields: unit, value, qc, depth
Task: Fetch lat from rainfall where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063881 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lon, value, qc
Sensor: wind_speed | fields: depth, reading, unit, value
Task: Fetch level from cloud_cover where depth is greater than the count of of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063882 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, qc, lat, ts
Sensor: humidity | fields: unit, level, qc, reading
Task: Get lon from wind_speed where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063883 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, value, unit
Sensor: air_quality | fields: qc, unit, depth, lon
Task: Get reading from lightning where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063884 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, lon, depth, value
Sensor: snow_depth | fields: ts, lat, qc, lon
Task: Get level from frost where reading exceeds the total depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063885 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, qc, unit, level
Sensor: wind_speed | fields: depth, value, lon, ts
Task: Fetch reading from lightning where reading is greater than the maximum of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063886 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, unit, lon, depth
Sensor: air_quality | fields: lat, qc, value, ts
Task: Get lat from drought_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063887 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, ts, lat
Sensor: soil_moisture | fields: unit, lon, qc, ts
Task: Get lon from sunlight where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063888 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, level, depth, lat
Sensor: uv_index | fields: type, ts, qc, lat
Task: Get lon from cloud_cover where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063889 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: level, reading, depth, unit
Sensor: humidity | fields: level, unit, value, lat
Task: Fetch reading from wind_speed where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063890 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, value, depth, ts
Sensor: pressure | fields: type, unit, lat, ts
Task: Retrieve level from soil_moisture that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063891 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, reading, unit, level
Sensor: cloud_cover | fields: type, lon, reading, ts
Task: Get value from air_quality where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063892 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, unit, reading, lat
Sensor: rainfall | fields: depth, unit, lat, qc
Task: Get lat from snow_depth where depth appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063893 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: value, level, lat, lon
Sensor: temperature | fields: type, lat, ts, depth
Task: Fetch lat from drought_index where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
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": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063894 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lat, depth, lon
Sensor: rainfall | fields: reading, depth, lon, qc
Task: Get value from evaporation where value exceeds the total reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063895 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: ts, qc, lon, unit
Sensor: humidity | fields: value, qc, lat, lon
Task: Get level from drought_index where reading exceeds the total reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063896 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, depth, type, unit
Sensor: sunlight | fields: reading, type, ts, lat
Task: Get depth from frost where reading exceeds the minimum depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063897 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: ts, unit, type, depth
Sensor: visibility | fields: qc, lon, unit, lat
Task: Get depth from lightning where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_063898 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, depth, level, value
Sensor: evaporation | fields: ts, lat, level, depth
Task: Fetch depth from snow_depth where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_063899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.