variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: sunlight | code: hub | fields: qc, lat, lon, unit
Sensor: wind_speed | fields: level, reading, unit, type
Task: Fetch level from sunlight where reading is greater than the maximum of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070000 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: value, unit, lon, lat
Sensor: frost | fields: unit, level, qc, lat
Task: Fetch reading from dew_point where type exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070001 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: ts, level, lat, lon
Sensor: snow_depth | fields: type, unit, value, lat
Task: Get depth from frost where depth exceeds the total value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070002 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lat, ts, depth, reading
Sensor: frost | fields: lon, depth, lat, ts
Task: Get value from air_quality where ts appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070003 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, lon, reading, level
Sensor: frost | fields: qc, lat, ts, value
Task: Get lat from rainfall where value exceeds the total depth from frost for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070004 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, level, ts, reading
Sensor: wind_speed | fields: type, lon, depth, level
Task: Fetch lat from dew_point that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070005 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: ts, qc, unit, level
Sensor: sunlight | fields: value, lat, unit, ts
Task: Get lat from rainfall where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070006 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lat, unit, qc, reading
Sensor: snow_depth | fields: ts, unit, level, qc
Task: Fetch lat from visibility where depth exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070007 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: qc, lon, level, type
Sensor: soil_moisture | fields: lat, type, value, qc
Task: Fetch reading from drought_index where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070008 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, value, qc, lat
Sensor: cloud_cover | fields: depth, reading, level, qc
Task: Retrieve value from lightning with value above the MAX(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070009 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: level, value, depth, ts
Sensor: soil_moisture | fields: qc, value, ts, lon
Task: Retrieve level from visibility that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070010 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: value, depth, unit, level
Sensor: air_quality | fields: value, lat, type, ts
Task: Retrieve level from turbidity with reading above the MIN(reading) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070011 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, type, unit, qc
Sensor: pressure | fields: level, depth, unit, value
Task: Get lat from sunlight where depth exceeds the minimum value from pressure for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070012 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, value, unit, lat
Sensor: turbidity | fields: value, ts, unit, reading
Task: Retrieve reading from pressure whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070013 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, value, ts, unit
Sensor: uv_index | fields: reading, lon, level, depth
Task: Retrieve lon from snow_depth whose qc is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070014 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, depth, reading, value
Sensor: air_quality | fields: lon, reading, qc, unit
Task: Fetch lon from temperature where depth is greater than the total of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070015 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: unit, reading, depth, type
Sensor: visibility | fields: reading, value, unit, depth
Task: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070016 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, lat, ts, level
Sensor: soil_moisture | fields: lon, value, reading, unit
Task: Fetch level from evaporation where value is greater than the minimum of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070017 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, qc, unit, ts
Sensor: cloud_cover | fields: unit, qc, reading, type
Task: Fetch value from temperature where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070018 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, lat, reading, unit
Sensor: visibility | fields: unit, ts, lat, reading
Task: Retrieve reading from humidity with depth above the MAX(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070019 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, type, qc, value
Sensor: air_quality | fields: lat, ts, level, value
Task: Get reading from soil_moisture where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070020 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lon, level, lat, unit
Sensor: evaporation | fields: ts, type, depth, level
Task: Retrieve reading from pressure whose ts is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070021 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, depth, qc, level
Sensor: pressure | fields: qc, depth, lat, ts
Task: Retrieve depth from uv_index with value above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070022 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: depth, level, unit, qc
Sensor: soil_moisture | fields: level, value, type, reading
Task: Retrieve lon from visibility that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070023 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, type, lat, lon
Sensor: evaporation | fields: value, level, lon, lat
Task: Fetch level from wind_speed where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070024 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: value, lon, level, type
Sensor: evaporation | fields: lon, depth, qc, reading
Task: Fetch depth from sunlight that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070025 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, qc, unit, reading
Sensor: frost | fields: qc, depth, ts, level
Task: Get value from lightning where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070026 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: level, ts, lon, value
Sensor: sunlight | fields: value, lat, lon, level
Task: Retrieve lon from lightning that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070027 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, lon, reading, ts
Sensor: evaporation | fields: depth, lon, value, reading
Task: Fetch value from humidity where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070028 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, lat, ts
Sensor: sunlight | fields: qc, reading, type, level
Task: Fetch level from air_quality where type exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070029 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, type, reading, lon
Sensor: turbidity | fields: unit, reading, type, ts
Task: Retrieve depth from humidity whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070030 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: level, qc, lon, type
Sensor: turbidity | fields: depth, ts, lat, value
Task: Retrieve depth from rainfall that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070031 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: qc, depth, lat, ts
Sensor: uv_index | fields: depth, type, level, lat
Task: Get lon from dew_point where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070032 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, unit, lon, ts
Sensor: humidity | fields: type, reading, depth, ts
Task: Fetch lat from pressure where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070033 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, type, level
Sensor: dew_point | fields: lon, value, level, qc
Task: Get reading from uv_index where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070034 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, type, lon, qc
Sensor: humidity | fields: level, value, reading, unit
Task: Get lat from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070035 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, value, level, reading
Sensor: dew_point | fields: type, lat, value, depth
Task: Fetch lon from pressure that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070036 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: lon, type, unit, ts
Sensor: frost | fields: ts, level, value, qc
Task: Fetch value from rainfall where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070037 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, value, qc, ts
Sensor: snow_depth | fields: level, lon, unit, depth
Task: Fetch value from cloud_cover that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070038 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, ts, qc, depth
Sensor: temperature | fields: value, unit, lat, type
Task: Get lon from snow_depth where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070039 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: reading, type, value, level
Sensor: soil_moisture | fields: qc, type, depth, unit
Task: Fetch value from pressure where reading is greater than the count of of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070040 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: level, lon, lat, value
Sensor: pressure | fields: lon, lat, ts, reading
Task: Retrieve lat from evaporation whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070041 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, ts, depth, lat
Sensor: temperature | fields: lat, reading, depth, unit
Task: Retrieve depth from cloud_cover that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070042 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, level, reading, unit
Sensor: drought_index | fields: unit, value, type, reading
Task: Retrieve reading from dew_point with depth above the SUM(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070043 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, level, type, value
Sensor: soil_moisture | fields: unit, type, lat, ts
Task: Fetch depth from evaporation where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070044 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, reading, qc, depth
Sensor: frost | fields: type, level, lat, lon
Task: Get lon from temperature where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070045 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, level, type, depth
Sensor: lightning | fields: unit, value, depth, qc
Task: Fetch depth from uv_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070046 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, ts, level, value
Sensor: soil_moisture | fields: reading, lat, qc, depth
Task: Get depth from lightning where depth exceeds the minimum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070047 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, qc, ts, depth
Sensor: soil_moisture | fields: qc, lon, unit, ts
Task: Fetch reading from cloud_cover where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070048 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, level, value, lon
Sensor: soil_moisture | fields: value, reading, qc, level
Task: Get lon from sunlight where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070049 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, level, reading, type
Sensor: snow_depth | fields: depth, qc, type, lat
Task: Retrieve reading from humidity with value above the AVG(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070050 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, lon, type, qc
Sensor: lightning | fields: lon, ts, qc, level
Task: Get reading from turbidity where depth exceeds the maximum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070051 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, type, level, reading
Sensor: sunlight | fields: value, type, level, reading
Task: Get level from air_quality where reading exceeds the count of depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070052 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, qc, lat, type
Sensor: rainfall | fields: level, qc, lon, value
Task: Fetch lat from lightning that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070053 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, reading, level, lat
Sensor: lightning | fields: level, ts, value, lat
Task: Get lon from snow_depth where value exceeds the count of value from lightning for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070054 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, ts, value, lat
Sensor: wind_speed | fields: lon, lat, qc, reading
Task: Retrieve lon from air_quality whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070055 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: level, reading, value, qc
Sensor: frost | fields: lat, depth, level, type
Task: Fetch lon from air_quality that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070056 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, reading, depth, lat
Sensor: lightning | fields: ts, qc, lat, value
Task: Fetch depth from air_quality where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070057 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, value, lat, qc
Sensor: cloud_cover | fields: qc, lon, ts, lat
Task: Retrieve lat from snow_depth whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070058 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, depth, unit, ts
Sensor: air_quality | fields: qc, ts, type, lat
Task: Get level from rainfall where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070059 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: lon, level, depth, unit
Sensor: pressure | fields: value, lat, level, depth
Task: Retrieve lat from turbidity whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070060 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, qc, value, type
Sensor: lightning | fields: qc, ts, level, depth
Task: Fetch reading from uv_index where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070061 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, value, unit, type
Sensor: evaporation | fields: level, qc, reading, unit
Task: Get value from soil_moisture where reading exceeds the count of reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070062 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, lon, reading, unit
Sensor: visibility | fields: reading, lat, ts, value
Task: Retrieve lat from dew_point with value above the MIN(reading) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070063 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, value, depth, ts
Sensor: dew_point | fields: level, ts, depth, lon
Task: Retrieve lon from temperature whose ts is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070064 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: reading, lon, depth, level
Sensor: cloud_cover | fields: depth, ts, qc, type
Task: Fetch level from rainfall where value is greater than the minimum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070065 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, reading, type, level
Sensor: uv_index | fields: reading, unit, qc, type
Task: Fetch depth from lightning where reading is greater than the maximum of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070066 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, type, unit, value
Sensor: cloud_cover | fields: reading, unit, lat, lon
Task: Get lat from wind_speed where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070067 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, value, unit, reading
Sensor: rainfall | fields: qc, lat, ts, depth
Task: Get depth from frost where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070068 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, type, unit, value
Sensor: sunlight | fields: depth, lat, type, unit
Task: Get reading from humidity where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070069 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, value, qc, ts
Sensor: dew_point | fields: unit, lon, level, reading
Task: Fetch depth from lightning where qc exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070070 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, qc, value, reading
Sensor: air_quality | fields: ts, unit, qc, level
Task: Fetch lat from snow_depth that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070071 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: ts, level, reading, lat
Sensor: air_quality | fields: qc, value, unit, lat
Task: Get reading from temperature where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070072 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lat, reading, qc, depth
Sensor: humidity | fields: reading, ts, lat, depth
Task: Retrieve lat from drought_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070073 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: depth, level, lon, unit
Sensor: air_quality | fields: qc, lat, value, type
Task: Fetch value from humidity where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070074 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lon, depth, unit
Sensor: lightning | fields: value, type, reading, level
Task: Fetch lat from wind_speed where reading is greater than the average of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070075 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: depth, value, level, qc
Sensor: rainfall | fields: qc, reading, ts, unit
Task: Fetch depth from sunlight where value is greater than the total of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070076 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, lat, lon, value
Sensor: pressure | fields: ts, level, type, qc
Task: Retrieve level from wind_speed whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070077 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, type, lat, depth
Sensor: uv_index | fields: level, ts, value, lat
Task: Get reading from drought_index where ts appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070078 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lon, unit, ts, reading
Sensor: pressure | fields: value, lon, lat, unit
Task: Retrieve lon from dew_point with depth above the SUM(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"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_070079 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, type, ts, value
Sensor: humidity | fields: lon, unit, reading, type
Task: Fetch depth from pressure where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070080 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lat, type, lon, ts
Sensor: visibility | fields: depth, qc, lat, lon
Task: Get lat from frost where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070081 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: qc, level, lon, ts
Sensor: drought_index | fields: unit, value, level, reading
Task: Retrieve value from temperature that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070082 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, depth, type
Sensor: cloud_cover | fields: unit, reading, lon, lat
Task: Get reading from pressure where qc appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070083 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, lon, value, ts
Sensor: rainfall | fields: level, unit, depth, lon
Task: Fetch level from frost where depth is greater than the minimum of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070084 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, depth, lat, qc
Sensor: rainfall | fields: lat, ts, reading, depth
Task: Fetch reading from air_quality that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070085 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: type, ts, unit, lat
Sensor: evaporation | fields: type, ts, depth, lat
Task: Get depth from drought_index where type appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070086 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, lat, qc, value
Sensor: frost | fields: unit, qc, value, reading
Task: Get reading from snow_depth where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070087 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lat, ts, lon
Sensor: cloud_cover | fields: lat, qc, value, lon
Task: Get reading from dew_point where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070088 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: depth, qc, lat, type
Sensor: cloud_cover | fields: level, lon, type, unit
Task: Retrieve depth from dew_point with depth above the COUNT(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"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_070089 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, depth, reading, ts
Sensor: snow_depth | fields: reading, lat, ts, qc
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070090 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, level, unit, depth
Sensor: sunlight | fields: type, unit, reading, depth
Task: Retrieve depth from humidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070091 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: reading, lon, unit, type
Sensor: humidity | fields: reading, lon, lat, qc
Task: Get lat from lightning where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070092 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, unit, type, level
Sensor: evaporation | fields: level, ts, lon, lat
Task: Fetch lat from cloud_cover where reading is greater than the average of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070093 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, reading, unit
Sensor: humidity | fields: value, ts, qc, depth
Task: Get level from rainfall where type appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070094 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, level, qc, unit
Sensor: snow_depth | fields: lat, ts, level, unit
Task: Fetch level from lightning where depth is greater than the maximum of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070095 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, type, reading, depth
Sensor: turbidity | fields: depth, reading, lat, ts
Task: Get lon from drought_index where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070096 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, type, qc, unit
Sensor: dew_point | fields: type, reading, lon, qc
Task: Get lat from humidity where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070097 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, ts, unit, lon
Sensor: air_quality | fields: ts, unit, depth, qc
Task: Fetch depth from pressure that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070098 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, type, ts, value
Sensor: air_quality | fields: value, type, depth, reading
Task: Retrieve reading from soil_moisture with reading above the SUM(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.