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: drought_index | code: gst | fields: level, value, qc, ts
Sensor: frost | fields: level, unit, depth, qc
Task: Get lon from drought_index where ts appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022700 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: unit, reading, qc, level
Sensor: pressure | fields: ts, lon, qc, type
Task: Fetch reading from dew_point where qc exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022701 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, qc, unit, reading
Sensor: frost | fields: unit, qc, lat, lon
Task: Fetch value from visibility that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022702 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, type, reading, unit
Sensor: drought_index | fields: lon, unit, type, depth
Task: Fetch value from humidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022703 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, depth, lon, type
Sensor: air_quality | fields: level, depth, qc, value
Task: Retrieve value from drought_index with depth above the COUNT(reading) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022704 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, depth, type, unit
Sensor: drought_index | fields: depth, value, level, ts
Task: Get reading from frost where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022705 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, lat, ts, lon
Sensor: rainfall | fields: lat, reading, lon, type
Task: Retrieve lon from humidity that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022706 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, qc, depth, level
Sensor: temperature | fields: lat, depth, ts, value
Task: Fetch depth from wind_speed where reading is greater than the average of value in temperature for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022707 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, lat, type, reading
Sensor: cloud_cover | fields: lat, level, unit, type
Task: Retrieve reading from dew_point with reading above the MIN(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022708 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, qc, type, unit
Sensor: sunlight | fields: lon, reading, depth, lat
Task: Fetch lat from snow_depth where reading is greater than the maximum of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022709 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, type, reading, qc
Sensor: air_quality | fields: level, unit, value, reading
Task: Fetch level from temperature that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022710 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lon, value, reading, level
Sensor: rainfall | fields: level, value, reading, lat
Task: Fetch lat from visibility where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022711 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: unit, level, ts, type
Sensor: temperature | fields: ts, qc, type, lon
Task: Fetch level from sunlight that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022712 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, depth, lon
Sensor: turbidity | fields: level, type, lat, reading
Task: Retrieve value from snow_depth with depth above the SUM(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022713 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, lat, qc, reading
Sensor: sunlight | fields: qc, value, level, depth
Task: Fetch reading from humidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022714 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lon, lat, reading, depth
Sensor: drought_index | fields: depth, lon, reading, value
Task: Fetch reading from dew_point where reading is greater than the count of of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022715 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, lon, reading, type
Sensor: rainfall | fields: value, type, unit, ts
Task: Fetch depth from pressure where reading is greater than the average of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022716 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: lat, unit, ts, depth
Sensor: frost | fields: depth, reading, lat, type
Task: Retrieve reading from drought_index that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022717 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, lon, depth
Sensor: sunlight | fields: level, ts, depth, lon
Task: Fetch lat from uv_index that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022718 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lon, level, type, lat
Sensor: sunlight | fields: ts, unit, qc, level
Task: Fetch value from visibility that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022719 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lon, unit, level
Sensor: frost | fields: level, depth, value, lon
Task: Get lat from visibility where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022720 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, value, qc, reading
Sensor: snow_depth | fields: type, value, level, lon
Task: Retrieve level from temperature whose qc is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022721 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, lat, lon, level
Sensor: lightning | fields: depth, reading, lat, unit
Task: Get lon from cloud_cover where reading exceeds the minimum depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022722 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: ts, depth, lon, level
Sensor: soil_moisture | fields: lon, unit, value, depth
Task: Fetch depth from turbidity where reading is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022723 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: ts, lat, qc, unit
Sensor: wind_speed | fields: qc, value, reading, ts
Task: Fetch value from lightning where value is greater than the maximum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022724 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: level, unit, lat, qc
Sensor: wind_speed | fields: unit, level, depth, type
Task: Get value from temperature where reading exceeds the count of value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022725 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: type, lon, reading, value
Sensor: turbidity | fields: unit, reading, ts, qc
Task: Fetch reading from frost where depth is greater than the maximum of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022726 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: value, reading, type, ts
Sensor: humidity | fields: ts, unit, reading, qc
Task: Retrieve reading from rainfall whose ts is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022727 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: type, ts, lat, depth
Sensor: frost | fields: lon, ts, reading, qc
Task: Retrieve value from temperature that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022728 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, type, depth, value
Sensor: dew_point | fields: ts, level, type, value
Task: Retrieve value from pressure that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022729 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: ts, lat, level, qc
Sensor: frost | fields: unit, depth, reading, type
Task: Get level from drought_index where reading exceeds the count of value from frost for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022730 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, level, qc, ts
Sensor: snow_depth | fields: depth, lon, lat, reading
Task: Fetch level from uv_index that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022731 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, type, unit, value
Sensor: turbidity | fields: unit, lon, lat, qc
Task: Get value from rainfall where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022732 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, type, depth, lat
Sensor: lightning | fields: lon, level, depth, value
Task: Retrieve lat from turbidity that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022733 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lon, depth, type, unit
Sensor: lightning | fields: type, lat, reading, level
Task: Get level from temperature where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022734 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, reading, lon, value
Sensor: humidity | fields: lon, unit, value, depth
Task: Retrieve reading from wind_speed whose type is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022735 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, lat, unit, type
Sensor: drought_index | fields: unit, lon, type, level
Task: Retrieve lat from sunlight with depth above the MAX(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022736 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: type, qc, reading, lon
Sensor: soil_moisture | fields: level, reading, lon, unit
Task: Get lon from pressure where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022737 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, reading, type, value
Sensor: lightning | fields: ts, value, unit, lat
Task: Fetch value from evaporation that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022738 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: reading, ts, lon, depth
Sensor: evaporation | fields: lon, level, depth, value
Task: Retrieve value from lightning that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022739 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lat, type, level, qc
Sensor: rainfall | fields: lat, lon, value, qc
Task: Get value from dew_point where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022740 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: type, lat, level, ts
Sensor: pressure | fields: qc, type, ts, level
Task: Get lon from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022741 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, unit, level, value
Sensor: soil_moisture | fields: ts, lat, type, qc
Task: Get lon from cloud_cover where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022742 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, level, type, reading
Sensor: lightning | fields: lat, type, reading, depth
Task: Get lon from cloud_cover where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022743 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, reading, value, lat
Sensor: turbidity | fields: depth, lat, type, qc
Task: Get value from uv_index where type appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022744 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, value, lon
Sensor: dew_point | fields: reading, lat, unit, depth
Task: Retrieve reading from uv_index whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022745 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: ts, level, qc, unit
Sensor: frost | fields: lon, type, level, lat
Task: Fetch value from turbidity that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022746 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, value, type, qc
Sensor: uv_index | fields: depth, ts, lon, value
Task: Retrieve value from rainfall whose qc is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022747 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lon, reading, value
Sensor: lightning | fields: depth, value, qc, lat
Task: Get reading from evaporation where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022748 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, depth, reading, value
Sensor: visibility | fields: depth, lon, qc, ts
Task: Fetch lon from humidity where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022749 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, lat, reading, unit
Sensor: wind_speed | fields: depth, level, lat, qc
Task: Get lat from dew_point where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022750 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, level, type, reading
Sensor: temperature | fields: ts, lon, qc, depth
Task: Retrieve lat from visibility with reading above the AVG(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022751 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, qc, lat, lon
Sensor: uv_index | fields: level, qc, reading, value
Task: Get lat from visibility where value exceeds the count of value from uv_index for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022752 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: depth, lon, lat, ts
Sensor: drought_index | fields: lat, level, reading, depth
Task: Fetch lat from frost that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022753 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, type, lon, unit
Sensor: humidity | fields: lat, value, depth, reading
Task: Retrieve lat from pressure that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022754 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lon, value, depth
Sensor: drought_index | fields: depth, lon, unit, value
Task: Get reading from soil_moisture where depth appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022755 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, type, depth, level
Sensor: visibility | fields: reading, unit, lat, level
Task: Get depth from soil_moisture where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022756 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: qc, type, value, depth
Sensor: frost | fields: qc, ts, depth, lat
Task: Retrieve level from visibility with value above the MIN(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022757 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, qc, lat, type
Sensor: wind_speed | fields: lon, unit, reading, depth
Task: Fetch depth from pressure that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022758 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: qc, lat, depth, reading
Sensor: humidity | fields: unit, type, level, reading
Task: Retrieve value from sunlight that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022759 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lon, lat, depth, type
Sensor: evaporation | fields: reading, ts, qc, value
Task: Retrieve value from temperature that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022760 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, lat, unit, type
Sensor: evaporation | fields: ts, lon, unit, type
Task: Get lat from humidity where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022761 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: qc, reading, depth, unit
Sensor: pressure | fields: type, lat, depth, ts
Task: Get reading from sunlight where type appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022762 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: depth, ts, value, lat
Sensor: temperature | fields: value, qc, lat, unit
Task: Fetch value from lightning where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022763 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, reading, depth, value
Sensor: visibility | fields: lat, level, type, ts
Task: Get lat from frost where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022764 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, value, unit, lon
Sensor: wind_speed | fields: reading, depth, value, unit
Task: Fetch value from sunlight where depth is greater than the minimum of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022765 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, ts, depth, qc
Sensor: cloud_cover | fields: type, depth, reading, lon
Task: Get level from lightning where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022766 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lat, unit, type
Sensor: cloud_cover | fields: ts, lat, qc, reading
Task: Retrieve lat from turbidity whose ts is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022767 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: ts, type, level, qc
Sensor: air_quality | fields: unit, lat, value, ts
Task: Fetch lat from pressure where reading is greater than the average of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022768 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, ts, lat, depth
Sensor: drought_index | fields: depth, qc, lon, level
Task: Fetch lat from cloud_cover where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022769 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: qc, depth, reading, type
Sensor: pressure | fields: depth, reading, type, ts
Task: Retrieve level from evaporation that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022770 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: level, type, depth, lon
Sensor: turbidity | fields: qc, value, lon, depth
Task: Retrieve value from frost with reading above the COUNT(reading) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"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_022771 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: ts, lat, level, reading
Sensor: temperature | fields: level, qc, depth, type
Task: Get reading from uv_index where type appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022772 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, unit, lon, value
Sensor: lightning | fields: depth, value, lat, level
Task: Fetch lon from wind_speed where reading is greater than the minimum of value in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022773 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, type, depth, reading
Sensor: visibility | fields: unit, lon, depth, qc
Task: Get level from dew_point where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022774 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, lon, level, type
Sensor: sunlight | fields: depth, value, reading, level
Task: Retrieve lat from lightning whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022775 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, depth, reading, lon
Sensor: wind_speed | fields: type, depth, unit, lon
Task: Get reading from dew_point where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022776 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, lon, reading, level
Sensor: frost | fields: type, lon, unit, qc
Task: Get lon from visibility where depth exceeds the average reading from frost for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022777 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, depth, lat, type
Sensor: snow_depth | fields: reading, qc, ts, level
Task: Fetch depth from turbidity where unit exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022778 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, value, lat, reading
Sensor: temperature | fields: unit, type, ts, lon
Task: Fetch lon from drought_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022779 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, lat, unit, qc
Sensor: wind_speed | fields: level, depth, unit, qc
Task: Fetch level from drought_index where depth is greater than the minimum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022780 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, type, reading, value
Sensor: sunlight | fields: reading, type, ts, level
Task: Get depth from humidity where depth exceeds the total depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022781 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lat, qc, value, unit
Sensor: turbidity | fields: lat, type, depth, qc
Task: Fetch reading from dew_point where depth is greater than the total of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022782 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, ts, depth, value
Sensor: lightning | fields: unit, reading, level, ts
Task: Retrieve level from turbidity with reading above the AVG(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022783 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, reading, lon, qc
Sensor: cloud_cover | fields: depth, type, lat, level
Task: Retrieve level from dew_point whose ts is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022784 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, depth, reading, qc
Sensor: visibility | fields: unit, ts, type, depth
Task: Retrieve level from pressure that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022785 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, ts, lat, unit
Sensor: temperature | fields: reading, lat, ts, level
Task: Retrieve lon from soil_moisture whose qc is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022786 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, reading, unit, lon
Sensor: visibility | fields: lon, lat, level, value
Task: Get lon from soil_moisture where reading exceeds the count of reading from visibility for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022787 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lon, lat, ts
Sensor: drought_index | fields: ts, level, value, lon
Task: Retrieve reading from turbidity with reading above the MIN(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022788 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, ts, depth, unit
Sensor: pressure | fields: unit, reading, value, lon
Task: Retrieve level from lightning whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022789 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, level, value, lat
Sensor: dew_point | fields: qc, lat, depth, type
Task: Get lon from snow_depth where depth exceeds the total reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022790 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, type, level, reading
Sensor: sunlight | fields: reading, type, depth, qc
Task: Fetch lon from lightning that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022791 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, value, level, unit
Sensor: rainfall | fields: value, qc, unit, lat
Task: Get reading from temperature where depth exceeds the total value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022792 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, value, depth, level
Sensor: visibility | fields: depth, qc, unit, type
Task: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_022793 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: ts, reading, lon, value
Sensor: frost | fields: unit, type, value, lon
Task: Fetch reading from temperature where value is greater than the minimum of value in frost for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022794 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, reading, lat, level
Sensor: humidity | fields: value, lon, reading, qc
Task: Get lat from dew_point where depth appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022795 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: depth, lat, type, ts
Sensor: turbidity | fields: lat, depth, reading, level
Task: Fetch level from pressure where value is greater than the minimum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022796 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, qc, ts, lon
Sensor: cloud_cover | fields: depth, lat, type, level
Task: Retrieve reading from pressure with reading above the COUNT(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022797 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: reading, lat, value, ts
Sensor: sunlight | fields: ts, unit, type, level
Task: Get lat from drought_index where unit appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022798 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: depth, value, type, level
Sensor: uv_index | fields: depth, lon, type, ts
Task: Get depth from lightning where depth exceeds the average value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_022799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.