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: visibility | code: hub | fields: lat, value, type, unit
Sensor: dew_point | fields: lat, unit, lon, level
Task: Get lon from visibility where reading exceeds the average reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040000 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, unit, type, value
Sensor: visibility | fields: depth, qc, lat, reading
Task: Retrieve depth from temperature with depth above the COUNT(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040001 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, depth, ts, reading
Sensor: humidity | fields: value, depth, level, unit
Task: Get level from drought_index where reading exceeds the minimum reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040002 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, unit, value, ts
Sensor: uv_index | fields: value, type, lon, lat
Task: Get value from cloud_cover where value exceeds the average reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040003 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: type, lat, lon, level
Sensor: wind_speed | fields: depth, type, lat, level
Task: Get depth from dew_point where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040004 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, unit, value, type
Sensor: humidity | fields: depth, type, level, lat
Task: Get lon from visibility where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040005 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, ts, qc, level
Sensor: snow_depth | fields: type, level, unit, depth
Task: Fetch lat from cloud_cover that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040006 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, value, depth
Sensor: frost | fields: depth, value, ts, type
Task: Get depth from uv_index where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040007 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, ts, depth, type
Sensor: turbidity | fields: value, unit, reading, depth
Task: Retrieve value from wind_speed that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040008 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, ts, unit, lon
Sensor: frost | fields: type, reading, lat, ts
Task: Fetch lon from evaporation that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040009 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, lon, depth, type
Sensor: cloud_cover | fields: lon, depth, lat, value
Task: Retrieve lat from pressure whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040010 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, type, lat, lon
Sensor: frost | fields: ts, qc, level, type
Task: Get lat from uv_index where value exceeds the maximum value from frost for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040011 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lat, qc, depth, level
Sensor: air_quality | fields: level, depth, qc, type
Task: Get level from pressure where qc appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040012 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, lon, reading, unit
Sensor: temperature | fields: depth, qc, lat, value
Task: Get reading from pressure where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040013 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, type, unit, depth
Sensor: lightning | fields: depth, level, ts, lon
Task: Get lat from rainfall where unit appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040014 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, value, reading, lat
Sensor: air_quality | fields: lon, reading, level, type
Task: Retrieve lat from turbidity whose ts is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040015 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, ts, level, value
Sensor: drought_index | fields: reading, lon, unit, level
Task: Get reading from humidity where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040016 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: ts, unit, lon, qc
Sensor: dew_point | fields: unit, value, depth, ts
Task: Retrieve lat from air_quality whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040017 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, depth, lon, reading
Sensor: uv_index | fields: reading, lon, type, value
Task: Retrieve value from lightning whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040018 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, reading, lon, unit
Sensor: pressure | fields: type, unit, value, level
Task: Fetch lat from drought_index that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040019 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: unit, type, ts, reading
Sensor: soil_moisture | fields: level, qc, reading, unit
Task: Fetch depth from dew_point where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040020 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, unit, lat, value
Sensor: air_quality | fields: qc, depth, lon, reading
Task: Fetch lon from pressure where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040021 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, value, unit, qc
Sensor: rainfall | fields: value, lat, unit, reading
Task: Retrieve depth from dew_point whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040022 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lon, unit, value, depth
Sensor: evaporation | fields: value, unit, reading, level
Task: Fetch level from snow_depth that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040023 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, reading, lat, value
Sensor: wind_speed | fields: depth, type, ts, level
Task: Get depth from pressure where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040024 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, qc, reading, type
Sensor: air_quality | fields: level, unit, lon, ts
Task: Fetch level from soil_moisture where reading is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040025 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, depth, reading, type
Sensor: evaporation | fields: value, qc, lat, unit
Task: Fetch lon from cloud_cover that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040026 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: unit, lon, qc, level
Sensor: air_quality | fields: level, qc, unit, type
Task: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040027 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: reading, type, depth, ts
Sensor: cloud_cover | fields: lon, type, value, unit
Task: Fetch level from rainfall that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040028 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, value, reading, level
Sensor: frost | fields: lon, value, depth, level
Task: Fetch lat from rainfall that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040029 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, unit, ts, value
Sensor: soil_moisture | fields: reading, level, qc, unit
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040030 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: ts, reading, lon, value
Sensor: snow_depth | fields: unit, lon, 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="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040031 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, value, level
Sensor: dew_point | fields: type, lat, ts, depth
Task: Get value from cloud_cover where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040032 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, lon, reading, lat
Sensor: pressure | fields: value, type, ts, reading
Task: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040033 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, unit, depth, lat
Sensor: rainfall | fields: type, ts, lon, depth
Task: Get value from wind_speed where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040034 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, depth, ts, value
Sensor: rainfall | fields: reading, value, depth, lon
Task: Retrieve lat from soil_moisture with depth above the MAX(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040035 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, qc, reading, depth
Sensor: visibility | fields: qc, reading, depth, lat
Task: Get depth from pressure where value exceeds the maximum value from visibility for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040036 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, level, lat, value
Sensor: humidity | fields: depth, reading, value, type
Task: Fetch lat from frost where reading is greater than the average of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040037 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, level, value, depth
Sensor: sunlight | fields: type, value, lat, depth
Task: Fetch depth from wind_speed where reading is greater than the count of of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"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_040038 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, type, depth, reading
Sensor: lightning | fields: value, reading, qc, depth
Task: Retrieve value from visibility with value above the MIN(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040039 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, type, value, qc
Sensor: uv_index | fields: reading, value, type, lon
Task: Get level from rainfall where value exceeds the total reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040040 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, type, lat, reading
Sensor: snow_depth | fields: depth, level, lon, value
Task: Get level from wind_speed where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040041 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, depth, level, ts
Sensor: wind_speed | fields: qc, unit, ts, value
Task: Fetch value from cloud_cover where type exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040042 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: value, lon, qc, lat
Sensor: humidity | fields: depth, qc, level, lat
Task: Retrieve depth from pressure with value above the SUM(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040043 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, qc, depth, ts
Sensor: visibility | fields: ts, lat, type, depth
Task: Get depth from lightning where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040044 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: unit, qc, value, depth
Sensor: evaporation | fields: qc, ts, lon, level
Task: Get lon from pressure where unit appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040045 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, type, level, reading
Sensor: humidity | fields: ts, value, reading, lat
Task: Get depth from cloud_cover where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040046 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, qc, level, value
Sensor: dew_point | fields: lon, reading, level, lat
Task: Fetch reading from turbidity where value is greater than the average of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040047 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, value, lon
Sensor: evaporation | fields: type, qc, reading, value
Task: Get lon from sunlight where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040048 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, depth, ts, reading
Sensor: soil_moisture | fields: value, level, reading, unit
Task: Fetch reading from pressure that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040049 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lat, ts, level, type
Sensor: lightning | fields: type, lat, value, unit
Task: Get reading from turbidity where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040050 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: ts, unit, reading, value
Sensor: visibility | fields: level, value, depth, reading
Task: Get level from humidity where value exceeds the total reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040051 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: type, unit, lat, lon
Sensor: visibility | fields: reading, lon, level, depth
Task: Get level from air_quality where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040052 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, value, lon, type
Sensor: sunlight | fields: depth, lon, unit, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040053 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, ts, lat, depth
Sensor: snow_depth | fields: unit, qc, type, lat
Task: Fetch level from humidity where value is greater than the minimum of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040054 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, qc, type
Sensor: pressure | fields: level, value, lat, depth
Task: Retrieve lon from snow_depth that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"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_040055 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, reading, qc, lon
Sensor: visibility | fields: unit, depth, reading, type
Task: Fetch value from dew_point that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040056 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, type, qc, value
Sensor: lightning | fields: lon, level, unit, lat
Task: Fetch lon from frost where reading is greater than the maximum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040057 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, qc, lat, ts
Sensor: frost | fields: ts, qc, level, lat
Task: Retrieve lon from lightning that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040058 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, depth, value, lat
Sensor: visibility | fields: reading, type, lat, lon
Task: Get depth from wind_speed where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040059 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, ts, unit, lon
Sensor: temperature | fields: lon, type, qc, depth
Task: Fetch reading from drought_index where value is greater than the minimum of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040060 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: value, lat, unit, type
Sensor: humidity | fields: unit, qc, reading, level
Task: Fetch reading from lightning where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040061 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, lon, reading, unit
Sensor: lightning | fields: level, depth, unit, type
Task: Get lon from frost where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040062 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, reading, value, level
Sensor: snow_depth | fields: depth, ts, type, level
Task: Retrieve value from visibility that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040063 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, level, qc, unit
Sensor: temperature | fields: lon, lat, level, ts
Task: Retrieve reading from lightning with value above the COUNT(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040064 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: value, ts, lat, lon
Sensor: lightning | fields: type, level, ts, value
Task: Retrieve depth from evaporation that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040065 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, reading, depth, qc
Sensor: drought_index | fields: unit, value, reading, level
Task: Retrieve reading from cloud_cover whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040066 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, lon, ts, qc
Sensor: dew_point | fields: depth, ts, lon, qc
Task: Fetch lon from snow_depth where value is greater than the minimum of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040067 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, value, ts, qc
Sensor: lightning | fields: lon, unit, qc, reading
Task: Fetch level from humidity where reading is greater than the maximum of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040068 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, value, ts, lon
Sensor: soil_moisture | fields: depth, reading, ts, lon
Task: Retrieve value from dew_point with value above the MIN(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040069 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, lon, reading, ts
Sensor: wind_speed | fields: depth, level, lon, value
Task: Get lat from pressure where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040070 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: level, reading, ts, lat
Sensor: humidity | fields: type, ts, qc, lat
Task: Get depth from evaporation where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040071 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, type, value, lon
Sensor: wind_speed | fields: lon, lat, type, unit
Task: Get lon from snow_depth where depth exceeds the minimum depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040072 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, qc, ts, type
Sensor: humidity | fields: level, reading, qc, value
Task: Get lon from soil_moisture where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040073 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, ts, qc, value
Sensor: frost | fields: unit, lon, depth, type
Task: Get reading from sunlight where value exceeds the minimum value from frost for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040074 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: reading, ts, qc, unit
Sensor: frost | fields: qc, lat, ts, depth
Task: Fetch level from visibility where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040075 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, type, lon, depth
Sensor: turbidity | fields: value, ts, unit, lon
Task: Retrieve level from drought_index whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040076 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lat, value, reading
Sensor: temperature | fields: unit, type, value, level
Task: Fetch lon from cloud_cover that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040077 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, depth, lat, type
Sensor: dew_point | fields: type, lat, qc, level
Task: Retrieve reading from air_quality whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040078 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lat, value, reading
Sensor: lightning | fields: depth, lat, reading, lon
Task: Fetch depth from evaporation where reading is greater than the maximum of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040079 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, qc, value, lon
Sensor: wind_speed | fields: lon, lat, ts, type
Task: Get value from dew_point where reading exceeds the minimum depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040080 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: qc, reading, level, lon
Sensor: evaporation | fields: value, lon, reading, ts
Task: Get value from humidity where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040081 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, depth, ts, lat
Sensor: frost | fields: unit, reading, level, value
Task: Get lat from pressure where value exceeds the total value from frost for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040082 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, qc, level, ts
Sensor: pressure | fields: type, depth, ts, level
Task: Retrieve level from rainfall with depth above the COUNT(reading) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040083 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: unit, ts, qc, lat
Sensor: turbidity | fields: unit, depth, lat, reading
Task: Get value from humidity where value exceeds the total depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040084 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, lon, depth
Sensor: wind_speed | fields: lat, reading, value, lon
Task: Fetch lat from snow_depth where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040085 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: value, level, reading, ts
Sensor: temperature | fields: lon, reading, level, type
Task: Retrieve value from uv_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040086 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: level, ts, reading, type
Sensor: soil_moisture | fields: lat, reading, unit, depth
Task: Retrieve depth from wind_speed whose depth is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040087 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, level, depth, reading
Sensor: cloud_cover | fields: lat, level, ts, lon
Task: Get reading from temperature where reading exceeds the maximum depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040088 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: qc, reading, value, type
Sensor: snow_depth | fields: lat, unit, qc, depth
Task: Get level from air_quality where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040089 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lon, type, lat, level
Sensor: snow_depth | fields: depth, lat, reading, value
Task: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040090 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, lat, lon, qc
Sensor: visibility | fields: lon, ts, type, depth
Task: Get lat from pressure where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040091 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, level, lat, ts
Sensor: cloud_cover | fields: value, unit, ts, lon
Task: Fetch lon from sunlight that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040092 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, unit, lat, value
Sensor: air_quality | fields: ts, value, lat, reading
Task: Fetch depth from wind_speed where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040093 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, ts, qc, lat
Sensor: soil_moisture | fields: value, reading, type, qc
Task: Retrieve level from frost that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040094 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: type, unit, reading, ts
Sensor: temperature | fields: ts, value, unit, lat
Task: Fetch reading from uv_index that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040095 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, depth, reading, level
Sensor: dew_point | fields: ts, value, unit, lon
Task: Retrieve depth from air_quality with depth above the MAX(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040096 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, unit, value, ts
Sensor: drought_index | fields: type, level, unit, ts
Task: Get lon from lightning where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040097 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, unit, level, qc
Sensor: pressure | fields: type, depth, value, lat
Task: Fetch lat from dew_point where value is greater than the count of of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040098 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: unit, reading, lat, lon
Sensor: wind_speed | fields: reading, level, qc, value
Task: Fetch level from air_quality where value is greater than the maximum of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.