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: turbidity | code: mst | fields: value, unit, lon, lat
Sensor: frost | fields: lat, depth, lon, level
Task: Retrieve lon from turbidity that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005200 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, depth, unit, qc
Sensor: pressure | fields: lat, qc, type, value
Task: Get lat from air_quality where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005201 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lat, lon, ts, value
Sensor: pressure | fields: lon, qc, value, ts
Task: Get reading from air_quality where depth exceeds the total reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005202 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, qc, reading, lon
Sensor: temperature | fields: ts, value, qc, type
Task: Fetch value from soil_moisture where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005203 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, type, lon, qc
Sensor: lightning | fields: reading, depth, level, lat
Task: Get lat from dew_point where value exceeds the average depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005204 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, value, lat, ts
Sensor: snow_depth | fields: ts, depth, type, qc
Task: Fetch lon from rainfall where depth is greater than the total of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005205 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, unit, lon, lat
Sensor: frost | fields: level, type, reading, unit
Task: Retrieve reading from rainfall with reading above the COUNT(value) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005206 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, value, depth, lon
Sensor: visibility | fields: unit, depth, lon, type
Task: Retrieve level from drought_index with value above the AVG(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005207 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, lon, depth, ts
Sensor: pressure | fields: ts, reading, lat, qc
Task: Retrieve lon from temperature that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005208 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, level, type, qc
Sensor: humidity | fields: depth, unit, level, type
Task: Retrieve depth from dew_point that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005209 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: qc, depth, reading, type
Sensor: drought_index | fields: value, level, qc, depth
Task: Retrieve lon from visibility with depth above the AVG(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005210 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, ts, lon, level
Sensor: humidity | fields: depth, ts, qc, lon
Task: Get depth from cloud_cover where unit appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005211 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, qc, lon, ts
Sensor: dew_point | fields: lat, ts, qc, level
Task: Retrieve lon from cloud_cover whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005212 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: value, qc, depth, type
Sensor: drought_index | fields: unit, lat, type, reading
Task: Retrieve level from dew_point that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005213 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, qc, level, unit
Sensor: uv_index | fields: lat, lon, qc, type
Task: Get level from sunlight where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005214 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, lon, ts
Sensor: uv_index | fields: ts, type, qc, lat
Task: Retrieve lon from temperature that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005215 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, lon, unit
Sensor: lightning | fields: reading, lon, unit, ts
Task: Retrieve level from sunlight that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005216 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, qc, level
Sensor: air_quality | fields: level, ts, lat, reading
Task: Get value from humidity where reading exceeds the count of depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005217 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, qc, unit, lat
Sensor: wind_speed | fields: level, value, type, ts
Task: Get lon from lightning where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005218 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: lat, unit, type, value
Sensor: drought_index | fields: level, qc, type, reading
Task: Get lon from air_quality where reading exceeds the minimum reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005219 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, value, qc, unit
Sensor: visibility | fields: lon, level, type, depth
Task: Retrieve reading from drought_index whose ts is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005220 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: type, lat, lon, depth
Sensor: frost | fields: type, depth, value, lon
Task: Fetch lon from air_quality where reading is greater than the count of of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005221 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, qc, depth, lon
Sensor: dew_point | fields: reading, lat, value, qc
Task: Get lat from pressure where value exceeds the average reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005222 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, level, unit, lon
Sensor: temperature | fields: reading, lat, level, unit
Task: Fetch lon from frost where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005223 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, qc, level, ts
Sensor: cloud_cover | fields: lat, reading, ts, qc
Task: Fetch reading from turbidity that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005224 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: value, depth, ts, reading
Sensor: evaporation | fields: lon, depth, value, unit
Task: Fetch level from uv_index where depth is greater than the count of of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005225 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, unit, ts, value
Sensor: dew_point | fields: ts, value, depth, type
Task: Fetch lon from soil_moisture where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005226 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, lat, reading, value
Sensor: drought_index | fields: type, qc, lon, unit
Task: Get lat from wind_speed where value exceeds the minimum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005227 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, value, reading, lat
Sensor: air_quality | fields: reading, value, lon, lat
Task: Get value from snow_depth where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005228 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: level, depth, type, unit
Sensor: frost | fields: depth, lat, lon, reading
Task: Fetch level from air_quality where value is greater than the maximum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005229 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, unit, level, type
Sensor: cloud_cover | fields: level, reading, ts, type
Task: Retrieve value from uv_index whose unit is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005230 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, ts, unit, lon
Sensor: turbidity | fields: lat, level, qc, ts
Task: Get level from pressure where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005231 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, level, lon, depth
Sensor: temperature | fields: unit, level, depth, lon
Task: Get depth from sunlight where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005232 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: type, level, depth, qc
Sensor: temperature | fields: type, reading, lat, value
Task: Get lon from frost where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005233 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, value, reading, type
Sensor: uv_index | fields: lat, reading, unit, qc
Task: Retrieve lat from drought_index that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005234 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, reading, level
Sensor: rainfall | fields: lon, depth, lat, value
Task: Fetch lat from snow_depth where depth is greater than the average of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005235 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, qc, value, unit
Sensor: visibility | fields: type, unit, lat, level
Task: Fetch reading from cloud_cover that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005236 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: depth, qc, reading, lat
Sensor: frost | fields: unit, lon, type, value
Task: Retrieve lat from lightning with depth above the COUNT(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005237 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lat, qc, reading, level
Sensor: dew_point | fields: reading, lon, lat, depth
Task: Retrieve depth from visibility whose depth is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005238 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, lon, depth, type
Sensor: sunlight | fields: level, type, depth, value
Task: Retrieve lon from lightning whose ts is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005239 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lat, value, lon, type
Sensor: dew_point | fields: reading, lat, lon, depth
Task: Retrieve value from turbidity whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005240 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, lon, reading, qc
Sensor: frost | fields: lat, unit, value, qc
Task: Get lon from soil_moisture where value exceeds the average value from frost for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005241 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, lat, reading, unit
Sensor: lightning | fields: depth, qc, type, ts
Task: Fetch lon from dew_point where value is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005242 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, unit, qc, level
Sensor: uv_index | fields: depth, qc, lon, ts
Task: Fetch lat from snow_depth where type exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005243 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: unit, lat, value, qc
Sensor: rainfall | fields: lat, type, reading, unit
Task: Get lat from turbidity where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005244 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: lat, type, value, depth
Sensor: evaporation | fields: lon, unit, level, qc
Task: Fetch lon from drought_index that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005245 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, level, unit, qc
Sensor: visibility | fields: unit, value, type, lat
Task: Fetch lon from humidity where reading is greater than the count of of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005246 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, level, qc, ts
Sensor: cloud_cover | fields: depth, reading, lat, unit
Task: Retrieve reading from temperature with reading above the COUNT(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005247 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, type, lat, level
Sensor: visibility | fields: lon, value, qc, lat
Task: Fetch lon from humidity where reading is greater than the total of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005248 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, level, depth, type
Sensor: snow_depth | fields: lat, lon, qc, level
Task: Get depth from turbidity where depth exceeds the total value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005249 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, type, level, lat
Sensor: wind_speed | fields: level, lon, value, lat
Task: Retrieve reading from air_quality with reading above the MAX(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005250 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, type, value, lat
Sensor: cloud_cover | fields: level, depth, qc, reading
Task: Get lon from sunlight where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005251 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, reading, lon
Sensor: frost | fields: lon, lat, reading, value
Task: Fetch reading from snow_depth where value is greater than the total of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005252 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, type, reading, ts
Sensor: dew_point | fields: ts, unit, value, lon
Task: Retrieve level from pressure whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005253 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, value, unit, lat
Sensor: visibility | fields: lon, ts, level, lat
Task: Fetch lon from sunlight that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005254 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, lon, value
Sensor: humidity | fields: lat, qc, depth, lon
Task: Get level from uv_index where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005255 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: unit, type, value, reading
Sensor: pressure | fields: depth, lon, type, unit
Task: Fetch depth from visibility where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005256 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, ts, lat, qc
Sensor: soil_moisture | fields: lon, type, qc, ts
Task: Get lon from uv_index where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005257 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, level, reading, qc
Sensor: drought_index | fields: type, unit, level, reading
Task: Fetch reading from visibility that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005258 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, reading, unit, ts
Sensor: evaporation | fields: lon, ts, qc, value
Task: Get lon from soil_moisture where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005259 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: reading, level, unit, value
Sensor: dew_point | fields: lon, unit, ts, value
Task: Retrieve reading from air_quality with depth above the SUM(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005260 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: depth, ts, qc, reading
Sensor: frost | fields: unit, level, lon, reading
Task: Fetch depth from rainfall that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005261 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: reading, level, qc, ts
Sensor: visibility | fields: unit, value, qc, type
Task: Retrieve level from drought_index whose unit is found in visibility records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005262 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: qc, lon, level, depth
Sensor: soil_moisture | fields: lon, depth, value, type
Task: Get level from temperature where ts appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005263 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, value, depth, reading
Sensor: drought_index | fields: value, lon, unit, type
Task: Get lon from evaporation where depth exceeds the minimum value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005264 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, value, depth, ts
Sensor: dew_point | fields: level, depth, value, ts
Task: Fetch reading from rainfall where reading is greater than the minimum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005265 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, lon, level, qc
Sensor: sunlight | fields: lat, ts, reading, unit
Task: Retrieve value from air_quality that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005266 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: ts, type, lon, lat
Sensor: sunlight | fields: lon, lat, type, reading
Task: Fetch level from dew_point where depth is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005267 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, lat, value
Sensor: dew_point | fields: type, unit, reading, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005268 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, unit, lat
Sensor: humidity | fields: lat, level, qc, reading
Task: Fetch level from sunlight where value is greater than the maximum of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005269 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, value, type, level
Sensor: wind_speed | fields: value, ts, level, type
Task: Fetch level from pressure where value is greater than the total of reading in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005270 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: reading, ts, depth, lat
Sensor: pressure | fields: type, unit, depth, lat
Task: Get value from air_quality where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005271 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, ts, lat, type
Sensor: dew_point | fields: reading, ts, unit, lon
Task: Retrieve depth from frost with reading above the COUNT(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005272 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, depth, reading, qc
Sensor: lightning | fields: type, qc, unit, level
Task: Get value from dew_point where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005273 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, ts, type, reading
Sensor: temperature | fields: reading, ts, lat, unit
Task: Get reading from wind_speed where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005274 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, lat, lon, value
Sensor: drought_index | fields: reading, level, unit, lat
Task: Retrieve reading from rainfall whose type is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005275 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: reading, level, unit, qc
Sensor: temperature | fields: type, level, unit, ts
Task: Fetch level from sunlight that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005276 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, level, ts, unit
Sensor: snow_depth | fields: level, lon, ts, value
Task: Fetch value from air_quality that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005277 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, type, ts, unit
Sensor: turbidity | fields: ts, reading, qc, depth
Task: Fetch level from visibility that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005278 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, lat, depth, lon
Sensor: dew_point | fields: type, qc, reading, ts
Task: Get level from visibility where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005279 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, depth, reading, lat
Sensor: uv_index | fields: type, value, qc, unit
Task: Retrieve depth from humidity whose unit is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005280 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: value, level, unit, type
Sensor: pressure | fields: ts, qc, lat, reading
Task: Get value from dew_point where reading exceeds the minimum reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005281 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: ts, level, value, qc
Sensor: air_quality | fields: qc, unit, level, lat
Task: Fetch reading from temperature where ts exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005282 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, ts, type, lon
Sensor: dew_point | fields: depth, qc, lat, reading
Task: Get lon from temperature where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005283 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, lat, value, lon
Sensor: soil_moisture | fields: unit, lon, type, lat
Task: Fetch lon from dew_point where value is greater than the minimum of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005284 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, reading, type, lat
Sensor: snow_depth | fields: reading, depth, lat, value
Task: Get reading from temperature where reading exceeds the minimum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005285 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, unit, lat, qc
Sensor: humidity | fields: type, unit, lat, ts
Task: Fetch reading from soil_moisture where reading is greater than the minimum of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005286 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: qc, value, level, depth
Sensor: dew_point | fields: level, depth, value, unit
Task: Fetch lon from turbidity that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005287 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, reading, type, qc
Sensor: uv_index | fields: value, qc, type, lon
Task: Fetch level from soil_moisture where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005288 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, unit, value, qc
Sensor: air_quality | fields: depth, reading, value, unit
Task: Fetch lat from rainfall where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005289 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: value, reading, qc, lat
Sensor: snow_depth | fields: reading, value, type, level
Task: Retrieve lon from uv_index whose unit is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005290 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, unit, value, depth
Sensor: turbidity | fields: lat, value, level, reading
Task: Retrieve level from pressure with depth above the AVG(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005291 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: depth, type, reading, qc
Sensor: evaporation | fields: lon, depth, unit, value
Task: Fetch lat from temperature where qc exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005292 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: ts, value, qc, level
Sensor: lightning | fields: reading, qc, unit, depth
Task: Retrieve depth from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005293 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, value, ts, lon
Sensor: lightning | fields: type, qc, lat, level
Task: Get value from drought_index where value exceeds the total depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005294 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, value, reading, ts
Sensor: uv_index | fields: type, lat, ts, reading
Task: Get lat from humidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005295 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: ts, lon, unit, depth
Sensor: rainfall | fields: value, type, reading, lon
Task: Get depth from lightning where value exceeds the minimum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005296 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, reading, qc, type
Sensor: cloud_cover | fields: depth, ts, value, type
Task: Get reading from pressure where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005297 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, type, lat, depth
Sensor: cloud_cover | fields: level, reading, depth, lon
Task: Get value from pressure where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005298 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lat, reading, lon, qc
Sensor: uv_index | fields: reading, qc, lon, depth
Task: Retrieve lon from pressure that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.