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: evaporation | code: prt | fields: lon, reading, qc, depth
Sensor: frost | fields: reading, unit, level, value
Task: Get level from evaporation where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071500 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, level, depth, unit
Sensor: frost | fields: level, lat, lon, qc
Task: Fetch level from pressure where unit exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071501 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, value, level, type
Sensor: rainfall | fields: lat, lon, unit, reading
Task: Retrieve depth from dew_point whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071502 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, value, level, ts
Sensor: drought_index | fields: type, value, qc, lat
Task: Retrieve value from sunlight whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071503 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, type, lat, level
Sensor: rainfall | fields: value, reading, type, level
Task: Get reading from soil_moisture where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071504 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, type, lon, ts
Sensor: humidity | fields: reading, qc, lon, level
Task: Fetch reading from evaporation where depth is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071505 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, depth, qc, type
Sensor: air_quality | fields: lat, qc, reading, ts
Task: Retrieve lat from rainfall whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071506 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: depth, unit, ts, reading
Sensor: uv_index | fields: unit, lon, value, ts
Task: Retrieve lat from dew_point with reading above the SUM(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071507 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, type, lat, lon
Sensor: pressure | fields: reading, qc, type, level
Task: Get lat from turbidity where reading exceeds the count of reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071508 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: lat, reading, value, unit
Sensor: turbidity | fields: lon, unit, level, type
Task: Get value from frost where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071509 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, reading, lon, level
Sensor: pressure | fields: reading, lat, value, level
Task: Get lon from cloud_cover where value exceeds the maximum depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071510 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: qc, ts, type, unit
Sensor: cloud_cover | fields: reading, value, lon, ts
Task: Fetch lat from frost where depth is greater than the minimum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071511 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, unit, value, ts
Sensor: snow_depth | fields: ts, lat, unit, value
Task: Get depth from lightning where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071512 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: unit, depth, lon, ts
Sensor: evaporation | fields: type, depth, qc, value
Task: Retrieve lat from rainfall with reading above the AVG(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071513 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, qc, depth, unit
Sensor: drought_index | fields: level, lat, qc, lon
Task: Get depth from rainfall where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071514 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: reading, level, value, qc
Sensor: turbidity | fields: unit, lon, depth, value
Task: Retrieve level from dew_point that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071515 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: reading, level, depth, qc
Sensor: soil_moisture | fields: value, type, level, depth
Task: Get value from visibility where depth exceeds the maximum value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071516 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, ts, reading, type
Sensor: visibility | fields: unit, ts, lon, level
Task: Retrieve value from soil_moisture whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071517 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: level, type, lat, value
Sensor: uv_index | fields: reading, depth, lat, level
Task: Get reading from humidity where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071518 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, depth, reading, lat
Sensor: pressure | fields: lon, level, depth, value
Task: Fetch lon from rainfall that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071519 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, lon, level, value
Sensor: cloud_cover | fields: lon, depth, unit, type
Task: Get lon from wind_speed where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071520 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, lon, level, value
Sensor: snow_depth | fields: qc, level, unit, reading
Task: Fetch lon from visibility where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071521 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, lat, level, ts
Sensor: dew_point | fields: lon, reading, qc, depth
Task: Fetch value from soil_moisture where value is greater than the minimum of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071522 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: value, ts, reading, type
Sensor: frost | fields: depth, type, ts, reading
Task: Retrieve level from lightning whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071523 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, level, value, lon
Sensor: turbidity | fields: lon, lat, value, unit
Task: Get level from uv_index where unit appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071524 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, ts, qc, level
Sensor: visibility | fields: lat, value, level, reading
Task: Fetch value from turbidity where value is greater than the average of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071525 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, lat, ts, reading
Sensor: wind_speed | fields: ts, unit, depth, lon
Task: Get value from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071526 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, value, unit, ts
Sensor: air_quality | fields: level, unit, ts, lon
Task: Retrieve lon from uv_index whose qc is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071527 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, reading, type, value
Sensor: cloud_cover | fields: unit, depth, qc, reading
Task: Retrieve value from wind_speed whose qc is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071528 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: value, level, type, ts
Sensor: temperature | fields: lon, unit, lat, qc
Task: Get value from turbidity where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071529 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, type, value, ts
Sensor: snow_depth | fields: value, unit, lat, lon
Task: Retrieve lat from lightning whose qc is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071530 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, type, value, unit
Sensor: turbidity | fields: reading, unit, qc, lon
Task: Retrieve lat from pressure that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071531 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, ts, reading, lat
Sensor: rainfall | fields: value, unit, ts, lat
Task: Get level from soil_moisture where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071532 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lon, ts, unit
Sensor: rainfall | fields: depth, qc, level, value
Task: Fetch reading from dew_point where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071533 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, value, level, unit
Sensor: air_quality | fields: unit, reading, lat, lon
Task: Get lat from soil_moisture where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071534 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lat, reading, lon, ts
Sensor: drought_index | fields: lon, reading, unit, level
Task: Retrieve level from humidity that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071535 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: qc, reading, unit, lon
Sensor: soil_moisture | fields: lat, type, unit, reading
Task: Fetch reading from lightning that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071536 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, level, qc, lat
Sensor: turbidity | fields: depth, unit, type, lon
Task: Fetch depth from visibility where depth is greater than the count of of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071537 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, level, lon, lat
Sensor: rainfall | fields: lat, type, lon, depth
Task: Retrieve value from visibility with reading above the COUNT(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"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_071538 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: depth, ts, lat, lon
Sensor: humidity | fields: depth, reading, lon, qc
Task: Retrieve level from lightning with reading above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071539 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, unit, lon
Sensor: turbidity | fields: type, lon, level, depth
Task: Retrieve level from rainfall with reading above the COUNT(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071540 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, lat, level, reading
Sensor: sunlight | fields: ts, value, depth, lon
Task: Fetch reading from pressure where reading is greater than the average of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071541 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, depth, ts, lon
Sensor: cloud_cover | fields: type, depth, level, unit
Task: Get value from uv_index where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071542 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, depth, qc, ts
Sensor: evaporation | fields: level, value, type, unit
Task: Retrieve lat from pressure with reading above the COUNT(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071543 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: depth, lat, lon, reading
Sensor: uv_index | fields: unit, type, depth, ts
Task: Fetch depth from lightning that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071544 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: qc, value, lon, ts
Sensor: visibility | fields: depth, unit, level, value
Task: Get value from sunlight where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071545 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, depth, value, reading
Sensor: air_quality | fields: lat, type, depth, qc
Task: Fetch depth from snow_depth where depth is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071546 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, type, qc, lon
Sensor: sunlight | fields: qc, lat, depth, unit
Task: Get depth from air_quality where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071547 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, lat, depth, level
Sensor: rainfall | fields: lat, depth, value, type
Task: Get level from temperature where value exceeds the maximum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071548 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, qc, lat
Sensor: sunlight | fields: value, lat, ts, reading
Task: Fetch value from humidity where depth is greater than the total of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071549 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, value, lon
Sensor: drought_index | fields: unit, type, qc, lat
Task: Fetch lat from sunlight that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071550 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, qc, ts, depth
Sensor: air_quality | fields: qc, reading, type, lon
Task: Get value from cloud_cover where reading exceeds the total reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071551 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, level, reading, depth
Sensor: drought_index | fields: reading, qc, depth, level
Task: Fetch value from wind_speed where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071552 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: lat, level, value, unit
Sensor: air_quality | fields: qc, depth, ts, lon
Task: Get lon from dew_point where unit appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071553 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: level, depth, lon, type
Sensor: humidity | fields: level, value, ts, lat
Task: Get lat from dew_point where reading exceeds the count of reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071554 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, level, ts, reading
Sensor: turbidity | fields: reading, unit, qc, depth
Task: Retrieve value from frost with depth above the MIN(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071555 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: qc, value, level, lat
Sensor: sunlight | fields: reading, lat, lon, ts
Task: Fetch lon from lightning where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071556 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, depth, value, level
Sensor: dew_point | fields: qc, level, lon, lat
Task: Get reading from pressure where depth appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071557 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, value, qc, reading
Sensor: evaporation | fields: level, ts, depth, lat
Task: Get depth from sunlight where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071558 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: reading, level, type, value
Sensor: pressure | fields: level, ts, unit, type
Task: Get value from visibility where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071559 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, ts, unit, lon
Sensor: dew_point | fields: depth, type, qc, lon
Task: Fetch value from soil_moisture where depth is greater than the maximum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071560 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, reading, lon, ts
Sensor: sunlight | fields: depth, ts, qc, type
Task: Fetch reading from air_quality where value is greater than the minimum of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071561 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: qc, ts, reading, lat
Sensor: sunlight | fields: depth, value, unit, type
Task: Retrieve depth from visibility with depth above the COUNT(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071562 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, value, level, unit
Sensor: humidity | fields: lat, reading, value, depth
Task: Retrieve depth from frost that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071563 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: level, qc, lon, ts
Sensor: temperature | fields: type, value, unit, ts
Task: Fetch depth from turbidity that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071564 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, lat, value, depth
Sensor: cloud_cover | fields: level, ts, lon, qc
Task: Fetch level from snow_depth that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071565 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lon, reading, unit, value
Sensor: soil_moisture | fields: ts, reading, lat, value
Task: Fetch lon from visibility where unit exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071566 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: type, unit, level, value
Sensor: cloud_cover | fields: qc, value, unit, lon
Task: Fetch level from snow_depth where depth is greater than the maximum of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"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_071567 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, qc, lon, unit
Sensor: wind_speed | fields: lon, depth, lat, qc
Task: Fetch depth from turbidity where reading is greater than the maximum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071568 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, level, unit, type
Sensor: rainfall | fields: ts, lon, depth, reading
Task: Retrieve level from uv_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071569 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, qc, lat, unit
Sensor: snow_depth | fields: qc, unit, lat, ts
Task: Fetch depth from evaporation where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071570 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, reading, qc, lon
Sensor: wind_speed | fields: qc, depth, level, lon
Task: Get lat from rainfall where reading exceeds the average reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071571 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, type, level, value
Sensor: air_quality | fields: value, lon, unit, type
Task: Retrieve lon from pressure that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071572 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: level, qc, reading, depth
Sensor: cloud_cover | fields: depth, value, ts, unit
Task: Get reading from wind_speed where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071573 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: ts, type, qc, lon
Sensor: frost | fields: lat, reading, unit, qc
Task: Fetch value from evaporation where value is greater than the average of value in frost for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071574 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, depth, value, type
Sensor: lightning | fields: level, unit, reading, qc
Task: Fetch lon from humidity where unit exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071575 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, qc, lon, type
Sensor: air_quality | fields: lon, ts, type, value
Task: Get depth from visibility where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071576 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: depth, lon, qc, value
Sensor: humidity | fields: level, reading, qc, ts
Task: Retrieve level from visibility that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071577 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: qc, unit, type, level
Sensor: humidity | fields: ts, lat, qc, level
Task: Get lat from pressure where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071578 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, unit, ts, qc
Sensor: pressure | fields: lon, depth, lat, qc
Task: Retrieve level from cloud_cover with reading above the AVG(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071579 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, reading, value, lat
Sensor: temperature | fields: reading, depth, lon, qc
Task: Get level from wind_speed where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071580 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: type, qc, reading, ts
Sensor: wind_speed | fields: type, lon, value, qc
Task: Fetch level from visibility where depth is greater than the minimum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071581 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, lon, qc, lat
Sensor: snow_depth | fields: level, reading, lat, depth
Task: Get reading from frost where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071582 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, lon, lat, value
Sensor: rainfall | fields: lon, qc, depth, reading
Task: Fetch level from humidity where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071583 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lat, value, reading
Sensor: humidity | fields: unit, lat, type, lon
Task: Fetch reading from soil_moisture where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071584 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, lat, level, ts
Sensor: dew_point | fields: lat, depth, unit, reading
Task: Fetch lon from frost that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071585 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, ts, unit, type
Sensor: pressure | fields: value, unit, type, lon
Task: Get depth from snow_depth where reading exceeds the maximum depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071586 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, level, lon, value
Sensor: temperature | fields: level, lat, reading, depth
Task: Fetch depth from snow_depth where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071587 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: unit, ts, lat, reading
Sensor: lightning | fields: unit, qc, depth, lon
Task: Get reading from humidity where reading exceeds the maximum depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071588 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, reading, depth, value
Sensor: drought_index | fields: level, lat, type, ts
Task: Fetch depth from uv_index where value is greater than the average of reading in drought_index for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071589 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, unit, reading, lat
Sensor: rainfall | fields: reading, lon, type, unit
Task: Retrieve lon from dew_point that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071590 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: value, lon, level, lat
Sensor: visibility | fields: depth, level, lon, unit
Task: Fetch level from evaporation where depth is greater than the maximum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071591 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, reading, value, qc
Sensor: cloud_cover | fields: value, lon, qc, level
Task: Fetch level from frost where type exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071592 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, qc, depth, reading
Sensor: drought_index | fields: level, reading, depth, qc
Task: Fetch lon from humidity where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071593 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: qc, type, lat, unit
Sensor: drought_index | fields: level, reading, lon, unit
Task: Get depth from air_quality where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071594 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lat, type, depth
Sensor: snow_depth | fields: type, level, ts, value
Task: Fetch depth from evaporation where ts exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071595 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, value, depth, reading
Sensor: sunlight | fields: lat, type, qc, depth
Task: Get lon from frost where unit appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071596 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: depth, reading, lat, ts
Sensor: uv_index | fields: qc, ts, lon, depth
Task: Get reading from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071597 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, ts, qc
Sensor: evaporation | fields: lon, depth, value, qc
Task: Fetch value from turbidity that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071598 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: reading, depth, ts, value
Sensor: humidity | fields: lon, level, type, ts
Task: Fetch value from wind_speed where value is greater than the count of of depth in humidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.