variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, level, ts, lat
Sensor: evaporation | fields: reading, lat, unit, type
Task: Fetch reading from cloud_cover where depth is greater than the count of of value in evaporation for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000700 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, lon, ts, value
Sensor: sunlight | fields: unit, type, reading, depth
Task: Retrieve level from frost that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000701 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: depth, level, value, unit
Sensor: snow_depth | fields: depth, unit, qc, ts
Task: Get level from wind_speed where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000702 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, unit, qc, lat
Sensor: lightning | fields: unit, depth, ts, value
Task: Fetch level from sunlight where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000703 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lon, type, depth, unit
Sensor: visibility | fields: unit, type, depth, ts
Task: Fetch level from rainfall where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000704 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, unit, depth, qc
Sensor: evaporation | fields: unit, lon, level, lat
Task: Get depth from soil_moisture where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000705 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, reading, value
Sensor: wind_speed | fields: qc, type, lon, level
Task: Fetch depth from snow_depth where type exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000706 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, ts, value, lon
Sensor: cloud_cover | fields: type, depth, lat, value
Task: Fetch lon from rainfall that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000707 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, unit, type, lat
Sensor: turbidity | fields: unit, level, lon, value
Task: Retrieve level from sunlight with depth above the COUNT(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000708 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, lat, reading
Sensor: soil_moisture | fields: ts, type, level, value
Task: Retrieve lat from rainfall that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000709 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, level, type, value
Sensor: pressure | fields: qc, level, value, unit
Task: Retrieve value from cloud_cover whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000710 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: ts, unit, lat, value
Sensor: turbidity | fields: depth, unit, value, lat
Task: Get value from humidity where value exceeds the count of depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000711 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: lat, qc, reading, unit
Sensor: drought_index | fields: ts, level, lat, qc
Task: Fetch reading from dew_point that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000712 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: lat, depth, qc, value
Sensor: visibility | fields: value, reading, unit, lat
Task: Get lon from air_quality where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000713 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, depth, type, qc
Sensor: snow_depth | fields: qc, lon, reading, unit
Task: Retrieve reading from drought_index whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000714 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, value, lon, lat
Sensor: visibility | fields: unit, reading, ts, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000715 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, reading, qc, lon
Sensor: lightning | fields: unit, depth, level, lat
Task: Retrieve lat from pressure whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000716 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: qc, ts, lat, level
Sensor: humidity | fields: ts, lat, lon, type
Task: Retrieve reading from visibility that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000717 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, depth, qc, lon
Sensor: soil_moisture | fields: qc, reading, value, lon
Task: Fetch level from visibility that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000718 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: lat, qc, lon, type
Sensor: humidity | fields: qc, value, ts, level
Task: Retrieve reading from uv_index whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000719 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, type, value, qc
Sensor: soil_moisture | fields: depth, lat, unit, reading
Task: Get reading from drought_index where value exceeds the maximum reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000720 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: depth, unit, lat, type
Sensor: drought_index | fields: level, type, qc, depth
Task: Get reading from pressure where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000721 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, type, unit, lat
Sensor: sunlight | fields: reading, lon, level, type
Task: Get value from snow_depth where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000722 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: unit, qc, depth, ts
Sensor: humidity | fields: lat, level, qc, depth
Task: Get depth from frost where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000723 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: value, qc, unit, level
Sensor: evaporation | fields: level, lon, type, unit
Task: Retrieve depth from temperature whose unit is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000724 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: reading, level, unit, value
Sensor: soil_moisture | fields: reading, qc, unit, type
Task: Fetch level from visibility where value is greater than the average of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000725 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, type, lat, unit
Sensor: pressure | fields: lat, unit, level, ts
Task: Get value from turbidity where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000726 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, depth, ts, lat
Sensor: wind_speed | fields: qc, type, lat, unit
Task: Fetch lon from snow_depth that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000727 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, qc, ts, type
Sensor: visibility | fields: lon, type, ts, unit
Task: Get value from humidity where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000728 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, unit, qc, type
Sensor: pressure | fields: reading, value, lat, ts
Task: Retrieve value from turbidity whose type is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000729 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, unit, value, lat
Sensor: uv_index | fields: qc, unit, level, depth
Task: Retrieve depth from wind_speed that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000730 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, lat, unit, type
Sensor: frost | fields: depth, qc, reading, level
Task: Fetch reading from visibility where qc exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000731 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: ts, depth, level, lon
Sensor: visibility | fields: value, unit, lon, depth
Task: Get lon from wind_speed where ts appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000732 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, value, lat, reading
Sensor: frost | fields: qc, ts, reading, depth
Task: Get lon from sunlight where unit appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000733 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: unit, type, qc, reading
Sensor: sunlight | fields: lat, depth, value, unit
Task: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000734 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, lat, level, unit
Sensor: rainfall | fields: type, value, depth, ts
Task: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000735 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, reading, level, lat
Sensor: snow_depth | fields: value, level, lat, unit
Task: Get value from soil_moisture where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000736 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, reading, qc, level
Sensor: temperature | fields: ts, depth, lon, qc
Task: Fetch value from snow_depth where reading is greater than the average of reading in temperature for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000737 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, unit, lat, type
Sensor: evaporation | fields: level, ts, type, depth
Task: Retrieve level from uv_index that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000738 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, ts, qc, lat
Sensor: uv_index | fields: ts, level, lat, lon
Task: Get depth from humidity where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000739 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, lat, ts, unit
Sensor: drought_index | fields: value, reading, ts, qc
Task: Fetch value from pressure that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000740 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: value, level, depth, lon
Sensor: turbidity | fields: value, depth, type, unit
Task: Fetch value from rainfall where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000741 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, level, unit, lat
Sensor: soil_moisture | fields: lon, type, ts, level
Task: Retrieve lon from dew_point that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000742 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, unit, qc, depth
Sensor: temperature | fields: lat, level, type, depth
Task: Fetch lat from rainfall that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000743 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, type, level, value
Sensor: soil_moisture | fields: depth, qc, value, ts
Task: Get level from cloud_cover where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000744 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lon, ts, lat
Sensor: humidity | fields: lat, type, unit, ts
Task: Get level from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000745 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, qc, level, lon
Sensor: temperature | fields: lat, unit, qc, level
Task: Fetch level from rainfall that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000746 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: reading, value, ts, depth
Sensor: snow_depth | fields: reading, lat, lon, unit
Task: Retrieve value from air_quality whose depth is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000747 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, ts, reading, value
Sensor: cloud_cover | fields: level, depth, type, ts
Task: Get value from wind_speed where depth exceeds the total reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000748 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: reading, qc, type, level
Sensor: rainfall | fields: lon, lat, ts, qc
Task: Retrieve lon from turbidity whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000749 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, value, lat, depth
Sensor: uv_index | fields: level, ts, reading, depth
Task: Retrieve lat from frost with value above the COUNT(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000750 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: lon, qc, ts, unit
Sensor: wind_speed | fields: ts, reading, qc, lat
Task: Get lon from temperature where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000751 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, lat, value, type
Sensor: wind_speed | fields: unit, type, reading, value
Task: Retrieve reading from soil_moisture with depth above the MIN(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000752 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: value, lon, level, ts
Sensor: soil_moisture | fields: lon, reading, value, ts
Task: Retrieve lon from drought_index that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000753 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: value, reading, lat, ts
Sensor: snow_depth | fields: lat, lon, ts, type
Task: Retrieve lat from sunlight that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000754 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, qc, unit, ts
Sensor: soil_moisture | fields: unit, lon, reading, ts
Task: Get value from uv_index where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000755 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, reading, level, qc
Sensor: rainfall | fields: type, level, qc, value
Task: Get lon from drought_index where value exceeds the minimum value from rainfall for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"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_000756 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, ts, value, reading
Sensor: humidity | fields: lat, reading, type, qc
Task: Retrieve value from wind_speed whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000757 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, reading, qc
Sensor: turbidity | fields: ts, value, lon, depth
Task: Get level from rainfall where depth exceeds the count of reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000758 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: qc, lat, value, lon
Sensor: pressure | fields: level, qc, lon, ts
Task: Retrieve reading from lightning whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000759 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, type, depth, reading
Sensor: evaporation | fields: level, reading, lat, lon
Task: Get lat from temperature where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000760 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, lon, lat, unit
Sensor: lightning | fields: lat, reading, value, type
Task: Retrieve level from turbidity with reading above the MAX(depth) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"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_000761 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, reading, type, value
Sensor: cloud_cover | fields: lat, value, ts, depth
Task: Fetch lat from wind_speed where value is greater than the minimum of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000762 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, unit, ts
Sensor: uv_index | fields: lat, value, ts, depth
Task: Fetch reading from temperature where depth is greater than the count of of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000763 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, qc, ts, value
Sensor: rainfall | fields: type, depth, lat, level
Task: Fetch lat from temperature where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000764 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, type, value, depth
Sensor: air_quality | fields: ts, depth, lon, type
Task: Retrieve lat from sunlight with reading above the COUNT(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000765 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: type, qc, unit, ts
Sensor: evaporation | fields: depth, ts, value, lon
Task: Fetch lat from drought_index that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000766 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, unit, value, level
Sensor: drought_index | fields: qc, lon, type, reading
Task: Get lat from wind_speed where reading exceeds the average depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000767 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, unit, ts
Sensor: turbidity | fields: qc, depth, type, value
Task: Get value from evaporation where value exceeds the count of reading from turbidity for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000768 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, unit, lon, ts
Sensor: wind_speed | fields: depth, lat, value, qc
Task: Retrieve lon from soil_moisture whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000769 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, reading, value, ts
Sensor: soil_moisture | fields: level, reading, value, lat
Task: Fetch depth from uv_index where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000770 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, lon, level
Sensor: wind_speed | fields: unit, level, ts, reading
Task: Retrieve value from visibility with depth above the MAX(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000771 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, unit, value, lat
Sensor: wind_speed | fields: reading, type, value, ts
Task: Retrieve depth from dew_point whose qc is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000772 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, depth, lon, level
Sensor: sunlight | fields: lon, value, reading, qc
Task: Fetch value from soil_moisture where unit exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000773 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, unit, ts, lon
Sensor: soil_moisture | fields: value, reading, level, ts
Task: Retrieve value from cloud_cover whose depth is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000774 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lon, lat, unit
Sensor: rainfall | fields: depth, lon, type, level
Task: Retrieve level from snow_depth whose ts is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000775 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: qc, type, lat, lon
Sensor: turbidity | fields: type, unit, qc, depth
Task: Fetch depth from uv_index that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000776 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: reading, level, depth, lat
Sensor: dew_point | fields: qc, value, level, lat
Task: Fetch depth from temperature where value is greater than the minimum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000777 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, lat, lon, level
Sensor: turbidity | fields: type, lat, lon, ts
Task: Get reading from drought_index where depth exceeds the total depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000778 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: qc, depth, lon, ts
Sensor: wind_speed | fields: lon, depth, level, unit
Task: Fetch reading from temperature where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000779 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lat, qc, lon
Sensor: cloud_cover | fields: reading, level, unit, lat
Task: Retrieve depth from dew_point that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000780 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, reading, lon, lat
Sensor: dew_point | fields: value, type, reading, qc
Task: Retrieve lon from cloud_cover with reading above the AVG(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"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_000781 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, value, type, lon
Sensor: visibility | fields: lat, type, reading, unit
Task: Fetch lat from snow_depth that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000782 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, type, unit, level
Sensor: dew_point | fields: lat, value, reading, depth
Task: Fetch level from cloud_cover where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000783 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, type, depth, reading
Sensor: air_quality | fields: lon, reading, type, qc
Task: Fetch lat from turbidity where value is greater than the total of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000784 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: lat, qc, value, reading
Sensor: turbidity | fields: level, value, reading, qc
Task: Get level from dew_point where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000785 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, lat, lon, unit
Sensor: drought_index | fields: value, lat, type, reading
Task: Get value from snow_depth where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000786 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, type, lat, qc
Sensor: visibility | fields: unit, reading, lon, level
Task: Fetch level from drought_index where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000787 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, qc, reading, lat
Sensor: dew_point | fields: level, type, lat, value
Task: Retrieve lat from sunlight with value above the COUNT(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000788 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: unit, lat, depth, lon
Sensor: drought_index | fields: value, ts, reading, lon
Task: Fetch depth from temperature where depth is greater than the average of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000789 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, lon, level, type
Sensor: cloud_cover | fields: type, level, qc, lat
Task: Retrieve depth from soil_moisture whose unit is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000790 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, value, unit, type
Sensor: air_quality | fields: unit, lon, depth, value
Task: Retrieve reading from humidity that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000791 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: reading, type, lat, ts
Sensor: uv_index | fields: ts, lat, value, reading
Task: Fetch reading from dew_point where qc exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000792 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: lat, ts, depth, qc
Sensor: pressure | fields: depth, lat, level, qc
Task: Retrieve reading from turbidity with value above the COUNT(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000793 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, depth, lon, level
Sensor: cloud_cover | fields: value, unit, level, qc
Task: Get value from drought_index where qc appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000794 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, lon, type, value
Sensor: lightning | fields: depth, type, value, lon
Task: Fetch depth from cloud_cover that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000795 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: value, depth, qc, ts
Sensor: lightning | fields: lon, depth, unit, reading
Task: Fetch lon from humidity where reading is greater than the average of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000796 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: lat, unit, depth, reading
Sensor: lightning | fields: value, lat, depth, level
Task: Retrieve lon from evaporation whose qc is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000797 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, reading, qc, type
Sensor: temperature | fields: type, lat, reading, level
Task: Retrieve lon from uv_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000798 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: reading, lat, ts, qc
Sensor: air_quality | fields: value, lon, reading, lat
Task: Get lon from drought_index where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.