variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, reading, type, depth
Sensor: sunlight | fields: reading, lat, unit, ts
Task: Get value from pressure where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003500 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, lat, ts, unit
Sensor: rainfall | fields: qc, lat, reading, ts
Task: Get reading from pressure where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003501 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: depth, unit, reading, lon
Sensor: rainfall | fields: lat, qc, lon, unit
Task: Retrieve lat from sunlight that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003502 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, qc, level, lat
Sensor: uv_index | fields: level, lon, type, lat
Task: Retrieve lon from visibility with reading above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003503 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: ts, type, level, depth
Sensor: drought_index | fields: value, level, unit, reading
Task: Retrieve value from turbidity that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003504 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: value, lat, depth, reading
Sensor: soil_moisture | fields: qc, level, type, unit
Task: Fetch level from visibility where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003505 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, qc, unit, depth
Sensor: frost | fields: lon, value, ts, level
Task: Get value from soil_moisture where depth exceeds the count of reading from frost for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"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_003506 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, lon, depth, reading
Sensor: turbidity | fields: value, lon, qc, ts
Task: Fetch value from snow_depth that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003507 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, level, value
Sensor: lightning | fields: level, lon, value, depth
Task: Get level from sunlight where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003508 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, lon, ts, unit
Sensor: lightning | fields: reading, qc, level, ts
Task: Fetch reading from air_quality that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003509 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, reading, lat, qc
Sensor: cloud_cover | fields: ts, depth, qc, level
Task: Get lat from dew_point where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003510 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, reading, ts, qc
Sensor: soil_moisture | fields: level, ts, value, reading
Task: Get lat from frost where depth exceeds the average reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003511 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, unit, ts, qc
Sensor: turbidity | fields: ts, level, lat, depth
Task: Fetch reading from soil_moisture where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003512 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: qc, lat, unit, level
Sensor: evaporation | fields: depth, lon, level, qc
Task: Fetch reading from pressure where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003513 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, unit, lat, ts
Sensor: frost | fields: value, ts, lon, level
Task: Retrieve lat from air_quality that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003514 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, type, level, unit
Sensor: turbidity | fields: reading, depth, level, lat
Task: Get reading from frost where depth exceeds the average depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003515 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, type, unit, lon
Sensor: snow_depth | fields: value, reading, type, depth
Task: Fetch depth from sunlight where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003516 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, lat, unit
Sensor: temperature | fields: type, value, ts, lat
Task: Get lon from sunlight where value exceeds the maximum reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003517 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, qc, depth
Sensor: uv_index | fields: value, qc, lat, lon
Task: Get depth from air_quality where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003518 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, lon, reading, level
Sensor: wind_speed | fields: value, lon, unit, ts
Task: Get level from frost where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003519 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, ts, qc, type
Sensor: cloud_cover | fields: lat, depth, lon, type
Task: Retrieve level from humidity that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003520 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, ts, type, unit
Sensor: drought_index | fields: level, qc, reading, ts
Task: Fetch reading from rainfall where reading is greater than the maximum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003521 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: value, ts, level, type
Sensor: pressure | fields: level, lon, type, lat
Task: Fetch value from temperature where ts exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003522 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, depth, unit, qc
Sensor: temperature | fields: lat, qc, type, unit
Task: Retrieve lat from frost that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003523 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, type, level, depth
Sensor: pressure | fields: reading, value, ts, lat
Task: Fetch reading from visibility where value is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003524 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, unit, level, ts
Sensor: sunlight | fields: value, lon, type, reading
Task: Fetch level from evaporation where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003525 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, unit, lon, depth
Sensor: frost | fields: lat, type, lon, unit
Task: Retrieve level from dew_point whose type is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003526 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, lon, ts, unit
Sensor: temperature | fields: depth, type, reading, level
Task: Fetch depth from drought_index that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003527 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: reading, value, qc, type
Sensor: humidity | fields: type, unit, level, qc
Task: Retrieve reading from turbidity whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003528 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, depth, lon, level
Sensor: air_quality | fields: lat, ts, lon, unit
Task: Fetch level from cloud_cover where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003529 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, type, lon, reading
Sensor: lightning | fields: lon, depth, lat, value
Task: Retrieve reading from cloud_cover with value above the COUNT(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003530 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: reading, type, lat, unit
Sensor: snow_depth | fields: value, unit, ts, type
Task: Get lat from drought_index where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003531 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lat, lon, qc
Sensor: lightning | fields: level, unit, reading, lat
Task: Retrieve depth from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003532 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, lon, level, ts
Sensor: temperature | fields: qc, level, depth, unit
Task: Fetch level from wind_speed where value is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003533 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, level, depth, ts
Sensor: rainfall | fields: unit, ts, lat, level
Task: Get reading from wind_speed where value exceeds the total value from rainfall for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_003534 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, reading, lon, value
Sensor: humidity | fields: level, lat, depth, lon
Task: Retrieve lon from soil_moisture with depth above the MAX(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003535 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, type, unit, depth
Sensor: dew_point | fields: level, reading, qc, ts
Task: Get depth from humidity where depth appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003536 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lon, unit, ts
Sensor: sunlight | fields: type, lat, qc, level
Task: Retrieve depth from snow_depth with reading above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003537 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: ts, qc, level, reading
Sensor: turbidity | fields: qc, lon, depth, lat
Task: Get lat from humidity where type appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003538 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, depth, ts, unit
Sensor: uv_index | fields: unit, reading, lat, level
Task: Fetch level from soil_moisture where reading is greater than the total of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003539 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, value, lon, ts
Sensor: turbidity | fields: lon, value, qc, depth
Task: Fetch reading from drought_index where value is greater than the maximum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003540 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: qc, depth, lon, ts
Sensor: evaporation | fields: ts, unit, level, lon
Task: Retrieve reading from frost whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003541 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: reading, unit, lat, type
Sensor: frost | fields: type, depth, reading, lon
Task: Fetch lon from visibility that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003542 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, ts, depth, qc
Sensor: dew_point | fields: lat, reading, qc, level
Task: Get lon from lightning where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003543 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: depth, qc, unit, lat
Sensor: pressure | fields: qc, type, lat, value
Task: Fetch value from evaporation where depth is greater than the count of of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003544 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, level, reading, type
Sensor: wind_speed | fields: lon, value, type, ts
Task: Get reading from cloud_cover where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003545 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: qc, lat, depth, unit
Sensor: pressure | fields: lon, unit, qc, type
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003546 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, unit, lat, depth
Sensor: sunlight | fields: lat, lon, ts, qc
Task: Fetch reading from humidity where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003547 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lon, depth, type, ts
Sensor: temperature | fields: unit, ts, level, depth
Task: Fetch value from drought_index where depth is greater than the total of reading in temperature for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003548 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lat, type, qc, ts
Sensor: drought_index | fields: lon, type, level, unit
Task: Get lat from temperature where depth exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003549 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, unit, reading, lon
Sensor: air_quality | fields: qc, ts, lon, type
Task: Retrieve reading from turbidity with value above the AVG(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003550 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: level, lat, reading, ts
Sensor: snow_depth | fields: qc, depth, level, type
Task: Retrieve lon from sunlight that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003551 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: depth, qc, reading, lat
Sensor: pressure | fields: level, ts, unit, lon
Task: Retrieve value from lightning with value above the COUNT(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003552 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, depth, type, value
Sensor: air_quality | fields: lat, type, level, qc
Task: Get lon from evaporation where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003553 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: depth, type, lon, ts
Sensor: humidity | fields: lat, ts, lon, unit
Task: Retrieve value from dew_point whose type is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003554 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lon, lat, qc
Sensor: air_quality | fields: ts, qc, reading, value
Task: Fetch lon from sunlight where value is greater than the total of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003555 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lat, qc, unit
Sensor: dew_point | fields: reading, depth, unit, lat
Task: Get level from rainfall where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003556 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: ts, level, lat, depth
Sensor: dew_point | fields: lon, type, reading, level
Task: Retrieve lon from temperature with value above the AVG(depth) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003557 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, level, reading, depth
Sensor: uv_index | fields: qc, type, unit, ts
Task: Get depth from lightning where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003558 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, lat, depth, reading
Sensor: air_quality | fields: level, lat, depth, unit
Task: Retrieve depth from frost that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003559 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, value, level, lat
Sensor: soil_moisture | fields: reading, unit, lon, level
Task: Fetch depth from air_quality that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003560 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, type, qc, reading
Sensor: dew_point | fields: ts, lat, reading, qc
Task: Fetch level from humidity where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003561 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, qc, ts
Sensor: air_quality | fields: unit, level, lat, depth
Task: Fetch lon from sunlight where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003562 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, ts, lon, unit
Sensor: evaporation | fields: lon, qc, lat, reading
Task: Fetch level from cloud_cover where reading is greater than the total of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003563 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, ts, level, value
Sensor: snow_depth | fields: lat, ts, unit, level
Task: Get lon from uv_index where value exceeds the minimum reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003564 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, ts, unit, type
Sensor: evaporation | fields: depth, lon, reading, unit
Task: Get reading from frost where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003565 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: reading, ts, level, lon
Sensor: wind_speed | fields: qc, reading, type, depth
Task: Fetch lon from uv_index where qc exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="qc",
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": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003566 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, lon, qc, depth
Sensor: rainfall | fields: ts, unit, lon, lat
Task: Retrieve value from pressure whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003567 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, ts, reading
Sensor: evaporation | fields: level, type, lat, lon
Task: Fetch depth from humidity where value is greater than the total of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003568 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, value, lon
Sensor: dew_point | fields: lat, depth, unit, reading
Task: Retrieve lat from humidity that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003569 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, level, ts, type
Sensor: humidity | fields: qc, unit, type, reading
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003570 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, qc, type, ts
Sensor: pressure | fields: lon, lat, type, reading
Task: Fetch lat from sunlight where reading is greater than the average of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003571 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: depth, qc, level, lon
Sensor: uv_index | fields: type, unit, qc, lat
Task: Get lat from turbidity where reading exceeds the count of depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003572 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: unit, lon, reading, lat
Sensor: rainfall | fields: lat, unit, ts, type
Task: Get value from lightning where ts appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003573 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, lon, qc, type
Sensor: air_quality | fields: qc, reading, value, type
Task: Retrieve lat from rainfall that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003574 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, type, ts, unit
Sensor: air_quality | fields: unit, depth, qc, reading
Task: Retrieve depth from cloud_cover whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003575 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, level, depth, lon
Sensor: lightning | fields: lon, ts, reading, qc
Task: Get depth from drought_index where type appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003576 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: type, lon, value, unit
Sensor: turbidity | fields: value, lat, level, unit
Task: Retrieve reading from wind_speed whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003577 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, unit, lat, level
Sensor: rainfall | fields: qc, lat, level, unit
Task: Fetch value from turbidity where depth is greater than the maximum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003578 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, lon, level, reading
Sensor: temperature | fields: level, value, qc, depth
Task: Get level from wind_speed where reading exceeds the minimum value from temperature for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003579 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: level, lat, unit, depth
Sensor: visibility | fields: qc, lat, reading, level
Task: Get lon from frost where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003580 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, depth, qc, lon
Sensor: pressure | fields: unit, type, value, reading
Task: Retrieve lat from turbidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003581 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, lat, level, qc
Sensor: soil_moisture | fields: lat, depth, level, ts
Task: Retrieve depth from pressure whose unit is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003582 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, qc, unit, lat
Sensor: drought_index | fields: type, value, unit, qc
Task: Retrieve lat from pressure whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003583 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, type, level, depth
Sensor: temperature | fields: qc, unit, type, level
Task: Fetch depth from rainfall where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003584 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: type, level, unit, lon
Sensor: wind_speed | fields: ts, value, type, lon
Task: Fetch value from rainfall where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003585 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: value, ts, lon, reading
Sensor: dew_point | fields: type, depth, reading, lon
Task: Retrieve lat from soil_moisture with value above the AVG(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003586 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: type, level, reading, ts
Sensor: drought_index | fields: lat, ts, value, unit
Task: Fetch lat from frost where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003587 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lon, lat, reading, ts
Sensor: humidity | fields: depth, reading, type, value
Task: Retrieve reading from temperature with reading above the MIN(depth) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003588 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: value, lat, ts, level
Sensor: pressure | fields: qc, level, type, lon
Task: Fetch lat from dew_point where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003589 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, level, unit
Sensor: turbidity | fields: level, value, unit, reading
Task: Fetch reading from sunlight that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003590 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, lon, depth, lat
Sensor: pressure | fields: reading, value, level, type
Task: Fetch lat from visibility that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003591 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, unit, lat, qc
Sensor: rainfall | fields: depth, qc, reading, type
Task: Fetch reading from pressure where depth exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003592 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: reading, level, unit, lon
Sensor: visibility | fields: unit, value, qc, lat
Task: Fetch lon from turbidity where value is greater than the count of of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003593 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, ts, depth, type
Sensor: temperature | fields: depth, value, lon, qc
Task: Fetch lon from drought_index where ts exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003594 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, ts, value, type
Sensor: cloud_cover | fields: type, lat, level, value
Task: Fetch depth from uv_index where type exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003595 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, type, depth, level
Sensor: air_quality | fields: type, ts, qc, unit
Task: Get depth from visibility where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003596 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, depth, lon, type
Sensor: wind_speed | fields: lon, unit, depth, value
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_003597 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: lon, depth, level, unit
Sensor: lightning | fields: reading, lon, ts, depth
Task: Fetch depth from sunlight where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003598 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, depth, level, value
Sensor: dew_point | fields: unit, reading, qc, depth
Task: Retrieve depth from evaporation whose unit is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_003599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.