variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, type, lat, value
Sensor: air_quality | fields: unit, qc, ts, lon
Task: Fetch reading from turbidity where type exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082500 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, reading, value, depth
Sensor: evaporation | fields: reading, lon, type, unit
Task: Retrieve depth from frost with depth above the SUM(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082501 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, value, lat, qc
Sensor: soil_moisture | fields: lon, reading, unit, level
Task: Retrieve reading from cloud_cover that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"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_082502 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: lon, unit, ts, reading
Sensor: evaporation | fields: lat, depth, reading, lon
Task: Retrieve value from wind_speed that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082503 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, qc, value, ts
Sensor: uv_index | fields: qc, type, level, depth
Task: Fetch lat from pressure where type exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082504 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, type, lat, qc
Sensor: dew_point | fields: depth, value, unit, ts
Task: Retrieve level from visibility whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082505 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: type, depth, lat, lon
Sensor: wind_speed | fields: type, depth, unit, lon
Task: Get level from visibility where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082506 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, reading, depth, qc
Sensor: dew_point | fields: type, value, lat, qc
Task: Retrieve value from visibility that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082507 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, value, type, qc
Sensor: temperature | fields: lon, value, level, lat
Task: Get lon from snow_depth where reading exceeds the maximum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082508 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: value, qc, lon, ts
Sensor: cloud_cover | fields: qc, depth, type, ts
Task: Fetch value from lightning where reading is greater than the maximum of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082509 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: qc, lon, lat, level
Sensor: frost | fields: unit, level, lat, type
Task: Fetch depth from visibility that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082510 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: type, lon, lat, value
Sensor: soil_moisture | fields: unit, ts, lon, lat
Task: Fetch reading from humidity where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082511 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, unit, reading, type
Sensor: air_quality | fields: reading, depth, unit, value
Task: Fetch lat from evaporation that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082512 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, ts, type, lat
Sensor: frost | fields: qc, level, unit, reading
Task: Retrieve lat from snow_depth whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082513 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, level, lat, qc
Sensor: turbidity | fields: level, lat, reading, ts
Task: Fetch lon from uv_index where depth is greater than the total of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082514 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, qc, lon, level
Sensor: uv_index | fields: value, ts, qc, level
Task: Retrieve lat from pressure that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082515 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, value, reading, lon
Sensor: frost | fields: depth, lon, qc, lat
Task: Get reading from evaporation where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082516 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, unit, lat, depth
Sensor: sunlight | fields: qc, lon, reading, type
Task: Retrieve reading from lightning that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082517 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: depth, value, lat, qc
Sensor: rainfall | fields: reading, lat, value, type
Task: Fetch level from uv_index that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082518 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, reading, unit, level
Sensor: air_quality | fields: type, lon, reading, unit
Task: Fetch lat from sunlight that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082519 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lon, ts, value
Sensor: sunlight | fields: reading, unit, level, ts
Task: Fetch lon from uv_index where reading is greater than the count of of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082520 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: ts, depth, type, unit
Sensor: visibility | fields: level, reading, type, unit
Task: Retrieve value from rainfall that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082521 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, value, type, reading
Sensor: uv_index | fields: value, lon, ts, type
Task: Fetch value from pressure that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082522 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: unit, depth, value, reading
Sensor: turbidity | fields: lon, level, value, qc
Task: Get lat from frost where depth exceeds the maximum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082523 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, ts, value, qc
Sensor: lightning | fields: depth, lon, ts, type
Task: Retrieve level from air_quality that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082524 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lon, reading, depth, qc
Sensor: evaporation | fields: depth, ts, lon, reading
Task: Get reading from turbidity where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082525 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, ts, lon
Sensor: snow_depth | fields: type, level, unit, depth
Task: Get depth from cloud_cover where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082526 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, ts, unit, reading
Sensor: wind_speed | fields: type, value, unit, ts
Task: Retrieve lat from uv_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082527 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, type, lon, qc
Sensor: sunlight | fields: type, lat, level, ts
Task: Get depth from pressure where unit appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082528 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, level, type, value
Sensor: visibility | fields: lon, unit, lat, depth
Task: Fetch lat from drought_index where value is greater than the total of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082529 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: level, unit, reading, value
Sensor: drought_index | fields: reading, value, type, qc
Task: Get level from dew_point where value exceeds the total reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082530 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, level, value, lon
Sensor: humidity | fields: value, level, type, ts
Task: Fetch level from turbidity that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082531 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: type, reading, level, unit
Sensor: rainfall | fields: type, lat, ts, qc
Task: Fetch lon from lightning that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082532 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: ts, unit, type, level
Sensor: dew_point | fields: value, level, unit, reading
Task: Retrieve level from frost with reading above the MAX(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082533 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, unit, lon, level
Sensor: uv_index | fields: unit, lat, level, ts
Task: Get lon from rainfall where reading exceeds the maximum reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082534 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lon, reading, unit, depth
Sensor: uv_index | fields: lon, unit, depth, qc
Task: Retrieve reading from frost whose unit is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082535 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: value, type, reading, depth
Sensor: evaporation | fields: lon, unit, reading, value
Task: Retrieve reading from sunlight with value above the MIN(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082536 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: qc, lon, lat, reading
Sensor: sunlight | fields: qc, ts, level, depth
Task: Get reading from air_quality where value exceeds the count of reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082537 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, value, qc, lat
Sensor: frost | fields: unit, lat, qc, ts
Task: Fetch lat from snow_depth where depth is greater than the average of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082538 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: lon, depth, value, type
Sensor: frost | fields: type, ts, depth, lon
Task: Get reading from visibility where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082539 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: depth, type, level, ts
Sensor: lightning | fields: type, ts, unit, depth
Task: Get value from turbidity where depth exceeds the count of reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082540 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, lon, unit, qc
Sensor: evaporation | fields: unit, qc, reading, level
Task: Retrieve depth from visibility whose qc is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082541 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, qc, level, depth
Sensor: humidity | fields: reading, lat, unit, ts
Task: Retrieve value from wind_speed that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082542 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, type, qc, unit
Sensor: snow_depth | fields: lon, qc, level, type
Task: Retrieve reading from air_quality whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082543 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, qc, ts, value
Sensor: pressure | fields: value, level, qc, ts
Task: Get lon from rainfall where depth exceeds the count of reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"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_082544 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, reading, level, type
Sensor: soil_moisture | fields: lon, level, lat, unit
Task: Fetch lon from lightning where value is greater than the total of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082545 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, qc, lat, lon
Sensor: uv_index | fields: unit, type, lon, reading
Task: Retrieve reading from visibility with value above the MAX(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082546 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, value, level, ts
Sensor: soil_moisture | fields: lon, unit, type, lat
Task: Get value from sunlight where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082547 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, qc, lat, reading
Sensor: frost | fields: reading, unit, level, lon
Task: Retrieve lon from cloud_cover that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082548 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lon, unit, level, value
Sensor: sunlight | fields: lat, reading, lon, unit
Task: Get lat from temperature where reading exceeds the average depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"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_082549 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: value, reading, ts, qc
Sensor: turbidity | fields: reading, unit, lat, ts
Task: Fetch lon from wind_speed where ts exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082550 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: ts, lon, depth, reading
Sensor: frost | fields: qc, unit, reading, lat
Task: Retrieve lon from visibility that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082551 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, level, qc, type
Sensor: soil_moisture | fields: level, reading, qc, value
Task: Get level from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082552 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: unit, lon, type, lat
Sensor: evaporation | fields: lat, level, qc, ts
Task: Fetch depth from humidity where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082553 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, qc, depth, lat
Sensor: dew_point | fields: lon, depth, value, lat
Task: Fetch lat from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082554 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: type, lon, reading, depth
Sensor: wind_speed | fields: lon, ts, lat, unit
Task: Fetch value from temperature where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082555 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: depth, value, type, reading
Sensor: frost | fields: level, value, depth, type
Task: Retrieve depth from pressure whose depth is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082556 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, value, depth, ts
Sensor: rainfall | fields: lat, depth, reading, type
Task: Fetch depth from humidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082557 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, type, unit, lat
Sensor: turbidity | fields: level, lon, depth, ts
Task: Get lon from temperature where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082558 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, depth, reading, ts
Sensor: humidity | fields: qc, lat, lon, unit
Task: Get reading from snow_depth where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082559 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, value, depth, lat
Sensor: rainfall | fields: lon, reading, depth, qc
Task: Fetch lat from evaporation that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082560 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, ts, type, qc
Sensor: rainfall | fields: depth, unit, level, ts
Task: Fetch reading from air_quality where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082561 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: reading, value, level, type
Sensor: evaporation | fields: value, reading, unit, lat
Task: Fetch lon from frost that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082562 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, lat, unit, value
Sensor: drought_index | fields: lon, value, qc, depth
Task: Get lat from dew_point where value exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082563 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, depth, value, level
Sensor: visibility | fields: level, ts, reading, unit
Task: Fetch value from soil_moisture where reading is greater than the average of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082564 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: level, type, value, depth
Sensor: turbidity | fields: level, type, lon, ts
Task: Retrieve lat from sunlight whose qc is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082565 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, level, type, qc
Sensor: cloud_cover | fields: depth, lat, type, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082566 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, lat, value, reading
Sensor: wind_speed | fields: depth, lon, level, value
Task: Retrieve value from uv_index whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082567 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, type, qc, level
Sensor: uv_index | fields: level, depth, value, reading
Task: Retrieve level from frost with value above the COUNT(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082568 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, qc, value, lat
Sensor: lightning | fields: depth, unit, lat, level
Task: Get lon from soil_moisture where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082569 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: level, lon, unit, reading
Sensor: uv_index | fields: lat, lon, depth, value
Task: Get depth from turbidity where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082570 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, value, ts
Sensor: air_quality | fields: qc, ts, type, value
Task: Fetch reading from pressure where depth is greater than the total of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082571 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: reading, lat, ts, type
Sensor: pressure | fields: type, lon, lat, level
Task: Get lat from lightning where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082572 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, lon, lat, level
Sensor: air_quality | fields: lat, qc, ts, reading
Task: Fetch reading from cloud_cover where type exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082573 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: reading, unit, depth, value
Sensor: rainfall | fields: type, qc, lat, ts
Task: Fetch reading from lightning that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082574 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, depth, reading, unit
Sensor: visibility | fields: reading, type, qc, unit
Task: Get value from wind_speed where value exceeds the count of depth from visibility for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082575 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: type, ts, reading, qc
Sensor: soil_moisture | fields: reading, level, type, depth
Task: Fetch level from humidity that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082576 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, qc, level, type
Sensor: humidity | fields: value, reading, qc, ts
Task: Fetch lon from lightning that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082577 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, depth, lon, ts
Sensor: snow_depth | fields: qc, ts, depth, lon
Task: Get lon from visibility where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082578 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, reading, lat, value
Sensor: cloud_cover | fields: unit, lon, lat, reading
Task: Get level from visibility where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082579 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, qc, lon, type
Sensor: humidity | fields: value, ts, lat, depth
Task: Fetch depth from snow_depth where depth is greater than the count of of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082580 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, unit, qc, depth
Sensor: humidity | fields: qc, level, lat, unit
Task: Retrieve lat from pressure whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082581 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, lon, reading, unit
Sensor: pressure | fields: lon, reading, ts, qc
Task: Retrieve depth from cloud_cover that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082582 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, unit, reading, level
Sensor: evaporation | fields: qc, value, lon, reading
Task: Fetch level from rainfall where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082583 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, lat, unit, reading
Sensor: temperature | fields: level, value, qc, reading
Task: Retrieve value from visibility that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082584 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lat, ts, unit
Sensor: evaporation | fields: value, lon, reading, ts
Task: Get depth from air_quality where depth appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082585 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, unit, ts
Sensor: uv_index | fields: lat, value, depth, reading
Task: Retrieve level from cloud_cover whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082586 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, level, reading, lat
Sensor: dew_point | fields: level, depth, ts, value
Task: Retrieve level from turbidity with depth above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082587 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, lon, type, ts
Sensor: air_quality | fields: depth, ts, level, lon
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082588 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: level, depth, reading, qc
Sensor: uv_index | fields: depth, type, unit, lon
Task: Retrieve lat from air_quality with depth above the COUNT(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082589 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, reading, ts, value
Sensor: visibility | fields: reading, qc, depth, type
Task: Retrieve value from humidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082590 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, lon, ts, unit
Sensor: cloud_cover | fields: reading, lon, value, qc
Task: Retrieve lon from humidity whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082591 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, lon, depth, type
Sensor: evaporation | fields: unit, ts, reading, qc
Task: Get reading from rainfall where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082592 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: type, qc, level, lat
Sensor: turbidity | fields: reading, value, depth, lat
Task: Get depth from drought_index where depth exceeds the minimum reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082593 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: type, lon, qc, lat
Sensor: pressure | fields: level, reading, value, ts
Task: Retrieve depth from turbidity with value above the AVG(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082594 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, ts, unit, lat
Sensor: air_quality | fields: reading, unit, qc, level
Task: Fetch lon from drought_index that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082595 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, level, reading, qc
Sensor: turbidity | fields: lat, unit, lon, depth
Task: Fetch reading from uv_index where reading is greater than the minimum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082596 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, lon, depth, type
Sensor: visibility | fields: type, level, value, lat
Task: Get depth from soil_moisture where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_082597 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, type, lat, reading
Sensor: evaporation | fields: value, lat, type, reading
Task: Retrieve value from dew_point with value above the MIN(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082598 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, reading, unit, level
Sensor: pressure | fields: level, lon, qc, ts
Task: Retrieve lon from wind_speed with reading above the AVG(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_082599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.