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: lightning | code: prt | fields: lat, depth, ts, type
Sensor: rainfall | fields: type, lon, level, lat
Task: Fetch level from lightning that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013300 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, ts, unit, qc
Sensor: sunlight | fields: lon, reading, qc, depth
Task: Get depth from uv_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013301 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: reading, depth, ts, type
Sensor: sunlight | fields: lon, type, qc, reading
Task: Retrieve lat from dew_point that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013302 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, level, qc, depth
Sensor: sunlight | fields: ts, lon, lat, value
Task: Retrieve reading from snow_depth whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013303 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lon, level, value, unit
Sensor: pressure | fields: lat, ts, unit, level
Task: Get level from frost where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013304 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, level, qc, unit
Sensor: snow_depth | fields: level, value, reading, unit
Task: Retrieve lon from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013305 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, level, lon, value
Sensor: snow_depth | fields: reading, unit, qc, lon
Task: Get depth from dew_point where ts appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013306 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: value, type, ts, unit
Sensor: temperature | fields: qc, lon, type, value
Task: Retrieve depth from dew_point that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013307 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, reading, lon, level
Sensor: sunlight | fields: depth, lat, level, unit
Task: Get lon from snow_depth where type appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013308 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lon, depth, value
Sensor: temperature | fields: lat, ts, unit, qc
Task: Fetch lat from cloud_cover where depth is greater than the maximum of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013309 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: lon, qc, unit, level
Sensor: humidity | fields: lon, ts, type, depth
Task: Fetch reading from air_quality where value is greater than the maximum of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013310 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, unit, value, ts
Sensor: lightning | fields: qc, value, ts, depth
Task: Get reading from turbidity where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013311 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: qc, level, depth, lat
Sensor: soil_moisture | fields: reading, value, type, qc
Task: Get level from pressure where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013312 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, level, qc, type
Sensor: rainfall | fields: unit, depth, type, ts
Task: Get lat from frost where reading exceeds the total reading from rainfall for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013313 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: lon, value, level, unit
Sensor: cloud_cover | fields: depth, unit, lon, type
Task: Get lat from air_quality where reading exceeds the count of value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013314 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, ts, type, value
Sensor: lightning | fields: level, type, lon, unit
Task: Get level from soil_moisture where reading exceeds the average reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013315 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, lat, type, lon
Sensor: humidity | fields: type, level, ts, depth
Task: Get reading from temperature where depth exceeds the minimum depth from humidity for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013316 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, qc, lat, depth
Sensor: turbidity | fields: lon, level, ts, qc
Task: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013317 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, type, qc, ts
Sensor: sunlight | fields: level, type, reading, ts
Task: Get value from cloud_cover where unit appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013318 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: unit, value, lat, depth
Sensor: pressure | fields: lat, unit, depth, value
Task: Get level from turbidity where depth exceeds the total value from pressure for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013319 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, lon, type
Sensor: sunlight | fields: type, depth, reading, lon
Task: Get reading from snow_depth where reading exceeds the count of value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013320 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: value, reading, qc, type
Sensor: drought_index | fields: qc, level, value, ts
Task: Fetch lat from frost where reading is greater than the minimum of depth in drought_index for matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013321 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: value, qc, reading, lat
Sensor: turbidity | fields: ts, lat, lon, reading
Task: Get value from drought_index where depth exceeds the total reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013322 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, level, type, lat
Sensor: dew_point | fields: lat, level, qc, value
Task: Get lon from temperature where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013323 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: qc, type, value, lon
Sensor: soil_moisture | fields: level, lon, type, qc
Task: Retrieve value from drought_index whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013324 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: ts, reading, type, depth
Sensor: lightning | fields: qc, unit, depth, ts
Task: Get depth from pressure where depth appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013325 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, lat, value, lon
Sensor: turbidity | fields: unit, ts, lon, level
Task: Retrieve value from drought_index that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013326 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, type, qc, reading
Sensor: snow_depth | fields: ts, type, qc, unit
Task: Get level from cloud_cover where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013327 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, depth, lon, reading
Sensor: temperature | fields: value, lon, lat, type
Task: Retrieve value from air_quality that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013328 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: type, reading, lat, unit
Sensor: dew_point | fields: value, lon, depth, reading
Task: Fetch level from drought_index where reading is greater than the count of of reading in dew_point for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013329 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, qc, lat, unit
Sensor: temperature | fields: depth, lat, value, reading
Task: Retrieve reading from soil_moisture whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013330 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, depth, value, ts
Sensor: temperature | fields: reading, unit, value, ts
Task: Get lat from air_quality where reading exceeds the maximum value from temperature for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013331 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, lon, reading, unit
Sensor: drought_index | fields: level, value, ts, qc
Task: Retrieve level from lightning whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013332 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, lat, reading, depth
Sensor: wind_speed | fields: reading, type, lat, qc
Task: Get lat from frost where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013333 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, unit, ts, value
Sensor: visibility | fields: level, lat, type, value
Task: Fetch lon from air_quality that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_013334 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: qc, lat, unit, reading
Sensor: uv_index | fields: ts, lon, value, level
Task: Get lat from snow_depth where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013335 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, value, ts, qc
Sensor: wind_speed | fields: unit, depth, ts, level
Task: Fetch level from turbidity where depth is greater than the total of depth in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013336 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lon, level, ts, type
Sensor: evaporation | fields: level, ts, type, unit
Task: Fetch lon from rainfall where reading is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013337 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lon, level, unit, type
Sensor: soil_moisture | fields: level, value, type, lat
Task: Fetch depth from rainfall that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013338 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, unit, level
Sensor: cloud_cover | fields: depth, lon, lat, ts
Task: Fetch reading from sunlight that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013339 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: qc, type, level, value
Sensor: sunlight | fields: depth, value, unit, lat
Task: Retrieve reading from dew_point whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013340 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lat, unit, depth, value
Sensor: lightning | fields: value, level, qc, depth
Task: Retrieve level from rainfall with value above the AVG(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013341 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: value, depth, type, lat
Sensor: pressure | fields: unit, type, level, lon
Task: Fetch lon from wind_speed where value is greater than the count of of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013342 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lon, unit, depth
Sensor: wind_speed | fields: reading, level, ts, value
Task: Fetch lon from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013343 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, lat, reading, ts
Sensor: cloud_cover | fields: ts, lon, value, reading
Task: Retrieve value from turbidity whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013344 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: value, unit, lon, level
Sensor: visibility | fields: level, lon, value, qc
Task: Retrieve level from air_quality whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013345 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, lon, value, lat
Sensor: soil_moisture | fields: level, lat, reading, qc
Task: Get value from uv_index where unit appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013346 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, unit, lat, reading
Sensor: soil_moisture | fields: ts, unit, lat, type
Task: Fetch depth from sunlight where ts exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013347 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, ts, reading, level
Sensor: air_quality | fields: unit, type, lat, qc
Task: Fetch depth from cloud_cover where type exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013348 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, ts, unit, qc
Sensor: dew_point | fields: unit, lon, type, lat
Task: Get reading from soil_moisture where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013349 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, value, unit, ts
Sensor: cloud_cover | fields: qc, type, value, lat
Task: Retrieve lon from wind_speed whose depth is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013350 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, ts, value, lon
Sensor: snow_depth | fields: reading, ts, qc, unit
Task: Get depth from wind_speed where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013351 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: depth, level, unit, reading
Sensor: uv_index | fields: ts, reading, value, depth
Task: Retrieve level from visibility that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013352 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: value, qc, unit, lat
Sensor: soil_moisture | fields: ts, qc, lat, level
Task: Retrieve lat from dew_point with depth above the AVG(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013353 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, unit, lat, level
Sensor: sunlight | fields: level, unit, type, ts
Task: Retrieve lat from visibility with value above the MIN(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013354 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, reading, level, qc
Sensor: drought_index | fields: unit, qc, lat, depth
Task: Get level from evaporation where ts appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013355 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: level, type, unit, depth
Sensor: lightning | fields: depth, unit, type, ts
Task: Retrieve level from frost whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013356 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, value, depth, level
Sensor: wind_speed | fields: level, type, qc, lat
Task: Get value from temperature where value exceeds the minimum reading from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013357 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, value, unit, depth
Sensor: air_quality | fields: lat, unit, value, level
Task: Get value from cloud_cover where value exceeds the maximum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013358 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, ts, qc, unit
Sensor: turbidity | fields: ts, level, unit, lat
Task: Retrieve reading from temperature that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013359 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, reading, ts, qc
Sensor: drought_index | fields: reading, ts, qc, unit
Task: Get reading from air_quality where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013360 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: type, value, unit, level
Sensor: humidity | fields: qc, depth, level, unit
Task: Fetch reading from visibility where reading is greater than the total of value in humidity for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013361 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: value, reading, lat, qc
Sensor: frost | fields: ts, reading, type, qc
Task: Get level from air_quality where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013362 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, level, type, depth
Sensor: dew_point | fields: lon, depth, level, type
Task: Get depth from frost where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013363 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lat, type, depth, level
Sensor: evaporation | fields: ts, qc, type, value
Task: Fetch depth from sunlight where unit exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013364 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, ts, qc, reading
Sensor: humidity | fields: type, unit, ts, level
Task: Retrieve lon from rainfall with value above the MAX(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013365 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, level, value, qc
Sensor: temperature | fields: ts, unit, reading, depth
Task: Retrieve reading from dew_point with value above the MAX(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013366 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, type, lon, value
Sensor: humidity | fields: ts, qc, type, lon
Task: Get reading from lightning where depth exceeds the total depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013367 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, ts, value, unit
Sensor: visibility | fields: lon, depth, type, ts
Task: Get value from snow_depth where depth exceeds the maximum reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013368 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lon, lat, depth, reading
Sensor: turbidity | fields: depth, ts, value, unit
Task: Retrieve lon from temperature with reading above the SUM(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013369 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lon, value, lat
Sensor: temperature | fields: lon, lat, level, depth
Task: Get reading from cloud_cover where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013370 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, ts, depth, lon
Sensor: cloud_cover | fields: lon, value, depth, lat
Task: Retrieve reading from dew_point whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013371 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, qc, reading, unit
Sensor: rainfall | fields: qc, ts, depth, lon
Task: Retrieve lon from snow_depth whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013372 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: unit, qc, lon, depth
Sensor: lightning | fields: value, lon, reading, ts
Task: Retrieve lat from air_quality that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013373 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, reading, lon, depth
Sensor: sunlight | fields: level, reading, value, lat
Task: Fetch lat from uv_index where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013374 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, lat, depth, qc
Sensor: evaporation | fields: type, unit, ts, depth
Task: Retrieve level from temperature whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013375 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: qc, level, lat, lon
Sensor: frost | fields: reading, unit, depth, type
Task: Fetch lon from air_quality where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013376 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, lat, value, ts
Sensor: soil_moisture | fields: reading, level, ts, depth
Task: Get lat from drought_index where ts appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013377 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, ts, depth, type
Sensor: wind_speed | fields: reading, depth, level, lat
Task: Get lat from evaporation where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013378 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, reading, qc, lat
Sensor: humidity | fields: depth, lat, level, qc
Task: Get lat from sunlight where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013379 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, type, level, qc
Sensor: lightning | fields: reading, unit, lon, level
Task: Retrieve depth from soil_moisture with depth above the AVG(depth) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013380 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, lat, value, lon
Sensor: turbidity | fields: depth, type, qc, ts
Task: Get reading from wind_speed where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013381 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, lat, ts, qc
Sensor: temperature | fields: ts, qc, type, unit
Task: Fetch depth from dew_point where value is greater than the total of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013382 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: lat, level, lon, type
Sensor: air_quality | fields: value, depth, ts, type
Task: Get lat from dew_point where qc appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013383 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, lon, unit, type
Sensor: wind_speed | fields: unit, value, lat, lon
Task: Retrieve depth from soil_moisture that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013384 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, reading, value, ts
Sensor: cloud_cover | fields: level, lat, lon, ts
Task: Fetch depth from turbidity where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013385 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, depth, ts, value
Sensor: snow_depth | fields: lat, ts, type, value
Task: Get depth from drought_index where value exceeds the average reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013386 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, depth, value, level
Sensor: wind_speed | fields: type, ts, qc, lon
Task: Get value from visibility where unit appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_013387 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, value, ts, qc
Sensor: lightning | fields: value, reading, ts, qc
Task: Get depth from frost where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013388 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: type, ts, unit, lat
Sensor: uv_index | fields: lon, ts, type, lat
Task: Retrieve reading from drought_index that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013389 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, value, unit, depth
Sensor: frost | fields: lon, value, level, type
Task: Fetch depth from dew_point where reading is greater than the average of value in frost for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013390 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, type, level, lat
Sensor: sunlight | fields: value, lon, type, qc
Task: Retrieve lat from cloud_cover that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013391 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, lat, reading, unit
Sensor: sunlight | fields: type, reading, unit, level
Task: Fetch value from turbidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013392 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: value, qc, level, reading
Sensor: pressure | fields: lat, unit, value, depth
Task: Get lat from frost where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013393 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, type, ts, value
Sensor: turbidity | fields: qc, type, lat, level
Task: Get value from dew_point where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013394 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, lat, value, type
Sensor: rainfall | fields: reading, ts, lon, qc
Task: Retrieve reading from snow_depth with value above the MAX(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013395 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, value, reading, unit
Sensor: cloud_cover | fields: qc, lat, unit, lon
Task: Retrieve depth from rainfall whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013396 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, unit, reading, value
Sensor: frost | fields: lon, unit, level, lat
Task: Fetch level from snow_depth where reading is greater than the maximum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013397 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, unit, type, reading
Sensor: rainfall | fields: depth, lat, unit, type
Task: Retrieve reading from sunlight that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013398 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, lon, unit, lat
Sensor: dew_point | fields: ts, level, type, unit
Task: Fetch level from soil_moisture where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_013399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.