variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, type, lon, level
Sensor: lightning | fields: level, depth, lon, reading
Task: Get lon from drought_index where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062000 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, ts, unit, depth
Sensor: uv_index | fields: unit, type, ts, lon
Task: Get level from air_quality where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062001 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, ts, lat, level
Sensor: uv_index | fields: depth, lat, unit, ts
Task: Get reading from air_quality where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062002 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, reading, qc, lon
Sensor: evaporation | fields: type, level, unit, reading
Task: Get depth from turbidity where reading exceeds the total depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062003 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, level, ts, value
Sensor: rainfall | fields: unit, type, lat, reading
Task: Get lon from dew_point where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062004 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, unit, depth, qc
Sensor: sunlight | fields: qc, type, ts, lon
Task: Retrieve value from cloud_cover whose unit is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062005 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, unit, value, level
Sensor: drought_index | fields: lat, lon, reading, value
Task: Get depth from humidity where qc appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062006 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lat, depth, level, ts
Sensor: drought_index | fields: depth, qc, value, level
Task: Get lon from air_quality where depth exceeds the minimum depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062007 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, depth, value, ts
Sensor: visibility | fields: ts, reading, type, level
Task: Fetch depth from turbidity that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062008 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lon, reading, depth, ts
Sensor: soil_moisture | fields: lat, reading, depth, type
Task: Fetch reading from humidity where depth is greater than the average of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062009 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, level, value, depth
Sensor: sunlight | fields: level, value, reading, lon
Task: Fetch lon from uv_index that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062010 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, reading, qc, depth
Sensor: turbidity | fields: level, type, ts, qc
Task: Fetch lon from visibility that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062011 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: value, level, lon, lat
Sensor: soil_moisture | fields: reading, value, qc, lat
Task: Get lon from frost where qc appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062012 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, reading, ts, depth
Sensor: soil_moisture | fields: value, lat, type, level
Task: Fetch lat from lightning where value is greater than the average of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062013 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, qc, level, lon
Sensor: snow_depth | fields: level, ts, depth, reading
Task: Retrieve lat from turbidity whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062014 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, lon, unit, reading
Sensor: frost | fields: depth, value, unit, level
Task: Retrieve lat from wind_speed with depth above the COUNT(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062015 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, lon, value, qc
Sensor: lightning | fields: reading, lon, value, level
Task: Fetch lat from humidity where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062016 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, ts, depth, lat
Sensor: frost | fields: type, qc, ts, lat
Task: Retrieve reading from wind_speed with depth above the AVG(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062017 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: level, ts, qc, unit
Sensor: sunlight | fields: value, type, depth, ts
Task: Fetch lon from humidity where depth is greater than the total of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062018 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, ts, lon, unit
Sensor: air_quality | fields: lat, unit, depth, qc
Task: Get lon from pressure where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062019 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, type, depth, lon
Sensor: humidity | fields: unit, level, lon, ts
Task: Get lat from cloud_cover where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062020 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, lon, depth, level
Sensor: dew_point | fields: depth, type, unit, qc
Task: Retrieve lat from uv_index whose unit is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062021 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, level, qc, lon
Sensor: lightning | fields: qc, unit, depth, lat
Task: Retrieve lon from dew_point that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062022 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: unit, ts, lon, type
Sensor: temperature | fields: reading, type, qc, value
Task: Get lat from air_quality where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062023 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: depth, reading, ts, level
Sensor: cloud_cover | fields: lat, reading, type, level
Task: Retrieve lon from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062024 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, qc, type, reading
Sensor: dew_point | fields: lon, lat, level, unit
Task: Get level from turbidity where depth exceeds the total value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062025 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, reading, value, depth
Sensor: dew_point | fields: qc, lat, unit, lon
Task: Retrieve level from evaporation with value above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062026 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, ts, level, qc
Sensor: wind_speed | fields: depth, qc, lat, value
Task: Retrieve reading from frost with depth above the AVG(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062027 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lon, ts, type, reading
Sensor: uv_index | fields: unit, ts, qc, type
Task: Fetch value from visibility where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062028 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, value, depth
Sensor: lightning | fields: qc, unit, type, lat
Task: Get lon from soil_moisture where reading exceeds the count of reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062029 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, type, depth, lon
Sensor: rainfall | fields: unit, depth, ts, qc
Task: Get depth from cloud_cover where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062030 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lat, ts, unit
Sensor: drought_index | fields: level, ts, reading, depth
Task: Retrieve value from air_quality whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"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_062031 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: depth, unit, value, lon
Sensor: snow_depth | fields: type, ts, level, lat
Task: Retrieve reading from temperature that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062032 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, value, qc, ts
Sensor: snow_depth | fields: qc, unit, ts, lat
Task: Get depth from cloud_cover where value exceeds the maximum depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062033 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, type, level, ts
Sensor: uv_index | fields: lon, ts, depth, qc
Task: Fetch lat from wind_speed where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062034 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, ts, unit, lon
Sensor: snow_depth | fields: value, level, type, unit
Task: Fetch reading from drought_index that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062035 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, ts, value, unit
Sensor: rainfall | fields: value, unit, type, level
Task: Fetch lon from cloud_cover that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"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_062036 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, type, level, qc
Sensor: sunlight | fields: type, level, ts, depth
Task: Fetch lat from temperature that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062037 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, value, lat, lon
Sensor: wind_speed | fields: reading, depth, value, type
Task: Retrieve depth from snow_depth that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062038 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: level, type, qc, ts
Sensor: uv_index | fields: reading, depth, type, value
Task: Retrieve reading from humidity that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062039 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: depth, qc, lat, value
Sensor: evaporation | fields: reading, value, qc, unit
Task: Get lat from lightning where reading exceeds the average depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062040 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: ts, depth, level, reading
Sensor: wind_speed | fields: depth, reading, ts, lon
Task: Retrieve lat from lightning that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062041 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, level, unit, qc
Sensor: temperature | fields: ts, type, level, lon
Task: Retrieve level from lightning whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062042 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, lon, lat, type
Sensor: snow_depth | fields: reading, value, type, unit
Task: Retrieve reading from pressure that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062043 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, reading, value, lon
Sensor: rainfall | fields: level, unit, depth, reading
Task: Get reading from snow_depth where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062044 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, level, depth, qc
Sensor: humidity | fields: reading, qc, ts, type
Task: Get lon from visibility where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062045 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, depth, type, ts
Sensor: snow_depth | fields: lat, value, lon, ts
Task: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062046 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, value, type, depth
Sensor: sunlight | fields: lon, ts, reading, depth
Task: Retrieve lon from drought_index that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062047 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, reading, lat, value
Sensor: humidity | fields: depth, value, ts, qc
Task: Get depth from drought_index where reading exceeds the maximum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062048 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, value, ts, reading
Sensor: turbidity | fields: ts, unit, level, lon
Task: Retrieve lon from visibility with reading above the SUM(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062049 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, unit, value, lat
Sensor: soil_moisture | fields: depth, qc, value, ts
Task: Retrieve lat from lightning whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062050 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, depth, unit, lat
Sensor: frost | fields: qc, value, level, reading
Task: Fetch reading from visibility where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062051 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: qc, reading, lon, ts
Sensor: uv_index | fields: type, reading, depth, qc
Task: Retrieve reading from lightning with value above the MAX(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062052 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, qc, ts, lon
Sensor: drought_index | fields: qc, depth, level, ts
Task: Get value from humidity where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062053 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: depth, type, reading, qc
Sensor: humidity | fields: reading, depth, qc, value
Task: Retrieve lat from rainfall whose qc is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062054 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, reading, type
Sensor: cloud_cover | fields: depth, reading, ts, type
Task: Fetch lat from pressure where reading is greater than the total of depth in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062055 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, reading, qc
Sensor: wind_speed | fields: lat, depth, ts, level
Task: Fetch level from soil_moisture that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062056 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, qc, unit, reading
Sensor: turbidity | fields: qc, level, depth, unit
Task: Get lat from lightning where depth appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062057 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: depth, value, type, ts
Sensor: frost | fields: qc, lon, reading, unit
Task: Get reading from rainfall where value exceeds the count of reading from frost for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062058 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, depth, qc, unit
Sensor: cloud_cover | fields: type, value, lat, reading
Task: Fetch value from drought_index where ts exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062059 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, unit, lat, value
Sensor: sunlight | fields: type, reading, lat, qc
Task: Fetch lon from wind_speed where ts exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062060 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, unit, reading, type
Sensor: rainfall | fields: unit, lat, type, level
Task: Retrieve value from cloud_cover whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062061 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, level, lat, reading
Sensor: evaporation | fields: lon, reading, unit, qc
Task: Retrieve depth from dew_point that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062062 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, value, type, depth
Sensor: uv_index | fields: value, type, lat, lon
Task: Retrieve depth from wind_speed with reading above the COUNT(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062063 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, depth, lon, value
Sensor: wind_speed | fields: qc, lat, type, reading
Task: Fetch reading from snow_depth where depth exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062064 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lon, qc, lat
Sensor: evaporation | fields: lat, value, depth, reading
Task: Fetch depth from rainfall where depth is greater than the total of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062065 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, lat, qc, type
Sensor: uv_index | fields: unit, lat, lon, type
Task: Retrieve lat from lightning with depth above the SUM(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062066 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, level, value, lat
Sensor: dew_point | fields: depth, qc, type, lat
Task: Retrieve lon from pressure that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062067 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: reading, lon, type, ts
Sensor: wind_speed | fields: qc, level, reading, value
Task: Get depth from rainfall where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062068 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: value, qc, ts, type
Sensor: air_quality | fields: qc, reading, unit, ts
Task: Get depth from humidity where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062069 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: unit, type, level, value
Sensor: dew_point | fields: qc, type, lon, level
Task: Retrieve lat from lightning with value above the MAX(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062070 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: unit, reading, ts, level
Sensor: air_quality | fields: reading, type, unit, lat
Task: Get lon from temperature where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062071 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, type, depth, level
Sensor: uv_index | fields: ts, lon, unit, type
Task: Fetch reading from humidity where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062072 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: depth, reading, type, lon
Sensor: pressure | fields: lat, lon, unit, reading
Task: Fetch reading from rainfall where depth is greater than the count of of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062073 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, reading, unit, ts
Sensor: drought_index | fields: level, type, lat, value
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062074 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, level, value, ts
Sensor: lightning | fields: lat, value, type, unit
Task: Fetch level from dew_point where depth is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062075 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, lat, unit, depth
Sensor: air_quality | fields: qc, reading, lat, ts
Task: Get level from temperature where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062076 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, depth, type, ts
Sensor: lightning | fields: ts, value, lat, level
Task: Get reading from wind_speed where depth exceeds the maximum depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062077 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, lon, ts, level
Sensor: cloud_cover | fields: depth, lat, ts, type
Task: Get lat from snow_depth where reading exceeds the average reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062078 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, type, level, lon
Sensor: visibility | fields: unit, lon, depth, lat
Task: Retrieve level from soil_moisture whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062079 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, value, lat, level
Sensor: uv_index | fields: value, level, qc, unit
Task: Fetch lon from snow_depth where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062080 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, unit, value, reading
Sensor: dew_point | fields: reading, ts, depth, type
Task: Get level from pressure where reading exceeds the maximum reading from dew_point for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062081 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: type, ts, qc, lon
Sensor: sunlight | fields: reading, value, ts, type
Task: Get lon from drought_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062082 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: type, level, ts, unit
Sensor: pressure | fields: qc, lat, unit, depth
Task: Get level from air_quality where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062083 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, qc, ts, depth
Sensor: drought_index | fields: lat, depth, qc, type
Task: Get depth from soil_moisture where value exceeds the average value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062084 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, type, value, unit
Sensor: turbidity | fields: depth, unit, qc, reading
Task: Retrieve reading from cloud_cover with depth above the SUM(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062085 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, lon, ts
Sensor: temperature | fields: reading, depth, type, value
Task: Fetch level from dew_point that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062086 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, qc, lon, lat
Sensor: dew_point | fields: level, type, lat, ts
Task: Get reading from pressure where value exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062087 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, type, ts, value
Sensor: evaporation | fields: qc, lat, reading, lon
Task: Fetch depth from turbidity that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062088 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, qc, level, lat
Sensor: sunlight | fields: unit, reading, lat, type
Task: Get value from frost where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062089 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, lon, qc, ts
Sensor: turbidity | fields: level, qc, reading, lat
Task: Get level from dew_point where reading exceeds the minimum value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062090 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, type, ts, value
Sensor: visibility | fields: qc, value, lat, depth
Task: Retrieve lat from lightning whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062091 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: qc, depth, reading, value
Sensor: wind_speed | fields: lat, level, reading, lon
Task: Fetch reading from uv_index that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062092 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: ts, depth, reading, qc
Sensor: evaporation | fields: unit, level, lat, qc
Task: Get lat from rainfall where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062093 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: reading, level, lat, unit
Sensor: air_quality | fields: lat, value, reading, level
Task: Retrieve depth from drought_index with depth above the MAX(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062094 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, ts, reading, unit
Sensor: drought_index | fields: unit, level, depth, lon
Task: Fetch value from temperature that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062095 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, level, unit
Sensor: wind_speed | fields: value, depth, type, reading
Task: Get value from temperature where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062096 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: lat, depth, lon, type
Sensor: rainfall | fields: lon, qc, lat, value
Task: Retrieve reading from temperature with depth above the COUNT(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062097 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: type, unit, depth, qc
Sensor: snow_depth | fields: reading, ts, lat, qc
Task: Retrieve value from frost that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062098 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, depth, qc, ts
Sensor: cloud_cover | fields: qc, depth, value, unit
Task: Get depth from temperature where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.