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: mst | fields: lon, lat, unit, level
Sensor: evaporation | fields: unit, type, qc, reading
Task: Get reading from sunlight where value exceeds the average depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083000 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, ts, qc, type
Sensor: visibility | fields: depth, qc, lat, ts
Task: Retrieve level from pressure with depth above the SUM(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083001 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: type, qc, lon, reading
Sensor: lightning | fields: type, unit, ts, reading
Task: Retrieve lat from rainfall whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083002 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, lon, reading, ts
Sensor: soil_moisture | fields: ts, value, type, depth
Task: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083003 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, unit, qc
Sensor: air_quality | fields: reading, type, qc, value
Task: Get lon from rainfall where depth exceeds the maximum depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083004 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, reading, unit, value
Sensor: visibility | fields: ts, qc, reading, lon
Task: Retrieve reading from pressure whose ts is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083005 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: type, level, reading, value
Sensor: snow_depth | fields: reading, lat, qc, type
Task: Fetch value from temperature where reading is greater than the count of of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083006 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, lat, lon, reading
Sensor: pressure | fields: lat, lon, level, unit
Task: Get reading from uv_index where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083007 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lon, qc, value, reading
Sensor: wind_speed | fields: value, reading, level, unit
Task: Fetch level from pressure where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083008 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, reading, ts, value
Sensor: wind_speed | fields: level, ts, lon, unit
Task: Fetch level from visibility where qc exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083009 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: level, value, reading, lat
Sensor: visibility | fields: level, reading, value, lat
Task: Fetch level from evaporation where value is greater than the average of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083010 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, unit, value, depth
Sensor: visibility | fields: depth, unit, type, lat
Task: Fetch lon from pressure where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083011 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, reading, depth, qc
Sensor: dew_point | fields: unit, lon, value, ts
Task: Fetch depth from uv_index that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083012 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: value, unit, depth, ts
Sensor: pressure | fields: level, depth, qc, lat
Task: Get lon from lightning where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083013 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, type, unit, qc
Sensor: snow_depth | fields: reading, depth, ts, value
Task: Get lat from cloud_cover where unit appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083014 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, lon, value, ts
Sensor: wind_speed | fields: qc, depth, value, level
Task: Fetch depth from snow_depth where value is greater than the total of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083015 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, type, qc, value
Sensor: soil_moisture | fields: lon, type, value, lat
Task: Retrieve value from snow_depth whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083016 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, ts, depth, lat
Sensor: turbidity | fields: depth, reading, unit, lon
Task: Retrieve depth from rainfall whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083017 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, ts, value
Sensor: cloud_cover | fields: lat, depth, lon, type
Task: Fetch depth from dew_point where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083018 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: qc, depth, reading, level
Sensor: lightning | fields: reading, depth, lon, value
Task: Get lat from sunlight where depth exceeds the average value from lightning for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083019 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, lon, level, unit
Sensor: turbidity | fields: value, level, lon, ts
Task: Fetch reading from evaporation that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083020 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, lat, reading, value
Sensor: temperature | fields: ts, unit, level, depth
Task: Get lat from wind_speed where value exceeds the count of reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083021 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, level, reading, lat
Sensor: snow_depth | fields: reading, depth, unit, type
Task: Fetch lon from frost where type exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083022 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: value, lon, depth, lat
Sensor: soil_moisture | fields: lat, unit, value, qc
Task: Fetch level from wind_speed that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083023 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, lat, lon, value
Sensor: visibility | fields: lon, qc, depth, unit
Task: Fetch reading from sunlight where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083024 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, reading, level, ts
Sensor: evaporation | fields: lat, level, value, lon
Task: Get lon from soil_moisture where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083025 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: level, unit, reading, ts
Sensor: evaporation | fields: depth, value, reading, lon
Task: Get lat from dew_point where reading exceeds the count of value from evaporation for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083026 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: type, unit, lon, reading
Sensor: drought_index | fields: depth, ts, lon, lat
Task: Retrieve reading from lightning that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083027 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, qc, reading
Sensor: sunlight | fields: value, depth, type, lat
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083028 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, value, level, lon
Sensor: evaporation | fields: qc, lon, value, type
Task: Retrieve level from cloud_cover whose type is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083029 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, depth, level, value
Sensor: frost | fields: depth, lon, ts, unit
Task: Retrieve depth from humidity with depth above the MIN(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083030 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, qc, lat, depth
Sensor: visibility | fields: reading, depth, lat, level
Task: Get lat from snow_depth where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083031 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, type, unit, reading
Sensor: lightning | fields: unit, type, reading, value
Task: Retrieve lon from frost whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083032 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: reading, lon, depth, qc
Sensor: sunlight | fields: value, level, reading, depth
Task: Retrieve lon from dew_point that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083033 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: reading, depth, unit, qc
Sensor: temperature | fields: unit, value, qc, lat
Task: Get lon from lightning where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083034 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: qc, unit, value, type
Sensor: dew_point | fields: reading, ts, level, qc
Task: Retrieve lon from drought_index whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083035 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, level, reading
Sensor: air_quality | fields: qc, lon, value, ts
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083036 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lat, depth, ts, type
Sensor: evaporation | fields: lat, depth, qc, ts
Task: Fetch lat from sunlight where ts exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083037 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, level, reading, unit
Sensor: lightning | fields: lon, value, depth, qc
Task: Get value from cloud_cover where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083038 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, reading, unit, depth
Sensor: dew_point | fields: ts, unit, reading, lon
Task: Fetch lon from soil_moisture where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083039 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, depth, value, lon
Sensor: soil_moisture | fields: qc, level, type, ts
Task: Get lat from evaporation where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083040 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: type, lat, qc, level
Sensor: visibility | fields: depth, reading, unit, level
Task: Get lon from frost where value exceeds the count of value from visibility for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083041 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, depth, reading, type
Sensor: air_quality | fields: ts, qc, lon, value
Task: Get reading from dew_point where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083042 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: depth, qc, level, type
Sensor: snow_depth | fields: lat, value, qc, unit
Task: Fetch reading from visibility where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083043 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, type, depth, lon
Sensor: visibility | fields: depth, lon, reading, ts
Task: Fetch depth from humidity where depth exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083044 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, unit, lat, lon
Sensor: cloud_cover | fields: unit, level, qc, lat
Task: Fetch reading from soil_moisture that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083045 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: depth, lon, reading, ts
Sensor: pressure | fields: type, ts, qc, lat
Task: Fetch value from lightning where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083046 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, ts, level, lon
Sensor: snow_depth | fields: value, qc, lon, lat
Task: Fetch lat from rainfall that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083047 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, lat, ts, lon
Sensor: sunlight | fields: reading, depth, type, unit
Task: Get level from wind_speed where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083048 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, value, lat
Sensor: rainfall | fields: level, qc, reading, depth
Task: Fetch lon from drought_index that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083049 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, qc, value, lat
Sensor: sunlight | fields: unit, level, lon, lat
Task: Retrieve value from soil_moisture that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083050 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: reading, unit, value, type
Sensor: uv_index | fields: lon, depth, ts, type
Task: Fetch reading from turbidity where qc exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083051 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, reading, ts
Sensor: uv_index | fields: lon, reading, depth, qc
Task: Retrieve lat from snow_depth with value above the COUNT(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083052 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, lon, depth, lat
Sensor: evaporation | fields: lat, qc, type, value
Task: Fetch lat from turbidity where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083053 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, lon, unit, value
Sensor: lightning | fields: unit, qc, level, lon
Task: Fetch depth from turbidity where qc exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083054 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, ts, depth, unit
Sensor: visibility | fields: depth, level, lon, value
Task: Get lon from dew_point where reading exceeds the count of reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083055 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: depth, ts, level, qc
Sensor: humidity | fields: type, ts, reading, level
Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083056 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, value, qc, depth
Sensor: rainfall | fields: lon, level, depth, unit
Task: Retrieve value from visibility with reading above the MAX(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083057 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, ts, lon, type
Sensor: dew_point | fields: reading, lon, level, unit
Task: Retrieve depth from lightning that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083058 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, type, lon
Sensor: cloud_cover | fields: level, depth, type, ts
Task: Fetch value from uv_index where type exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083059 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: depth, reading, type, ts
Sensor: pressure | fields: unit, reading, value, type
Task: Fetch level from frost where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083060 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: depth, lat, lon, type
Sensor: air_quality | fields: ts, qc, unit, reading
Task: Retrieve level from temperature that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083061 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, qc, lat, reading
Sensor: visibility | fields: unit, depth, type, qc
Task: Fetch value from soil_moisture where reading is greater than the average of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083062 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, qc, reading, type
Sensor: evaporation | fields: ts, lat, unit, value
Task: Fetch lat from cloud_cover where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083063 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: value, reading, level, lat
Sensor: drought_index | fields: value, level, unit, qc
Task: Fetch level from dew_point where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083064 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, type, level
Sensor: temperature | fields: ts, lat, lon, level
Task: Fetch level from air_quality where value is greater than the total of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083065 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, reading, value, lat
Sensor: frost | fields: qc, reading, depth, unit
Task: Fetch value from dew_point that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083066 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, depth, qc, value
Sensor: pressure | fields: qc, type, lat, level
Task: Retrieve level from soil_moisture that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083067 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, qc, value
Sensor: wind_speed | fields: lon, level, value, qc
Task: Get lat from cloud_cover where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083068 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: type, ts, lat, qc
Sensor: turbidity | fields: value, type, qc, lat
Task: Fetch level from lightning that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083069 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, type, qc, ts
Sensor: air_quality | fields: lon, ts, type, unit
Task: Get lon from snow_depth where depth exceeds the count of value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083070 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, reading, lat
Sensor: turbidity | fields: level, reading, ts, type
Task: Retrieve lon from sunlight that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083071 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lat, qc, depth, reading
Sensor: visibility | fields: ts, qc, reading, unit
Task: Fetch lat from lightning where depth is greater than the average of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083072 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, ts, qc, value
Sensor: sunlight | fields: level, lat, lon, value
Task: Retrieve value from visibility whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083073 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, level, depth, lat
Sensor: turbidity | fields: ts, type, lon, value
Task: Retrieve level from air_quality that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083074 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, lon, depth, level
Sensor: humidity | fields: lon, depth, reading, type
Task: Fetch depth from rainfall where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083075 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, reading, level, depth
Sensor: soil_moisture | fields: lon, qc, type, depth
Task: Retrieve lon from temperature whose depth is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083076 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, lon, type
Sensor: cloud_cover | fields: lat, level, qc, ts
Task: Fetch reading from temperature where reading is greater than the minimum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083077 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, ts, level, type
Sensor: turbidity | fields: unit, reading, lon, qc
Task: Fetch depth from temperature where qc exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083078 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, qc, value, ts
Sensor: soil_moisture | fields: qc, reading, level, type
Task: Get value from sunlight where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083079 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: depth, unit, reading, qc
Sensor: pressure | fields: lat, reading, depth, qc
Task: Fetch level from air_quality where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083080 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, ts, reading, unit
Sensor: snow_depth | fields: qc, ts, depth, lon
Task: Retrieve reading from cloud_cover with reading above the MAX(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083081 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: reading, type, lat, lon
Sensor: drought_index | fields: type, unit, reading, lon
Task: Retrieve level from visibility with reading above the MIN(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083082 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, depth, lon, level
Sensor: wind_speed | fields: qc, reading, unit, level
Task: Get value from frost where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083083 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, qc, value, depth
Sensor: turbidity | fields: type, reading, value, lat
Task: Retrieve level from rainfall with value above the MIN(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083084 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, qc, value, lon
Sensor: temperature | fields: type, level, lat, unit
Task: Get depth from rainfall where qc appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083085 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: qc, type, ts, level
Sensor: sunlight | fields: depth, lon, ts, qc
Task: Get lat from uv_index where depth exceeds the maximum depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083086 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, ts, lat, type
Sensor: dew_point | fields: reading, type, value, qc
Task: Fetch reading from soil_moisture where type exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083087 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, value, qc
Sensor: temperature | fields: qc, level, unit, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083088 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: value, lon, depth, qc
Sensor: pressure | fields: unit, qc, value, depth
Task: Get depth from wind_speed where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083089 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: reading, level, value, lat
Sensor: pressure | fields: reading, lat, unit, depth
Task: Get depth from frost where type appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083090 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, depth, level, lon
Sensor: drought_index | fields: lon, depth, type, value
Task: Fetch value from soil_moisture where unit exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083091 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: value, level, lat, unit
Sensor: evaporation | fields: level, depth, value, reading
Task: Retrieve lat from turbidity whose unit is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083092 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lon, reading, unit
Sensor: drought_index | fields: reading, qc, depth, lon
Task: Get lat from uv_index where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083093 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, level, depth, qc
Sensor: evaporation | fields: depth, ts, reading, value
Task: Retrieve reading from rainfall with depth above the MAX(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083094 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, reading, type, qc
Sensor: soil_moisture | fields: qc, unit, level, ts
Task: Retrieve depth from temperature that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083095 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, depth, lon, lat
Sensor: air_quality | fields: type, unit, reading, depth
Task: Get lon from soil_moisture where depth exceeds the count of depth from air_quality for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083096 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: type, lon, ts, level
Sensor: snow_depth | fields: depth, level, value, ts
Task: Retrieve reading from pressure that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083097 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, lon, value, unit
Sensor: evaporation | fields: lon, value, ts, lat
Task: Fetch value from uv_index where value is greater than the maximum of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083098 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, level, lon, value
Sensor: humidity | fields: type, level, depth, lon
Task: Get level from pressure where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.