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: frost | code: stn | fields: lon, value, level, depth
Sensor: soil_moisture | fields: level, lat, depth, type
Task: Fetch lat from frost that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008900 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, unit, ts, reading
Sensor: temperature | fields: lon, lat, level, type
Task: Get lat from pressure where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008901 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, value, qc, level
Sensor: lightning | fields: lon, level, ts, qc
Task: Fetch reading from drought_index that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008902 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, value, ts, qc
Sensor: soil_moisture | fields: lat, level, unit, lon
Task: Retrieve reading from visibility whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008903 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lat, unit, qc, reading
Sensor: drought_index | fields: lat, value, type, ts
Task: Fetch lon from rainfall where unit exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008904 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, reading, qc, level
Sensor: uv_index | fields: lon, qc, type, level
Task: Retrieve depth from turbidity with value above the MIN(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008905 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: reading, level, depth, type
Sensor: dew_point | fields: unit, qc, reading, ts
Task: Get value from uv_index where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008906 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, depth, lon, qc
Sensor: pressure | fields: lat, type, qc, level
Task: Fetch lon from wind_speed that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008907 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: ts, lat, depth, level
Sensor: drought_index | fields: qc, value, level, type
Task: Fetch reading from frost where reading is greater than the count of of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008908 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, unit, depth, qc
Sensor: frost | fields: lon, type, lat, value
Task: Get value from turbidity where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008909 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: reading, ts, unit, qc
Sensor: pressure | fields: reading, lat, value, lon
Task: Fetch value from temperature where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008910 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, level, reading, ts
Sensor: drought_index | fields: lat, value, ts, unit
Task: Retrieve level from lightning that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008911 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: value, depth, reading, type
Sensor: pressure | fields: type, level, unit, depth
Task: Get reading from frost where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008912 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, reading, lat, qc
Sensor: snow_depth | fields: lat, lon, reading, level
Task: Fetch level from visibility that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008913 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, qc, unit, lat
Sensor: lightning | fields: qc, ts, reading, unit
Task: Fetch reading from pressure where reading is greater than the maximum of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008914 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, ts, lat, lon
Sensor: snow_depth | fields: depth, qc, lat, level
Task: Get value from temperature where value exceeds the minimum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008915 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, qc, depth, level
Sensor: sunlight | fields: ts, lon, unit, reading
Task: Get lat from evaporation where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008916 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, value, unit, reading
Sensor: cloud_cover | fields: qc, value, unit, level
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008917 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, ts, reading, unit
Sensor: lightning | fields: depth, lat, unit, reading
Task: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008918 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lat, ts, unit
Sensor: drought_index | fields: depth, level, value, unit
Task: Fetch level from wind_speed that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008919 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, level, type, unit
Sensor: snow_depth | fields: lon, depth, reading, unit
Task: Get lat from humidity where reading exceeds the total depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008920 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, ts, unit, value
Sensor: wind_speed | fields: value, type, level, qc
Task: Fetch lat from soil_moisture that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008921 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, ts, reading, unit
Sensor: snow_depth | fields: lon, level, qc, reading
Task: Retrieve value from uv_index with value above the MAX(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008922 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: unit, reading, qc, depth
Sensor: air_quality | fields: reading, unit, lon, qc
Task: Retrieve lon from lightning that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008923 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, qc, lat, lon
Sensor: humidity | fields: lat, depth, qc, reading
Task: Get reading from visibility where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008924 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, qc, reading, lon
Sensor: cloud_cover | fields: qc, unit, reading, value
Task: Get value from wind_speed where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008925 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: unit, reading, level, qc
Sensor: snow_depth | fields: level, lat, ts, qc
Task: Fetch value from lightning that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008926 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, lat, type, value
Sensor: evaporation | fields: qc, type, value, unit
Task: Fetch depth from rainfall that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008927 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, ts, lat, depth
Sensor: turbidity | fields: qc, lat, level, ts
Task: Fetch lon from lightning where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008928 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, ts, type, qc
Sensor: lightning | fields: reading, level, value, ts
Task: Get lat from rainfall where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008929 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: type, qc, lon, level
Sensor: turbidity | fields: value, type, level, reading
Task: Get depth from visibility where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008930 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: type, ts, lat, depth
Sensor: air_quality | fields: lon, level, lat, value
Task: Retrieve level from temperature with reading above the SUM(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008931 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: qc, value, reading, lon
Sensor: frost | fields: unit, ts, level, lon
Task: Retrieve reading from uv_index whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008932 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, unit, level, lat
Sensor: lightning | fields: type, unit, level, lat
Task: Fetch depth from rainfall that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008933 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, unit, level
Sensor: rainfall | fields: value, ts, unit, lat
Task: Retrieve lon from dew_point with value above the SUM(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008934 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, depth, qc, reading
Sensor: air_quality | fields: unit, lon, ts, lat
Task: Retrieve reading from frost whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008935 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, depth, lon, qc
Sensor: evaporation | fields: lon, ts, reading, qc
Task: Fetch depth from frost where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008936 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, type, ts, depth
Sensor: drought_index | fields: type, lat, value, level
Task: Get value from frost where reading exceeds the maximum reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008937 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, value, unit, type
Sensor: pressure | fields: qc, ts, lon, reading
Task: Retrieve depth from temperature with depth above the MAX(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008938 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: value, ts, reading, qc
Sensor: wind_speed | fields: value, unit, lon, ts
Task: Fetch lon from turbidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008939 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, reading, unit, lon
Sensor: snow_depth | fields: qc, value, reading, type
Task: Fetch lat from sunlight that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008940 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: value, lat, depth, lon
Sensor: air_quality | fields: lat, reading, ts, qc
Task: Fetch depth from drought_index where depth is greater than the count of of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008941 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: level, type, reading, ts
Sensor: uv_index | fields: lon, type, value, depth
Task: Fetch value from wind_speed that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008942 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, lon, level, qc
Sensor: rainfall | fields: level, depth, ts, reading
Task: Fetch lon from lightning that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008943 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: qc, reading, ts, lon
Sensor: cloud_cover | fields: lon, level, unit, value
Task: Get lon from lightning where depth exceeds the total reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008944 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: type, lat, ts, lon
Sensor: wind_speed | fields: level, value, lon, unit
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008945 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, reading, ts, depth
Sensor: soil_moisture | fields: level, unit, ts, lat
Task: Fetch reading from turbidity where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008946 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, depth, qc, lat
Sensor: sunlight | fields: lat, unit, qc, ts
Task: Get lon from snow_depth where value exceeds the minimum reading from sunlight for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008947 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: value, reading, lat, depth
Sensor: air_quality | fields: depth, level, lat, type
Task: Get level from visibility where value exceeds the count of value from air_quality for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008948 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, reading, lon
Sensor: humidity | fields: lon, lat, depth, unit
Task: Get value from sunlight where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008949 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, unit, depth, ts
Sensor: frost | fields: lon, level, qc, lat
Task: Get value from snow_depth where reading exceeds the maximum reading from frost for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008950 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, lon, unit, lat
Sensor: drought_index | fields: level, type, reading, qc
Task: Retrieve value from dew_point that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008951 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, reading, qc, type
Sensor: drought_index | fields: reading, type, ts, unit
Task: Fetch depth from cloud_cover that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008952 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, lat, ts, type
Sensor: dew_point | fields: unit, level, depth, qc
Task: Retrieve lat from wind_speed with reading above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008953 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, lat, lon, qc
Sensor: sunlight | fields: depth, level, reading, lat
Task: Fetch level from temperature that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008954 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lat, value, level
Sensor: wind_speed | fields: type, level, reading, depth
Task: Fetch value from rainfall where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008955 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, depth, qc, level
Sensor: frost | fields: reading, unit, level, type
Task: Fetch reading from evaporation where depth is greater than the total of reading in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008956 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, reading, lon, type
Sensor: pressure | fields: lon, unit, level, value
Task: Fetch depth from air_quality that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008957 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, reading, depth, unit
Sensor: uv_index | fields: lon, unit, type, qc
Task: Get lon from dew_point where depth appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008958 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: type, lon, lat, depth
Sensor: visibility | fields: lat, depth, level, unit
Task: Fetch depth from lightning that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008959 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, type, level, lon
Sensor: air_quality | fields: lon, unit, value, level
Task: Get lon from temperature where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008960 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, ts, value, reading
Sensor: turbidity | fields: unit, type, lon, qc
Task: Get lon from rainfall where value exceeds the total reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008961 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, ts, depth, level
Sensor: drought_index | fields: unit, lon, reading, ts
Task: Retrieve level from temperature whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008962 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, ts, unit, reading
Sensor: evaporation | fields: value, level, lat, ts
Task: Fetch depth from temperature where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008963 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, type, unit, depth
Sensor: soil_moisture | fields: lon, ts, reading, qc
Task: Get lat from lightning where value exceeds the total value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008964 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, reading, depth, lat
Sensor: uv_index | fields: unit, level, lat, type
Task: Retrieve reading from pressure with depth above the COUNT(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008965 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, reading, lon, unit
Sensor: lightning | fields: qc, level, unit, reading
Task: Retrieve reading from dew_point with depth above the MAX(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008966 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lat, reading, qc, ts
Sensor: uv_index | fields: level, unit, value, ts
Task: Get level from lightning where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008967 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, type, ts, level
Sensor: lightning | fields: lat, lon, qc, unit
Task: Get value from frost where unit appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008968 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, level, value, reading
Sensor: frost | fields: ts, level, reading, type
Task: Retrieve value from snow_depth whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008969 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: ts, unit, lat, level
Sensor: pressure | fields: value, type, lat, ts
Task: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008970 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, qc, level, lon
Sensor: dew_point | fields: type, value, reading, qc
Task: Fetch reading from sunlight that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008971 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: depth, lat, type, qc
Sensor: drought_index | fields: value, type, depth, unit
Task: Get value from air_quality where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008972 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, lon, type, reading
Sensor: temperature | fields: type, lon, level, ts
Task: Get level from frost where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008973 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, reading, unit, value
Sensor: turbidity | fields: reading, level, depth, lon
Task: Fetch lat from dew_point where depth is greater than the count of of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008974 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, lon, qc, lat
Sensor: air_quality | fields: lon, unit, ts, reading
Task: Retrieve lat from pressure that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008975 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, type, qc, depth
Sensor: cloud_cover | fields: qc, type, unit, depth
Task: Retrieve level from lightning with reading above the SUM(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008976 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, value, unit, lon
Sensor: rainfall | fields: type, reading, qc, depth
Task: Fetch value from visibility that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008977 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: level, type, depth, lat
Sensor: lightning | fields: lat, level, reading, ts
Task: Fetch level from rainfall where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008978 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, level, ts, depth
Sensor: drought_index | fields: ts, lon, reading, value
Task: Get reading from soil_moisture where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008979 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, lon, depth, lat
Sensor: frost | fields: depth, qc, reading, ts
Task: Retrieve level from snow_depth with depth above the COUNT(value) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008980 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lat, type, depth, level
Sensor: lightning | fields: lon, reading, lat, depth
Task: Get value from frost where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008981 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lat, level, lon
Sensor: air_quality | fields: value, level, type, unit
Task: Retrieve level from drought_index that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008982 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: level, type, depth, reading
Sensor: uv_index | fields: ts, lon, lat, qc
Task: Fetch depth from drought_index that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008983 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: depth, unit, type, lon
Sensor: temperature | fields: unit, type, value, ts
Task: Get level from air_quality where reading exceeds the minimum depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008984 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, type, level, unit
Sensor: temperature | fields: unit, type, qc, level
Task: Retrieve value from drought_index with value above the AVG(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008985 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: unit, type, level, value
Sensor: temperature | fields: type, lon, unit, reading
Task: Get lat from sunlight where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008986 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, unit, level, depth
Sensor: drought_index | fields: ts, lon, unit, level
Task: Retrieve lon from frost whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008987 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, qc, lat, depth
Sensor: snow_depth | fields: type, ts, reading, lat
Task: Get lon from air_quality where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008988 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: reading, level, depth, unit
Sensor: snow_depth | fields: type, reading, value, lon
Task: Fetch lat from air_quality that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008989 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, reading, qc, unit
Sensor: snow_depth | fields: reading, ts, lat, qc
Task: Retrieve lat from frost with value above the SUM(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008990 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, unit, level, lat
Sensor: sunlight | fields: depth, lat, unit, lon
Task: Get reading from frost where qc appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008991 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: ts, reading, unit, type
Sensor: dew_point | fields: reading, ts, value, lon
Task: Retrieve value from drought_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008992 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, unit, ts, lon
Sensor: humidity | fields: lon, qc, level, type
Task: Get reading from lightning where ts appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008993 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, lat, qc, depth
Sensor: humidity | fields: value, qc, type, ts
Task: Get lon from air_quality where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008994 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, depth, ts, unit
Sensor: wind_speed | fields: ts, level, qc, lat
Task: Get lon from cloud_cover where qc appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_008995 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: lat, depth, unit, type
Sensor: uv_index | fields: lat, type, value, depth
Task: Get reading from turbidity where reading exceeds the maximum depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008996 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: level, ts, lon, lat
Sensor: cloud_cover | fields: value, lat, lon, qc
Task: Get level from humidity where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008997 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, depth, type, ts
Sensor: cloud_cover | fields: type, lon, reading, depth
Task: Get reading from air_quality where reading exceeds the maximum depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008998 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: type, qc, lat, value
Sensor: evaporation | fields: lat, unit, lon, level
Task: Get level from visibility where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_008999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.