variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, type, reading, level
Sensor: soil_moisture | fields: ts, depth, reading, value
Task: Fetch depth from uv_index where qc exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061800 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: depth, lat, level, reading
Sensor: lightning | fields: value, ts, qc, depth
Task: Fetch lon from temperature where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061801 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, depth, lon, level
Sensor: wind_speed | fields: ts, value, depth, lon
Task: Get depth from cloud_cover where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061802 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, lat, reading, lon
Sensor: soil_moisture | fields: lon, qc, ts, reading
Task: Retrieve value from lightning that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061803 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: ts, unit, depth, lat
Sensor: humidity | fields: ts, lat, level, lon
Task: Retrieve depth from turbidity that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061804 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, value, lat, level
Sensor: air_quality | fields: value, reading, level, lon
Task: Retrieve reading from humidity that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061805 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: value, type, lat, lon
Sensor: humidity | fields: reading, level, lat, lon
Task: Fetch lat from uv_index that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061806 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, reading, type, value
Sensor: evaporation | fields: type, qc, level, lat
Task: Get reading from air_quality where value exceeds the count of value from evaporation for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061807 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: value, lon, type, lat
Sensor: dew_point | fields: ts, unit, reading, level
Task: Get level from humidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061808 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lon, level, lat, value
Sensor: uv_index | fields: lon, reading, unit, value
Task: Get level from frost where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061809 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, level, value, ts
Sensor: dew_point | fields: ts, type, lon, depth
Task: Retrieve value from uv_index that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061810 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, lon, depth, level
Sensor: frost | fields: depth, level, unit, lat
Task: Fetch lat from rainfall where value is greater than the count of of value in frost for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061811 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, qc, depth, unit
Sensor: sunlight | fields: level, qc, ts, depth
Task: Get lon from uv_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061812 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, depth, value, lon
Sensor: pressure | fields: type, qc, lon, unit
Task: Retrieve lat from rainfall with depth above the MIN(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061813 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, lat, reading, qc
Sensor: frost | fields: reading, value, unit, lat
Task: Retrieve depth from pressure that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061814 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, qc, reading, lat
Sensor: wind_speed | fields: unit, reading, ts, lon
Task: Get level from frost where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061815 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, ts, depth, lat
Sensor: lightning | fields: lat, value, ts, type
Task: Retrieve reading from rainfall whose type is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061816 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, qc, reading, unit
Sensor: rainfall | fields: level, value, type, qc
Task: Get value from evaporation where depth exceeds the minimum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061817 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: depth, level, unit, lat
Sensor: sunlight | fields: value, depth, unit, qc
Task: Retrieve level from air_quality whose type is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061818 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, unit, depth, lat
Sensor: wind_speed | fields: type, lon, lat, reading
Task: Retrieve reading from dew_point whose depth is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061819 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: reading, lon, unit, depth
Sensor: evaporation | fields: qc, type, lon, lat
Task: Retrieve reading from drought_index that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061820 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, ts, reading, type
Sensor: drought_index | fields: unit, ts, lon, type
Task: Fetch level from soil_moisture where depth is greater than the count of of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061821 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, level, unit, depth
Sensor: humidity | fields: type, qc, unit, lat
Task: Fetch value from wind_speed where depth is greater than the total of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061822 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, lon, level, lat
Sensor: drought_index | fields: qc, ts, depth, lat
Task: Fetch depth from soil_moisture that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061823 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lat, type, reading
Sensor: uv_index | fields: type, lon, lat, ts
Task: Fetch reading from evaporation that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061824 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, depth, unit, level
Sensor: visibility | fields: lat, qc, type, ts
Task: Retrieve reading from frost whose type is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061825 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, value, type
Sensor: air_quality | fields: ts, type, reading, qc
Task: Fetch reading from cloud_cover where depth is greater than the average of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061826 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, reading, type, unit
Sensor: drought_index | fields: qc, level, type, lat
Task: Fetch lat from snow_depth where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061827 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, lon, unit, depth
Sensor: turbidity | fields: level, value, depth, lon
Task: Fetch depth from lightning where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061828 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, reading, unit, value
Sensor: cloud_cover | fields: level, reading, type, lat
Task: Fetch lon from frost that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061829 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: ts, level, qc, type
Sensor: drought_index | fields: lat, type, level, unit
Task: Retrieve lon from temperature whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061830 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, lon, qc, reading
Sensor: snow_depth | fields: qc, reading, value, lon
Task: Retrieve level from frost that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061831 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: unit, value, depth, lon
Sensor: snow_depth | fields: lat, unit, level, qc
Task: Retrieve lon from air_quality whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061832 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: depth, qc, value, type
Sensor: sunlight | fields: ts, unit, qc, lon
Task: Retrieve level from dew_point whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061833 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: type, ts, lat, value
Sensor: frost | fields: lat, lon, depth, qc
Task: Retrieve depth from sunlight whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061834 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: unit, reading, type, lat
Sensor: frost | fields: unit, ts, depth, type
Task: Retrieve lon from temperature that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061835 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, ts, type, unit
Sensor: air_quality | fields: unit, qc, value, level
Task: Retrieve reading from evaporation with value above the COUNT(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061836 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, level, reading, type
Sensor: frost | fields: type, lon, value, reading
Task: Fetch depth from soil_moisture that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061837 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, lon, reading, depth
Sensor: sunlight | fields: type, unit, qc, level
Task: Retrieve level from evaporation with reading above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061838 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, level, qc, lat
Sensor: snow_depth | fields: lat, reading, value, unit
Task: Retrieve depth from turbidity with depth above the SUM(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061839 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lon, reading, level, qc
Sensor: air_quality | fields: lon, lat, level, unit
Task: Retrieve lat from dew_point that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061840 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, depth, reading, value
Sensor: visibility | fields: level, depth, ts, value
Task: Get lat from snow_depth where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061841 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, qc, value, lon
Sensor: frost | fields: unit, reading, type, level
Task: Fetch reading from uv_index where type exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061842 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: qc, reading, lat, value
Sensor: visibility | fields: unit, level, lon, lat
Task: Retrieve reading from rainfall that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061843 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, value, level, qc
Sensor: snow_depth | fields: lat, qc, unit, type
Task: Retrieve depth from air_quality whose qc is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061844 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lat, qc, type, value
Sensor: soil_moisture | fields: ts, reading, qc, depth
Task: Retrieve lon from frost whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061845 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, value, lat, ts
Sensor: evaporation | fields: level, qc, lon, lat
Task: Get lat from rainfall where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061846 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, level, type, value
Sensor: soil_moisture | fields: depth, lon, qc, type
Task: Get level from wind_speed where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061847 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: level, unit, value, qc
Sensor: dew_point | fields: unit, lat, depth, qc
Task: Get depth from snow_depth where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061848 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: type, ts, value, unit
Sensor: air_quality | fields: ts, lat, qc, depth
Task: Get level from turbidity where type appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061849 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, level, ts, depth
Sensor: soil_moisture | fields: qc, reading, level, lat
Task: Retrieve level from rainfall whose ts is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061850 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, unit, reading, type
Sensor: cloud_cover | fields: type, level, value, lat
Task: Fetch reading from soil_moisture where reading is greater than the minimum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061851 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, reading, depth, lat
Sensor: turbidity | fields: depth, value, unit, type
Task: Retrieve level from snow_depth that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061852 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lon, lat, level, unit
Sensor: turbidity | fields: qc, level, ts, value
Task: Get lon from dew_point where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061853 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: ts, type, lat, lon
Sensor: lightning | fields: unit, ts, lon, lat
Task: Fetch depth from dew_point where type exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061854 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, value, qc
Sensor: temperature | fields: reading, value, qc, ts
Task: Retrieve value from lightning with depth above the MAX(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061855 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, unit, qc, lat
Sensor: temperature | fields: qc, unit, level, type
Task: Fetch value from cloud_cover where depth is greater than the maximum of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061856 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, lat, unit, level
Sensor: pressure | fields: unit, ts, value, depth
Task: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061857 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: value, type, level, qc
Sensor: evaporation | fields: lat, unit, level, depth
Task: Fetch value from snow_depth where value is greater than the average of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061858 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, unit, value, qc
Sensor: sunlight | fields: lon, value, level, reading
Task: Fetch lat from snow_depth where depth is greater than the average of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061859 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, qc, level, value
Sensor: snow_depth | fields: level, depth, lat, unit
Task: Fetch reading from sunlight that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061860 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: unit, value, lon, depth
Sensor: cloud_cover | fields: value, unit, lat, type
Task: Retrieve value from frost whose type is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061861 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, type, level, unit
Sensor: snow_depth | fields: qc, type, level, unit
Task: Get reading from drought_index where depth exceeds the count of reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061862 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, level, lon, depth
Sensor: lightning | fields: lon, ts, qc, type
Task: Retrieve reading from snow_depth that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061863 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: type, qc, level, value
Sensor: dew_point | fields: unit, reading, lon, depth
Task: Fetch depth from humidity that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061864 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, qc, level, lat
Sensor: dew_point | fields: lon, level, depth, lat
Task: Fetch reading from humidity where value is greater than the average of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061865 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, lat, qc, reading
Sensor: snow_depth | fields: level, qc, unit, lon
Task: Fetch depth from uv_index where reading is greater than the maximum of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061866 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, level, qc, reading
Sensor: frost | fields: unit, type, depth, ts
Task: Retrieve value from temperature with value above the SUM(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061867 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: ts, type, lat, unit
Sensor: air_quality | fields: qc, reading, ts, type
Task: Retrieve lon from uv_index whose ts is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061868 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: reading, lon, lat, ts
Sensor: cloud_cover | fields: level, depth, value, lat
Task: Retrieve depth from visibility that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061869 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, type, lon, ts
Sensor: sunlight | fields: lon, value, unit, ts
Task: Retrieve lon from frost with depth above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061870 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, level, value, depth
Sensor: turbidity | fields: reading, unit, level, lat
Task: Get lon from cloud_cover where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061871 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lon, type, value
Sensor: snow_depth | fields: qc, depth, type, unit
Task: Get lat from cloud_cover where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061872 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, value, lon, depth
Sensor: temperature | fields: reading, unit, value, qc
Task: Get lat from air_quality where type appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061873 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: depth, lon, reading, type
Sensor: cloud_cover | fields: ts, qc, type, level
Task: Fetch value from frost where depth is greater than the minimum of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061874 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, type, lat, unit
Sensor: sunlight | fields: depth, lon, type, unit
Task: Get reading from frost where reading exceeds the total value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061875 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, reading, lat, depth
Sensor: uv_index | fields: lon, qc, ts, lat
Task: Get depth from wind_speed where reading exceeds the count of value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061876 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, unit, depth, lon
Sensor: turbidity | fields: lat, unit, lon, depth
Task: Get lon from uv_index where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061877 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, value, reading, type
Sensor: turbidity | fields: lat, value, level, unit
Task: Get lat from cloud_cover where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061878 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, type, lon, unit
Sensor: frost | fields: unit, ts, level, value
Task: Get lon from humidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061879 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, ts, reading, qc
Sensor: snow_depth | fields: qc, depth, unit, value
Task: Retrieve value from humidity that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061880 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, level, lon, value
Sensor: visibility | fields: ts, unit, lon, reading
Task: Retrieve depth from evaporation with reading above the AVG(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061881 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: unit, lat, type, reading
Sensor: air_quality | fields: type, lon, unit, value
Task: Retrieve lat from pressure that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061882 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lon, level, unit
Sensor: dew_point | fields: type, lat, qc, value
Task: Get depth from snow_depth where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061883 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: depth, unit, lon, type
Sensor: lightning | fields: value, reading, qc, lon
Task: Retrieve level from air_quality with reading above the MAX(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061884 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, unit, lon, level
Sensor: temperature | fields: value, qc, lon, type
Task: Retrieve lat from wind_speed that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061885 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, value, unit
Sensor: pressure | fields: reading, lon, unit, qc
Task: Retrieve depth from wind_speed with value above the COUNT(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061886 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, ts, lon, qc
Sensor: lightning | fields: level, unit, lon, ts
Task: Fetch value from sunlight where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061887 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: value, qc, level, lat
Sensor: temperature | fields: reading, value, level, unit
Task: Retrieve depth from frost whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061888 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, ts, level, qc
Sensor: wind_speed | fields: unit, ts, lon, reading
Task: Fetch reading from sunlight that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061889 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, ts, type, unit
Sensor: frost | fields: level, reading, unit, lon
Task: Get level from cloud_cover where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061890 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, value, qc, lon
Sensor: air_quality | fields: ts, type, lon, value
Task: Get depth from sunlight where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061891 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, lon, unit, depth
Sensor: lightning | fields: reading, qc, value, ts
Task: Get depth from humidity where depth exceeds the count of value from lightning for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061892 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, unit, qc, depth
Sensor: turbidity | fields: qc, reading, value, ts
Task: Retrieve reading from cloud_cover whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061893 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, value, type, level
Sensor: air_quality | fields: ts, level, unit, lat
Task: Fetch level from lightning where reading is greater than the average of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061894 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: depth, type, level, qc
Sensor: rainfall | fields: qc, lon, lat, type
Task: Fetch reading from humidity where depth is greater than the maximum of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061895 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: ts, level, lon, type
Sensor: sunlight | fields: ts, qc, type, unit
Task: Fetch lon from frost that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061896 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, reading, ts, qc
Sensor: air_quality | fields: ts, type, unit, level
Task: Get value from lightning where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061897 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, ts, lat, depth
Sensor: evaporation | fields: type, lon, level, ts
Task: Fetch lon from soil_moisture that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_061898 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: lat, lon, qc, reading
Sensor: air_quality | fields: qc, depth, lon, level
Task: Get reading from lightning where depth exceeds the total value from air_quality for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_061899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.