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: turbidity | code: hub | fields: lon, reading, depth, qc
Sensor: dew_point | fields: type, lon, lat, unit
Task: Retrieve lat from turbidity with value above the COUNT(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072300 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: value, qc, type, lat
Sensor: frost | fields: reading, depth, lat, lon
Task: Retrieve value from evaporation whose unit is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072301 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, unit, level, lon
Sensor: visibility | fields: depth, reading, value, level
Task: Fetch lon from evaporation that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072302 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, value, lon, qc
Sensor: evaporation | fields: level, ts, reading, lat
Task: Fetch level from uv_index that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072303 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, qc, lon, reading
Sensor: evaporation | fields: lon, depth, ts, unit
Task: Fetch lon from visibility where reading is greater than the count of of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072304 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, value, reading, lon
Sensor: wind_speed | fields: depth, level, lon, unit
Task: Fetch level from sunlight that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072305 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, depth, value, type
Sensor: snow_depth | fields: ts, lat, qc, reading
Task: Retrieve lon from drought_index that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072306 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: unit, qc, value, depth
Sensor: temperature | fields: unit, value, qc, type
Task: Get reading from air_quality where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072307 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lat, depth, type, ts
Sensor: evaporation | fields: qc, level, depth, lat
Task: Retrieve lon from turbidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072308 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: ts, unit, type, level
Sensor: uv_index | fields: reading, type, ts, level
Task: Get lon from pressure where depth exceeds the total depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"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_072309 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, type, lat, lon
Sensor: humidity | fields: depth, level, lon, unit
Task: Get depth from uv_index where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072310 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, reading, type
Sensor: temperature | fields: lat, value, unit, type
Task: Get lon from lightning where depth exceeds the total value from temperature for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072311 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, value, lat, qc
Sensor: wind_speed | fields: type, lon, lat, qc
Task: Fetch value from lightning that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072312 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lat, unit, qc
Sensor: temperature | fields: depth, value, lat, type
Task: Get value from soil_moisture where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072313 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, ts, type, level
Sensor: soil_moisture | fields: lon, unit, depth, lat
Task: Retrieve level from air_quality that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072314 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: depth, ts, level, reading
Sensor: pressure | fields: reading, level, lon, unit
Task: Retrieve value from visibility that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072315 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lon, ts, lat, reading
Sensor: snow_depth | fields: lat, level, unit, depth
Task: Fetch depth from frost that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072316 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: ts, lat, level, unit
Sensor: frost | fields: ts, unit, type, reading
Task: Fetch lat from air_quality where depth exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072317 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, type, level, qc
Sensor: cloud_cover | fields: lat, level, type, unit
Task: Fetch value from uv_index where depth is greater than the average of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072318 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, qc, type, lat
Sensor: soil_moisture | fields: level, type, qc, lon
Task: Retrieve depth from pressure whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072319 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, level, lat, lon
Sensor: uv_index | fields: lat, lon, depth, unit
Task: Retrieve depth from frost whose ts is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072320 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, qc, value, lat
Sensor: snow_depth | fields: ts, lon, qc, type
Task: Retrieve lat from wind_speed with value above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072321 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: qc, unit, ts, value
Sensor: temperature | fields: type, ts, value, level
Task: Retrieve lon from dew_point with value above the MIN(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072322 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, lat, reading, unit
Sensor: air_quality | fields: lon, level, lat, reading
Task: Get reading from snow_depth where value exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072323 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: type, unit, depth, lat
Sensor: wind_speed | fields: qc, depth, lat, reading
Task: Get reading from snow_depth where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072324 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: reading, qc, unit, value
Sensor: sunlight | fields: lon, reading, type, qc
Task: Fetch depth from frost that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072325 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, qc, type, unit
Sensor: visibility | fields: depth, value, ts, lon
Task: Retrieve depth from cloud_cover that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072326 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, ts, depth, unit
Sensor: snow_depth | fields: ts, reading, type, qc
Task: Fetch lon from soil_moisture that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072327 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: value, qc, depth, unit
Sensor: lightning | fields: value, qc, unit, ts
Task: Fetch depth from evaporation that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072328 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, depth, lon, level
Sensor: air_quality | fields: qc, reading, ts, level
Task: Retrieve lat from snow_depth whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072329 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lon, ts, lat, unit
Sensor: dew_point | fields: ts, unit, value, lat
Task: Get reading from uv_index where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072330 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: lon, ts, depth, unit
Sensor: wind_speed | fields: lat, qc, unit, depth
Task: Retrieve value from dew_point with value above the AVG(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072331 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lon, type, qc
Sensor: cloud_cover | fields: qc, unit, ts, level
Task: Fetch lon from wind_speed where depth is greater than the count of of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072332 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, qc, level
Sensor: temperature | fields: lon, value, type, depth
Task: Fetch level from rainfall where reading is greater than the maximum of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072333 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, level, qc, depth
Sensor: drought_index | fields: qc, value, type, depth
Task: Get level from pressure where reading exceeds the total reading from drought_index for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072334 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, type, depth, lon
Sensor: snow_depth | fields: level, lat, value, reading
Task: Retrieve reading from wind_speed with value above the AVG(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072335 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, ts, unit, qc
Sensor: soil_moisture | fields: ts, type, reading, level
Task: Retrieve level from snow_depth that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072336 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, reading, depth
Sensor: wind_speed | fields: type, level, lat, depth
Task: Fetch reading from evaporation where reading is greater than the total of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072337 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, level, depth, value
Sensor: cloud_cover | fields: qc, ts, level, type
Task: Retrieve lon from lightning whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072338 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, ts, level, type
Sensor: lightning | fields: lon, value, qc, level
Task: Fetch value from drought_index where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072339 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, qc, lat, ts
Sensor: humidity | fields: value, level, type, reading
Task: Retrieve level from pressure with value above the AVG(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072340 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lat, ts, level, unit
Sensor: visibility | fields: ts, lon, value, unit
Task: Get level from frost where value exceeds the average reading from visibility for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072341 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, reading, qc, value
Sensor: wind_speed | fields: type, lat, unit, lon
Task: Retrieve value from air_quality that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072342 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, unit, value, lon
Sensor: cloud_cover | fields: lon, level, ts, unit
Task: Retrieve lat from evaporation that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072343 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, level, type
Sensor: humidity | fields: ts, lon, value, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072344 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: type, lat, depth, ts
Sensor: sunlight | fields: depth, value, lat, lon
Task: Get value from rainfall where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072345 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, type, lat, lon
Sensor: dew_point | fields: qc, level, type, lon
Task: Retrieve lat from wind_speed with value above the SUM(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072346 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, ts, value, lon
Sensor: cloud_cover | fields: type, unit, qc, reading
Task: Get lat from rainfall where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072347 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, type, ts, unit
Sensor: temperature | fields: ts, type, depth, lat
Task: Retrieve reading from frost with reading above the SUM(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072348 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, lon, level, qc
Sensor: temperature | fields: ts, lat, reading, qc
Task: Fetch lat from lightning where reading is greater than the maximum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072349 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, value, depth, qc
Sensor: sunlight | fields: value, qc, level, depth
Task: Retrieve reading from cloud_cover that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072350 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, reading, value, depth
Sensor: snow_depth | fields: lat, ts, unit, depth
Task: Retrieve depth from pressure whose qc is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072351 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, level, ts, reading
Sensor: visibility | fields: value, reading, ts, type
Task: Fetch lon from wind_speed where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072352 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, lat, ts, value
Sensor: lightning | fields: lat, reading, value, depth
Task: Fetch value from dew_point where ts exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072353 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, depth, level, lon
Sensor: wind_speed | fields: type, depth, value, qc
Task: Retrieve value from evaporation that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072354 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: type, lon, lat, unit
Sensor: dew_point | fields: type, lat, level, qc
Task: Retrieve lat from temperature whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072355 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, lat, level
Sensor: pressure | fields: lon, depth, qc, ts
Task: Retrieve value from turbidity with depth above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"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_072356 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, depth, ts, lat
Sensor: uv_index | fields: level, type, lon, reading
Task: Fetch level from cloud_cover where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072357 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, ts, lat, value
Sensor: uv_index | fields: lat, reading, qc, lon
Task: Get lat from humidity where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072358 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, ts, depth, type
Sensor: soil_moisture | fields: ts, lat, qc, depth
Task: Fetch lon from dew_point where depth is greater than the maximum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072359 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: qc, reading, ts, type
Sensor: turbidity | fields: ts, value, reading, lon
Task: Get lat from air_quality where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072360 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: qc, unit, ts, reading
Sensor: air_quality | fields: lon, level, type, qc
Task: Retrieve depth from uv_index whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072361 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, reading, value, unit
Sensor: pressure | fields: reading, unit, depth, lat
Task: Get lon from snow_depth where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072362 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, depth, reading, unit
Sensor: rainfall | fields: type, lat, qc, unit
Task: Fetch reading from snow_depth that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072363 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, ts, value, type
Sensor: drought_index | fields: lat, type, ts, value
Task: Retrieve depth from sunlight that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072364 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, type, level, ts
Sensor: evaporation | fields: value, ts, lon, unit
Task: Fetch lon from dew_point where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072365 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, value, unit, type
Sensor: turbidity | fields: reading, level, depth, value
Task: Fetch lat from cloud_cover where depth is greater than the total of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072366 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, lon, value, lat
Sensor: drought_index | fields: ts, lon, level, depth
Task: Get level from air_quality where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072367 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, ts, reading, lon
Sensor: pressure | fields: lat, unit, value, depth
Task: Retrieve lat from evaporation whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072368 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, ts, value, qc
Sensor: lightning | fields: depth, ts, lat, level
Task: Get value from humidity where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072369 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: level, qc, lat, lon
Sensor: temperature | fields: depth, value, reading, level
Task: Retrieve level from evaporation that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072370 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: level, unit, qc, type
Sensor: cloud_cover | fields: lat, reading, ts, qc
Task: Fetch lat from drought_index where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072371 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: value, ts, lat, level
Sensor: lightning | fields: lon, type, value, unit
Task: Fetch value from temperature where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072372 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, value, level, lat
Sensor: wind_speed | fields: lon, reading, unit, ts
Task: Get lon from dew_point where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072373 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, ts, unit
Sensor: soil_moisture | fields: reading, level, qc, type
Task: Get reading from sunlight where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072374 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, unit, lon
Sensor: snow_depth | fields: reading, unit, lat, lon
Task: Fetch reading from humidity where reading is greater than the average of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072375 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, level, reading, value
Sensor: drought_index | fields: type, reading, lat, unit
Task: Get lat from wind_speed where depth exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072376 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: reading, depth, type, ts
Sensor: air_quality | fields: unit, reading, value, level
Task: Fetch lon from lightning where value is greater than the average of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072377 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, qc, lon
Sensor: pressure | fields: qc, unit, type, depth
Task: Fetch lat from lightning that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072378 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, ts, qc, reading
Sensor: uv_index | fields: value, qc, level, type
Task: Get depth from snow_depth where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072379 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: qc, reading, depth, unit
Sensor: visibility | fields: lat, reading, unit, lon
Task: Retrieve value from air_quality that have at least one matching reading in visibility sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072380 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, reading, lon, lat
Sensor: air_quality | fields: ts, depth, lon, qc
Task: Retrieve lat from uv_index whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072381 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, reading, lat, ts
Sensor: wind_speed | fields: lat, value, level, type
Task: Fetch level from humidity where value is greater than the count of of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072382 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, unit, value, depth
Sensor: evaporation | fields: depth, reading, type, ts
Task: Fetch value from cloud_cover that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072383 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, qc, lat, unit
Sensor: dew_point | fields: level, lat, qc, reading
Task: Retrieve value from sunlight with depth above the SUM(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072384 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: reading, lon, level, unit
Sensor: frost | fields: lon, level, unit, ts
Task: Get level from evaporation where unit appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072385 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: value, qc, ts, type
Sensor: wind_speed | fields: qc, depth, value, lon
Task: Get value from frost where depth exceeds the total value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072386 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, lon, lat
Sensor: visibility | fields: lat, ts, lon, type
Task: Get level from soil_moisture where reading exceeds the count of reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072387 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, lat, ts, lon
Sensor: cloud_cover | fields: lon, reading, type, ts
Task: Fetch lon from snow_depth where reading is greater than the maximum of depth in cloud_cover for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072388 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, value, lat, depth
Sensor: cloud_cover | fields: qc, depth, unit, level
Task: Get reading from drought_index where reading exceeds the average value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072389 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: ts, unit, depth, lat
Sensor: uv_index | fields: reading, lon, ts, type
Task: Retrieve reading from sunlight whose type is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072390 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, unit, level, depth
Sensor: snow_depth | fields: level, reading, lat, unit
Task: Get depth from wind_speed where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072391 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, type, level
Sensor: humidity | fields: unit, type, qc, reading
Task: Get level from cloud_cover where reading exceeds the count of reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072392 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, value, type, level
Sensor: humidity | fields: lat, qc, ts, type
Task: Fetch lat from temperature where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072393 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: ts, qc, level, depth
Sensor: snow_depth | fields: reading, lon, lat, value
Task: Retrieve reading from frost with reading above the SUM(depth) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072394 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lon, ts, depth, value
Sensor: turbidity | fields: type, ts, reading, depth
Task: Fetch depth from air_quality that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072395 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: qc, type, lon, value
Sensor: humidity | fields: depth, reading, qc, ts
Task: Get lon from uv_index where type appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072396 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, ts, lon, level
Sensor: drought_index | fields: reading, unit, ts, lat
Task: Get reading from dew_point where qc appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072397 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, value, reading, unit
Sensor: air_quality | fields: value, lon, unit, lat
Task: Fetch depth from drought_index where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_072398 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, lon, ts, type
Sensor: lightning | fields: lat, ts, qc, level
Task: Get reading from evaporation where depth exceeds the count of reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_072399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.