variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: frost | code: thr | fields: unit, lon, level, depth
Sensor: pressure | fields: ts, depth, lat, unit
Task: Retrieve lon from frost that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015400 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, qc, reading, value
Sensor: sunlight | fields: reading, level, depth, unit
Task: Fetch reading from wind_speed that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015401 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, lat, unit, reading
Sensor: cloud_cover | fields: value, type, reading, level
Task: Retrieve lon from dew_point with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015402 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lat, reading, unit, ts
Sensor: frost | fields: lon, qc, ts, type
Task: Get lon from pressure where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015403 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lon, qc, unit, type
Sensor: lightning | fields: unit, lat, lon, depth
Task: Fetch value from rainfall where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015404 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, unit, reading, value
Sensor: pressure | fields: value, lat, type, unit
Task: Get reading from visibility where value exceeds the average value from pressure for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015405 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: qc, level, ts, value
Sensor: turbidity | fields: type, depth, lat, value
Task: Retrieve value from uv_index whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015406 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: ts, qc, reading, type
Sensor: uv_index | fields: level, lon, qc, depth
Task: Fetch lat from visibility where unit exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015407 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: type, qc, lat, lon
Sensor: temperature | fields: level, unit, lat, ts
Task: Retrieve value from lightning that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015408 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, value, level
Sensor: dew_point | fields: ts, lon, depth, lat
Task: Get value from soil_moisture where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015409 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: qc, type, level, value
Sensor: temperature | fields: ts, depth, type, value
Task: Fetch lon from dew_point where reading is greater than the minimum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015410 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lon, type, ts
Sensor: temperature | fields: qc, unit, value, lon
Task: Fetch depth from dew_point where value is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015411 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: ts, reading, qc, value
Sensor: snow_depth | fields: reading, qc, level, depth
Task: Get reading from temperature where type appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015412 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: unit, value, lat, depth
Sensor: frost | fields: reading, depth, qc, level
Task: Fetch value from lightning where value is greater than the total of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015413 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, lat, depth, ts
Sensor: sunlight | fields: level, lon, unit, reading
Task: Fetch level from wind_speed where qc exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015414 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: type, depth, lat, lon
Sensor: lightning | fields: lon, type, reading, qc
Task: Get value from snow_depth where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015415 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: reading, lon, lat, unit
Sensor: lightning | fields: reading, level, unit, depth
Task: Get reading from pressure where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015416 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, value, depth, unit
Sensor: snow_depth | fields: level, qc, value, ts
Task: Fetch value from air_quality where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015417 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, lon, value, depth
Sensor: drought_index | fields: level, unit, qc, depth
Task: Fetch lat from air_quality that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015418 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: type, unit, reading, depth
Sensor: uv_index | fields: value, lat, unit, lon
Task: Get level from temperature where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015419 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, depth, lon, level
Sensor: drought_index | fields: lat, level, depth, qc
Task: Get lat from frost where depth exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015420 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, depth, value, unit
Sensor: air_quality | fields: reading, type, depth, lon
Task: Get depth from wind_speed where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015421 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, ts, level, lat
Sensor: dew_point | fields: depth, ts, type, lat
Task: Fetch depth from air_quality where ts exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015422 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: type, reading, lat, level
Sensor: wind_speed | fields: lon, ts, unit, qc
Task: Get reading from evaporation where reading exceeds the total reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015423 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, ts, value, lon
Sensor: soil_moisture | fields: depth, unit, lon, qc
Task: Get depth from snow_depth where value exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015424 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: depth, lon, ts, qc
Sensor: temperature | fields: ts, reading, unit, lat
Task: Get value from visibility where depth exceeds the average value from temperature for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015425 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: depth, qc, unit, value
Sensor: dew_point | fields: lon, ts, unit, lat
Task: Fetch depth from frost that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015426 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: level, depth, qc, reading
Sensor: lightning | fields: level, reading, depth, lat
Task: Get level from pressure where ts appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015427 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, qc, unit, reading
Sensor: air_quality | fields: unit, value, level, type
Task: Retrieve lat from snow_depth that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015428 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, reading, level, type
Sensor: turbidity | fields: lon, value, type, reading
Task: Get lon from pressure where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015429 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: reading, ts, unit, qc
Sensor: lightning | fields: lon, ts, lat, unit
Task: Retrieve level from rainfall whose unit is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015430 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, reading, value, qc
Sensor: rainfall | fields: value, lat, ts, unit
Task: Retrieve reading from visibility that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015431 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: depth, level, ts, reading
Sensor: wind_speed | fields: type, reading, qc, unit
Task: Get lon from humidity where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015432 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, lon, value, type
Sensor: sunlight | fields: ts, type, level, value
Task: Get value from pressure where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015433 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, depth, qc, value
Sensor: uv_index | fields: qc, reading, lat, ts
Task: Retrieve value from sunlight with depth above the AVG(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015434 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, value, level, depth
Sensor: sunlight | fields: type, reading, ts, unit
Task: Fetch depth from uv_index where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015435 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, reading, level, type
Sensor: dew_point | fields: ts, type, depth, lat
Task: Fetch depth from pressure where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015436 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, type, lat, value
Sensor: dew_point | fields: depth, value, ts, reading
Task: Retrieve level from wind_speed whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015437 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: reading, qc, unit, value
Sensor: wind_speed | fields: type, lon, ts, depth
Task: Retrieve lat from evaporation whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015438 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, type, lat
Sensor: air_quality | fields: lat, depth, level, lon
Task: Fetch lon from dew_point that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015439 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, unit, qc, value
Sensor: uv_index | fields: qc, lat, ts, depth
Task: Retrieve reading from wind_speed with value above the SUM(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015440 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, ts, depth
Sensor: drought_index | fields: lon, value, level, qc
Task: Fetch depth from evaporation where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015441 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: ts, lon, qc, depth
Sensor: rainfall | fields: value, type, lon, lat
Task: Fetch lon from turbidity where ts exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015442 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: ts, value, level, reading
Sensor: rainfall | fields: depth, reading, value, type
Task: Fetch value from temperature where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015443 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, qc, type, lat
Sensor: cloud_cover | fields: reading, unit, lon, lat
Task: Get depth from sunlight where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015444 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, lat, ts, qc
Sensor: sunlight | fields: unit, level, lat, reading
Task: Get depth from visibility where qc appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015445 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, qc, lon, lat
Sensor: lightning | fields: reading, lon, value, ts
Task: Retrieve level from soil_moisture that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015446 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, unit, level, depth
Sensor: evaporation | fields: qc, level, ts, value
Task: Get lon from frost where value exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015447 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: type, lon, value, unit
Sensor: pressure | fields: type, level, value, lat
Task: Retrieve reading from dew_point with depth above the COUNT(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015448 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lat, level, value, type
Sensor: frost | fields: reading, depth, type, lon
Task: Retrieve depth from evaporation whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015449 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: type, value, level, reading
Sensor: pressure | fields: level, lon, ts, type
Task: Get reading from humidity where reading exceeds the total depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015450 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, ts, type
Sensor: snow_depth | fields: unit, type, lat, level
Task: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015451 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, depth, value, lon
Sensor: dew_point | fields: lon, type, unit, depth
Task: Get depth from drought_index where type appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015452 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, type, level, ts
Sensor: snow_depth | fields: qc, lon, reading, type
Task: Fetch level from cloud_cover that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015453 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, lon, value, type
Sensor: frost | fields: qc, lon, lat, type
Task: Retrieve level from soil_moisture whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015454 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, value, qc, type
Sensor: snow_depth | fields: lon, unit, ts, value
Task: Fetch depth from soil_moisture that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015455 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, value, qc, reading
Sensor: visibility | fields: level, lon, type, value
Task: Retrieve value from pressure with reading above the COUNT(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015456 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, lon, depth, unit
Sensor: snow_depth | fields: lon, qc, unit, reading
Task: Fetch value from turbidity where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015457 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, depth, lon, qc
Sensor: sunlight | fields: depth, ts, level, reading
Task: Fetch level from snow_depth where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015458 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, qc, lon, reading
Sensor: frost | fields: lat, depth, type, lon
Task: Fetch lon from rainfall that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015459 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: unit, depth, value, qc
Sensor: pressure | fields: depth, lon, lat, type
Task: Retrieve lon from uv_index with depth above the MAX(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015460 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, lat, depth, reading
Sensor: frost | fields: depth, unit, reading, ts
Task: Retrieve lon from soil_moisture with reading above the SUM(depth) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015461 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, reading, lat, type
Sensor: cloud_cover | fields: ts, reading, depth, qc
Task: Fetch depth from wind_speed that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015462 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, lon, unit, level
Sensor: dew_point | fields: reading, depth, qc, lon
Task: Retrieve lat from soil_moisture with value above the SUM(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015463 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, level, reading, unit
Sensor: rainfall | fields: value, lon, lat, ts
Task: Retrieve reading from snow_depth with depth above the MIN(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015464 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, unit, type, lon
Sensor: uv_index | fields: reading, value, lat, ts
Task: Fetch lon from humidity where reading is greater than the maximum of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015465 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, lat, qc, type
Sensor: frost | fields: unit, qc, value, reading
Task: Get lon from lightning where value exceeds the count of value from frost for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015466 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, ts, qc, value
Sensor: sunlight | fields: lat, value, depth, ts
Task: Fetch value from evaporation where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015467 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, lat, type, level
Sensor: rainfall | fields: lat, unit, value, lon
Task: Get value from lightning where depth exceeds the count of value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"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_015468 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, lon, depth, lat
Sensor: temperature | fields: depth, unit, lat, level
Task: Get level from cloud_cover where reading exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015469 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, depth, ts, value
Sensor: turbidity | fields: type, lon, level, lat
Task: Retrieve reading from cloud_cover with depth above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015470 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, lon, lat, value
Sensor: turbidity | fields: level, type, qc, ts
Task: Get lon from evaporation where depth exceeds the minimum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015471 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, ts, qc, unit
Sensor: lightning | fields: level, depth, lat, unit
Task: Fetch level from soil_moisture where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015472 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, depth, level, lat
Sensor: turbidity | fields: lon, reading, value, level
Task: Fetch lat from cloud_cover where depth exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015473 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, type, qc, depth
Sensor: pressure | fields: type, reading, qc, lon
Task: Fetch reading from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015474 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, lon, ts, value
Sensor: uv_index | fields: value, depth, unit, level
Task: Fetch lon from humidity where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015475 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, reading, ts, depth
Sensor: soil_moisture | fields: lat, ts, value, depth
Task: Fetch lat from turbidity where value is greater than the total of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015476 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: level, unit, lat, depth
Sensor: lightning | fields: ts, unit, reading, type
Task: Get depth from drought_index where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015477 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lon, qc, value, ts
Sensor: soil_moisture | fields: value, unit, reading, lat
Task: Get lon from dew_point where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015478 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: level, value, lon, unit
Sensor: temperature | fields: reading, lon, qc, unit
Task: Retrieve depth from pressure with reading above the SUM(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015479 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, unit, value, reading
Sensor: visibility | fields: depth, unit, lon, qc
Task: Get lon from pressure where reading exceeds the maximum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015480 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, level, depth, ts
Sensor: humidity | fields: level, lat, ts, reading
Task: Get level from soil_moisture where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015481 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: lon, type, ts, depth
Sensor: temperature | fields: unit, type, depth, value
Task: Retrieve reading from air_quality whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015482 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, level, reading, lon
Sensor: cloud_cover | fields: level, depth, value, qc
Task: Retrieve value from frost whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015483 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, qc, type, lat
Sensor: air_quality | fields: level, reading, lat, lon
Task: Get lon from frost where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015484 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lon, qc, unit, value
Sensor: dew_point | fields: reading, value, unit, qc
Task: Retrieve depth from pressure whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015485 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, lon, depth, lat
Sensor: turbidity | fields: ts, value, depth, type
Task: Retrieve value from evaporation with reading above the MAX(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015486 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, qc, ts, level
Sensor: sunlight | fields: lon, lat, reading, qc
Task: Get level from cloud_cover where depth appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015487 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, value, qc, type
Sensor: turbidity | fields: qc, level, reading, lon
Task: Retrieve value from drought_index that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015488 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, value, ts, reading
Sensor: sunlight | fields: lon, lat, type, unit
Task: Fetch depth from dew_point where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015489 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, level, lon, unit
Sensor: sunlight | fields: lat, unit, lon, depth
Task: Retrieve depth from frost that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015490 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: type, lat, depth, level
Sensor: turbidity | fields: type, value, qc, lon
Task: Get reading from uv_index where depth exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
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": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015491 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: value, reading, depth, unit
Sensor: uv_index | fields: reading, ts, level, lon
Task: Fetch level from wind_speed where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015492 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: type, lon, depth, lat
Sensor: air_quality | fields: ts, depth, reading, unit
Task: Retrieve value from lightning that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015493 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: type, lon, unit, ts
Sensor: evaporation | fields: value, unit, level, reading
Task: Get reading from uv_index where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015494 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lat, qc, reading
Sensor: snow_depth | fields: ts, lat, depth, unit
Task: Get depth from sunlight where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015495 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, qc, lat, depth
Sensor: cloud_cover | fields: ts, qc, value, type
Task: Get lon from soil_moisture where qc appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015496 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: qc, lat, reading, ts
Sensor: pressure | fields: type, depth, ts, reading
Task: Retrieve depth from frost that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015497 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, qc, depth, level
Sensor: dew_point | fields: value, depth, ts, unit
Task: Retrieve lat from air_quality that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_015498 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, type, depth
Sensor: visibility | fields: value, ts, reading, lon
Task: Retrieve depth from snow_depth whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_015499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.