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: uv_index | code: stn | fields: level, lon, depth, type
Sensor: wind_speed | fields: value, lat, type, lon
Task: Retrieve lon from uv_index that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"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_013500 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, qc, lat
Sensor: wind_speed | fields: lon, type, ts, lat
Task: Get lon from evaporation where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013501 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, lat, level, ts
Sensor: frost | fields: qc, unit, ts, lon
Task: Get lat from cloud_cover where value exceeds the minimum value from frost for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013502 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, depth, level, qc
Sensor: snow_depth | fields: qc, lon, type, level
Task: Get value from visibility where depth exceeds the maximum depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013503 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, reading, lat, ts
Sensor: soil_moisture | fields: qc, type, lat, lon
Task: Get value from temperature where depth exceeds the average reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013504 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, lon, depth, lat
Sensor: uv_index | fields: reading, level, lat, lon
Task: Retrieve depth from pressure whose type is found in uv_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013505 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, level, depth, lon
Sensor: air_quality | fields: level, qc, unit, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013506 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, reading, value, ts
Sensor: pressure | fields: level, type, value, lat
Task: Fetch depth from cloud_cover that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013507 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, depth, reading, qc
Sensor: cloud_cover | fields: depth, value, qc, level
Task: Get value from snow_depth where qc appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013508 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, unit, type, lon
Sensor: rainfall | fields: depth, lat, unit, reading
Task: Fetch value from visibility where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013509 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, unit, lat, lon
Sensor: frost | fields: ts, unit, reading, value
Task: Get reading from snow_depth where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013510 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, ts, level, unit
Sensor: soil_moisture | fields: lat, level, value, depth
Task: Retrieve lat from dew_point with value above the MIN(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013511 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, depth, qc, ts
Sensor: sunlight | fields: value, type, unit, level
Task: Fetch lat from pressure where qc exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013512 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, type, qc, lat
Sensor: snow_depth | fields: lon, lat, reading, ts
Task: Fetch value from turbidity that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013513 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, lon, level, reading
Sensor: visibility | fields: ts, reading, type, qc
Task: Retrieve reading from temperature with depth above the AVG(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013514 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: type, unit, value, depth
Sensor: rainfall | fields: type, ts, unit, lon
Task: Get depth from air_quality where reading exceeds the total depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013515 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: qc, level, ts, depth
Sensor: snow_depth | fields: ts, type, value, lat
Task: Fetch value from pressure where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013516 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, qc, depth, reading
Sensor: frost | fields: unit, lat, value, reading
Task: Fetch lat from rainfall where value is greater than the total of reading in frost for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013517 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: reading, value, lon, ts
Sensor: sunlight | fields: unit, ts, value, level
Task: Fetch level from drought_index where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013518 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lat, level, unit, value
Sensor: lightning | fields: lat, type, depth, lon
Task: Fetch level from temperature where value is greater than the minimum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013519 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, lat, type, reading
Sensor: visibility | fields: ts, lon, level, lat
Task: Retrieve level from humidity with value above the MIN(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013520 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: qc, reading, depth, ts
Sensor: soil_moisture | fields: depth, type, ts, reading
Task: Fetch level from snow_depth where depth is greater than the count of of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013521 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, value, qc, level
Sensor: turbidity | fields: depth, ts, type, reading
Task: Get value from wind_speed where value exceeds the average value from turbidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013522 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, qc, type, unit
Sensor: pressure | fields: level, reading, lon, unit
Task: Retrieve level from humidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013523 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, type, reading, unit
Sensor: rainfall | fields: level, type, qc, ts
Task: Retrieve depth from temperature that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013524 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, value, lon, depth
Sensor: cloud_cover | fields: qc, reading, type, lon
Task: Retrieve lat from uv_index with depth above the AVG(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013525 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, depth, ts, type
Sensor: frost | fields: type, value, lon, lat
Task: Fetch value from dew_point where value is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013526 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, qc, type, unit
Sensor: evaporation | fields: qc, lon, lat, type
Task: Get value from dew_point where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013527 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, ts, unit, depth
Sensor: evaporation | fields: ts, lat, level, type
Task: Get lat from frost where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013528 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lat, unit, level, depth
Sensor: soil_moisture | fields: ts, type, unit, qc
Task: Get level from dew_point where qc appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013529 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lon, lat, depth, ts
Sensor: snow_depth | fields: reading, ts, value, depth
Task: Retrieve lat from air_quality whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013530 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lat, depth, level
Sensor: temperature | fields: depth, qc, reading, ts
Task: Get value from air_quality where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013531 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: value, unit, reading, lon
Sensor: drought_index | fields: unit, value, ts, reading
Task: Retrieve reading from snow_depth whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013532 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, ts, lat, reading
Sensor: soil_moisture | fields: ts, type, lat, unit
Task: Fetch reading from visibility where depth exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013533 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lon, value, depth
Sensor: dew_point | fields: reading, type, unit, ts
Task: Fetch depth from snow_depth where value is greater than the minimum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013534 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, unit, reading
Sensor: dew_point | fields: level, lat, reading, qc
Task: Retrieve lat from uv_index that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013535 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, level, ts, unit
Sensor: humidity | fields: depth, lat, qc, reading
Task: Fetch reading from snow_depth that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013536 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, level, type, reading
Sensor: dew_point | fields: depth, lon, type, ts
Task: Get lon from lightning where depth exceeds the total value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013537 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, level, type, value
Sensor: snow_depth | fields: lon, unit, level, depth
Task: Fetch level from humidity where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013538 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: lat, level, lon, depth
Sensor: cloud_cover | fields: value, qc, reading, lat
Task: Fetch depth from temperature where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013539 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, level, lon, unit
Sensor: sunlight | fields: qc, reading, value, lat
Task: Retrieve value from uv_index whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013540 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: depth, lon, qc, unit
Sensor: temperature | fields: unit, lat, depth, qc
Task: Get level from drought_index where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013541 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, lat, reading, qc
Sensor: temperature | fields: qc, value, lat, depth
Task: Fetch depth from soil_moisture that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013542 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, lon, ts, unit
Sensor: pressure | fields: lon, ts, reading, value
Task: Retrieve depth from frost with value above the SUM(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013543 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: ts, type, level, reading
Sensor: lightning | fields: value, unit, qc, lat
Task: Get depth from visibility where ts appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013544 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, depth, unit, qc
Sensor: lightning | fields: depth, unit, type, qc
Task: Fetch value from pressure where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013545 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, lat, unit, lon
Sensor: lightning | fields: lat, qc, level, ts
Task: Retrieve level from evaporation that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013546 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lon, depth, level, lat
Sensor: dew_point | fields: type, depth, qc, ts
Task: Get depth from uv_index where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013547 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, unit, type, level
Sensor: sunlight | fields: lat, type, unit, lon
Task: Retrieve value from snow_depth that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013548 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, type, lon, level
Sensor: dew_point | fields: lat, level, unit, type
Task: Retrieve level from pressure with value above the AVG(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013549 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, depth, unit, lon
Sensor: cloud_cover | fields: type, depth, ts, qc
Task: Get level from sunlight where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013550 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, qc, type, lat
Sensor: wind_speed | fields: qc, lon, ts, depth
Task: Retrieve value from frost whose type is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013551 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, ts, lon, qc
Sensor: lightning | fields: type, qc, value, level
Task: Retrieve level from frost with value above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013552 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, value, reading, depth
Sensor: uv_index | fields: reading, depth, unit, lat
Task: Retrieve lon from lightning with depth above the MAX(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013553 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: qc, ts, lon, depth
Sensor: frost | fields: unit, reading, depth, ts
Task: Fetch value from turbidity that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013554 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: type, value, depth, lon
Sensor: snow_depth | fields: ts, unit, lat, lon
Task: Get lon from temperature where reading exceeds the count of reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013555 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, depth, qc, lon
Sensor: soil_moisture | fields: reading, unit, level, lat
Task: Retrieve lon from humidity whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013556 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: type, value, reading, lon
Sensor: humidity | fields: value, lon, lat, reading
Task: Fetch lon from visibility where value is greater than the minimum of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013557 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: value, reading, ts, level
Sensor: soil_moisture | fields: depth, value, type, reading
Task: Get depth from temperature where reading exceeds the average value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"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_013558 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, unit, ts, type
Sensor: rainfall | fields: ts, lat, type, qc
Task: Fetch lat from pressure where value is greater than the minimum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013559 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: qc, unit, lon, level
Sensor: lightning | fields: lon, ts, depth, value
Task: Get lon from air_quality where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013560 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, qc, type, unit
Sensor: temperature | fields: unit, lat, value, ts
Task: Get level from visibility where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013561 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: value, unit, lon, ts
Sensor: lightning | fields: reading, lon, level, depth
Task: Fetch level from visibility where unit exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013562 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: value, reading, level, unit
Sensor: sunlight | fields: value, qc, level, lat
Task: Fetch lon from evaporation where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013563 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: value, depth, ts, lon
Sensor: wind_speed | fields: reading, lat, level, lon
Task: Get lon from uv_index where type appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013564 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: depth, value, lon, lat
Sensor: wind_speed | fields: qc, level, reading, lat
Task: Fetch lat from pressure that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013565 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, lon, type, unit
Sensor: air_quality | fields: lat, ts, unit, depth
Task: Retrieve lon from humidity whose type is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013566 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lon, type, unit
Sensor: air_quality | fields: level, unit, reading, qc
Task: Get lon from snow_depth where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013567 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: ts, type, reading, depth
Sensor: cloud_cover | fields: lat, reading, unit, qc
Task: Fetch level from frost where depth is greater than the maximum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013568 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: ts, lat, unit, reading
Sensor: rainfall | fields: lat, lon, ts, depth
Task: Fetch lat from turbidity where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013569 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: reading, ts, depth, unit
Sensor: evaporation | fields: reading, ts, lon, level
Task: Get level from snow_depth where value exceeds the average value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013570 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, unit, reading
Sensor: snow_depth | fields: level, depth, type, lon
Task: Fetch lat from rainfall where reading is greater than the total of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013571 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, value, ts, level
Sensor: sunlight | fields: type, reading, lon, qc
Task: Fetch reading from cloud_cover that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013572 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, level, reading, lat
Sensor: lightning | fields: unit, ts, level, depth
Task: Fetch lon from drought_index where reading is greater than the maximum of depth in lightning for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"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_013573 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, reading, lon
Sensor: drought_index | fields: lat, ts, lon, value
Task: Retrieve value from air_quality with depth above the SUM(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013574 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: qc, unit, type, value
Sensor: temperature | fields: lon, level, type, depth
Task: Get value from frost where value exceeds the average value from temperature for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013575 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, type, depth, reading
Sensor: wind_speed | fields: lon, lat, level, ts
Task: Retrieve reading from soil_moisture whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013576 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, value, ts, lat
Sensor: soil_moisture | fields: ts, level, reading, lat
Task: Retrieve reading from snow_depth whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013577 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, unit, qc, type
Sensor: pressure | fields: lat, reading, ts, value
Task: Fetch lat from dew_point where depth exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013578 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, type, lat, level
Sensor: evaporation | fields: type, unit, lat, reading
Task: Fetch depth from drought_index where depth is greater than the average of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013579 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, unit, ts, value
Sensor: drought_index | fields: type, lat, ts, depth
Task: Fetch level from turbidity where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013580 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, reading, lat, depth
Sensor: soil_moisture | fields: lat, ts, qc, lon
Task: Retrieve lat from rainfall with depth above the MIN(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013581 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, lat, qc, level
Sensor: lightning | fields: lat, ts, value, depth
Task: Fetch lon from cloud_cover where depth is greater than the count of of value in lightning for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013582 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: level, lat, depth, type
Sensor: turbidity | fields: type, qc, lon, reading
Task: Get depth from snow_depth where type appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013583 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, level, value, lon
Sensor: lightning | fields: depth, lon, unit, level
Task: Retrieve lon from dew_point with value above the MIN(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013584 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, value, lon, type
Sensor: wind_speed | fields: level, lat, qc, reading
Task: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013585 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, lat, depth
Sensor: uv_index | fields: lon, value, unit, reading
Task: Get value from temperature where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013586 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lat, reading, depth
Sensor: soil_moisture | fields: value, depth, qc, reading
Task: Get reading from snow_depth where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013587 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: level, type, value, qc
Sensor: pressure | fields: level, lon, reading, depth
Task: Fetch reading from frost where reading is greater than the total of value in pressure for matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013588 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: value, type, qc, ts
Sensor: pressure | fields: reading, qc, lat, ts
Task: Retrieve depth from lightning with value above the COUNT(value) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013589 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lon, type, depth, ts
Sensor: air_quality | fields: lat, qc, lon, value
Task: Retrieve lat from turbidity that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013590 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, reading, qc
Sensor: frost | fields: type, lat, level, lon
Task: Get lon from sunlight where type appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013591 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: ts, value, level, depth
Sensor: sunlight | fields: value, lon, level, reading
Task: Fetch lat from drought_index where depth exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013592 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, lat, type, value
Sensor: turbidity | fields: value, unit, reading, depth
Task: Get reading from pressure where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013593 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, reading, depth, value
Sensor: turbidity | fields: value, qc, depth, lat
Task: Fetch lat from evaporation where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013594 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: ts, depth, lat, reading
Sensor: snow_depth | fields: lat, level, ts, lon
Task: Fetch level from humidity where depth exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013595 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, qc, ts, value
Sensor: evaporation | fields: lat, type, lon, qc
Task: Fetch reading from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013596 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: qc, type, lon, depth
Sensor: wind_speed | fields: ts, unit, depth, lat
Task: Fetch lat from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013597 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: value, lon, depth, ts
Sensor: turbidity | fields: lat, lon, qc, type
Task: Retrieve reading from frost whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013598 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, unit, lon, qc
Sensor: lightning | fields: lon, qc, lat, depth
Task: Fetch level from humidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.