variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: humidity | code: stn | fields: reading, ts, unit, lat
Sensor: wind_speed | fields: value, ts, level, type
Task: Get level from humidity where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057100 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, lon, lat, qc
Sensor: turbidity | fields: reading, lon, lat, level
Task: Get lon from rainfall where reading exceeds the maximum reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057101 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, unit, depth, type
Sensor: wind_speed | fields: depth, unit, ts, type
Task: Fetch lon from air_quality where value is greater than the average of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057102 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, lat, value, qc
Sensor: sunlight | fields: type, reading, lat, depth
Task: Fetch depth from humidity that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057103 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, lat, unit, value
Sensor: turbidity | fields: value, qc, ts, reading
Task: Fetch lat from evaporation where depth is greater than the average of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057104 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, lon, level, type
Sensor: humidity | fields: depth, lon, type, lat
Task: Get level from dew_point where qc appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057105 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lon, ts, lat
Sensor: frost | fields: value, lat, level, reading
Task: Get lat from snow_depth where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057106 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, value, qc, type
Sensor: cloud_cover | fields: ts, lat, qc, level
Task: Fetch reading from visibility where depth exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057107 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, type, ts, unit
Sensor: temperature | fields: reading, unit, depth, lon
Task: Retrieve reading from humidity that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057108 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lon, level, type, depth
Sensor: snow_depth | fields: reading, lat, value, type
Task: Get depth from visibility where ts appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057109 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, ts, depth, qc
Sensor: sunlight | fields: type, lat, ts, unit
Task: Retrieve lon from evaporation that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057110 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: lon, level, unit, ts
Sensor: uv_index | fields: ts, lon, level, unit
Task: Get value from dew_point where depth exceeds the total reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057111 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, qc, reading, lat
Sensor: snow_depth | fields: depth, qc, value, type
Task: Retrieve lon from cloud_cover with reading above the MIN(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057112 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, level, ts, lon
Sensor: uv_index | fields: lon, ts, qc, depth
Task: Retrieve lon from air_quality that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057113 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: value, level, reading, type
Sensor: frost | fields: lat, depth, lon, value
Task: Get depth from sunlight where reading exceeds the maximum reading from frost for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057114 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: depth, lat, value, unit
Sensor: humidity | fields: qc, level, lat, reading
Task: Retrieve lon from frost that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057115 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, type, reading, value
Sensor: pressure | fields: reading, ts, type, lon
Task: Get lat from snow_depth where reading exceeds the maximum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057116 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, ts, lat, value
Sensor: sunlight | fields: ts, reading, unit, qc
Task: Retrieve lon from snow_depth with value above the SUM(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057117 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, depth, lon, lat
Sensor: uv_index | fields: level, reading, depth, lat
Task: Fetch reading from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057118 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, lon, lat, depth
Sensor: drought_index | fields: reading, unit, value, ts
Task: Fetch depth from air_quality where ts exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057119 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: qc, lat, value, unit
Sensor: wind_speed | fields: lat, ts, level, qc
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057120 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, value, lat
Sensor: dew_point | fields: depth, qc, lat, level
Task: Retrieve depth from lightning whose type is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057121 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, lat, lon, unit
Sensor: pressure | fields: type, depth, ts, level
Task: Retrieve reading from sunlight that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057122 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, value, unit, type
Sensor: humidity | fields: lat, unit, qc, type
Task: Get reading from temperature where reading exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057123 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, reading, type, unit
Sensor: snow_depth | fields: lat, type, value, qc
Task: Get level from visibility where value exceeds the total value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057124 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: value, ts, depth, unit
Sensor: soil_moisture | fields: type, value, ts, lon
Task: Get lon from wind_speed where reading exceeds the count of reading from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057125 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, lon, reading, qc
Sensor: sunlight | fields: level, lon, qc, depth
Task: Fetch value from turbidity where value is greater than the total of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057126 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, lat, value, unit
Sensor: temperature | fields: reading, lat, level, ts
Task: Retrieve depth from humidity that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057127 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, value, reading, unit
Sensor: uv_index | fields: level, qc, value, ts
Task: Fetch lat from lightning where reading is greater than the total of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057128 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, depth, qc, ts
Sensor: frost | fields: qc, unit, lat, depth
Task: Retrieve lon from cloud_cover that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057129 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, reading, type, level
Sensor: rainfall | fields: unit, reading, value, type
Task: Retrieve reading from temperature with reading above the SUM(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057130 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: value, lon, level, reading
Sensor: visibility | fields: value, qc, depth, lat
Task: Get reading from turbidity where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057131 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: unit, ts, lat, reading
Sensor: turbidity | fields: lat, ts, depth, value
Task: Fetch lat from lightning where value is greater than the average of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057132 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, ts, value, lat
Sensor: sunlight | fields: ts, depth, type, lat
Task: Fetch lat from snow_depth where ts exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057133 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, type, value, unit
Sensor: temperature | fields: lon, reading, ts, qc
Task: Retrieve lat from sunlight with depth above the MAX(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057134 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, level, unit, type
Sensor: air_quality | fields: type, lat, depth, level
Task: Fetch depth from pressure where ts exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057135 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lat, level, value
Sensor: cloud_cover | fields: lat, value, lon, unit
Task: Get lat from drought_index where ts appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057136 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, depth, unit, qc
Sensor: drought_index | fields: type, depth, qc, lon
Task: Get level from snow_depth where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057137 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, reading, value, lon
Sensor: drought_index | fields: value, level, depth, ts
Task: Fetch reading from evaporation that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057138 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: value, ts, lat, level
Sensor: rainfall | fields: unit, depth, value, qc
Task: Get depth from turbidity where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057139 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, type, level, unit
Sensor: snow_depth | fields: reading, lon, level, type
Task: Fetch level from soil_moisture where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057140 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: depth, unit, ts, lon
Sensor: rainfall | fields: lon, depth, value, reading
Task: Fetch depth from drought_index where unit exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057141 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: level, ts, value, lon
Sensor: wind_speed | fields: depth, type, reading, qc
Task: Get depth from drought_index where depth exceeds the count of value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057142 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, ts, qc, level
Sensor: cloud_cover | fields: reading, depth, value, type
Task: Fetch lon from wind_speed where depth is greater than the count of of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057143 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: qc, type, lon, value
Sensor: cloud_cover | fields: level, type, unit, qc
Task: Retrieve reading from pressure that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057144 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lon, type, value, lat
Sensor: drought_index | fields: lon, qc, depth, ts
Task: Fetch lon from visibility where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057145 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, lon, depth, value
Sensor: evaporation | fields: qc, reading, value, level
Task: Retrieve lat from sunlight that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057146 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: level, unit, ts, value
Sensor: frost | fields: level, value, ts, lon
Task: Get reading from uv_index where value exceeds the minimum value from frost for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057147 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, reading, lat, lon
Sensor: drought_index | fields: lat, ts, depth, type
Task: Fetch depth from humidity where depth exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057148 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, lat, depth, unit
Sensor: frost | fields: lat, reading, level, lon
Task: Retrieve depth from drought_index with depth above the SUM(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057149 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, reading, type, lon
Sensor: cloud_cover | fields: value, level, type, lat
Task: Get lat from drought_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057150 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, lat, depth, ts
Sensor: dew_point | fields: ts, lon, value, level
Task: Retrieve lat from rainfall that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057151 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: lon, depth, lat, qc
Sensor: snow_depth | fields: qc, type, depth, lon
Task: Get reading from visibility where value exceeds the maximum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057152 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, depth, qc
Sensor: uv_index | fields: depth, reading, ts, unit
Task: Fetch reading from air_quality that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057153 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: lon, depth, value, type
Sensor: soil_moisture | fields: reading, value, depth, level
Task: Fetch level from sunlight where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057154 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lat, ts, lon, type
Sensor: sunlight | fields: qc, reading, ts, type
Task: Get reading from rainfall where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057155 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: level, lon, type, unit
Sensor: lightning | fields: depth, lon, ts, qc
Task: Get lat from temperature where depth exceeds the total reading from lightning for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057156 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, level, ts, value
Sensor: pressure | fields: unit, lat, reading, value
Task: Retrieve reading from wind_speed whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057157 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: unit, reading, value, ts
Sensor: temperature | fields: unit, type, ts, level
Task: Fetch value from uv_index that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057158 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: reading, type, unit, lat
Sensor: wind_speed | fields: lon, unit, qc, type
Task: Get lat from lightning where reading exceeds the maximum depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057159 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, depth, lat, ts
Sensor: soil_moisture | fields: lon, qc, value, level
Task: Retrieve lat from visibility that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057160 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, lat, value, level
Sensor: sunlight | fields: depth, qc, type, lon
Task: Get lon from temperature where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057161 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: lat, type, unit, reading
Sensor: dew_point | fields: depth, value, ts, unit
Task: Fetch level from turbidity where reading is greater than the minimum of reading in dew_point for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057162 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lon, type, lat
Sensor: lightning | fields: lon, lat, unit, depth
Task: Get depth from uv_index where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057163 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, depth, type, ts
Sensor: air_quality | fields: unit, value, type, lat
Task: Fetch depth from dew_point where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057164 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: value, reading, lat, depth
Sensor: rainfall | fields: lat, value, type, level
Task: Retrieve lat from sunlight that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057165 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, unit, type, level
Sensor: soil_moisture | fields: lat, unit, level, qc
Task: Fetch level from uv_index where value is greater than the count of of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057166 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: value, unit, level, ts
Sensor: snow_depth | fields: value, level, ts, lon
Task: Retrieve lon from sunlight that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057167 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, lon, ts, qc
Sensor: dew_point | fields: level, depth, type, unit
Task: Get value from cloud_cover where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057168 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lat, ts, qc, level
Sensor: sunlight | fields: level, reading, value, unit
Task: Fetch depth from lightning where ts exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057169 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, lat, depth, unit
Sensor: lightning | fields: ts, reading, lat, value
Task: Fetch reading from temperature that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057170 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: value, type, ts, qc
Sensor: temperature | fields: reading, unit, lon, lat
Task: Fetch reading from evaporation where qc exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057171 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, depth, ts, value
Sensor: wind_speed | fields: ts, value, lat, lon
Task: Retrieve depth from dew_point that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057172 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: value, lat, lon, reading
Sensor: rainfall | fields: ts, qc, unit, lon
Task: Retrieve lat from lightning whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057173 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, unit, depth, type
Sensor: visibility | fields: depth, type, qc, lon
Task: Get level from snow_depth where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057174 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, ts, unit
Sensor: snow_depth | fields: lon, reading, level, value
Task: Get depth from evaporation where depth exceeds the maximum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057175 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: level, qc, lat, ts
Sensor: sunlight | fields: ts, lon, qc, lat
Task: Fetch lon from air_quality where depth is greater than the average of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057176 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: type, unit, value, ts
Sensor: snow_depth | fields: level, lon, qc, value
Task: Fetch depth from temperature where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057177 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, level, type, unit
Sensor: visibility | fields: depth, type, unit, ts
Task: Retrieve reading from evaporation with value above the MIN(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057178 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, reading, depth, level
Sensor: frost | fields: type, lat, lon, depth
Task: Retrieve depth from turbidity whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057179 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, value, unit, level
Sensor: temperature | fields: ts, value, unit, qc
Task: Get lon from snow_depth where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057180 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, qc, ts, reading
Sensor: dew_point | fields: reading, type, depth, value
Task: Fetch level from sunlight where value is greater than the minimum of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057181 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, value, level, depth
Sensor: visibility | fields: type, reading, level, lon
Task: Retrieve level from soil_moisture whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057182 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, qc, depth, type
Sensor: cloud_cover | fields: value, level, qc, lon
Task: Fetch depth from snow_depth where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057183 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lat, lon, level
Sensor: cloud_cover | fields: lat, depth, ts, reading
Task: Get lat from dew_point where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057184 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: level, lat, ts, depth
Sensor: evaporation | fields: type, reading, qc, unit
Task: Fetch lat from snow_depth that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057185 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, unit, qc, type
Sensor: rainfall | fields: level, reading, lat, qc
Task: Get value from temperature where qc appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057186 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, qc, depth, value
Sensor: dew_point | fields: value, depth, level, lat
Task: Get value from snow_depth where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057187 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, lon, reading, level
Sensor: temperature | fields: unit, ts, lat, level
Task: Get lon from cloud_cover where depth exceeds the total reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057188 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: qc, unit, value, type
Sensor: snow_depth | fields: lat, value, depth, qc
Task: Retrieve value from air_quality whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057189 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, value, depth, reading
Sensor: turbidity | fields: type, value, ts, depth
Task: Retrieve lon from snow_depth with value above the MAX(reading) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057190 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, qc, lon, lat
Sensor: frost | fields: reading, ts, unit, qc
Task: Get lon from sunlight where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057191 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: qc, ts, lat, type
Sensor: dew_point | fields: ts, reading, lat, value
Task: Retrieve depth from drought_index with value above the MAX(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057192 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: value, depth, qc, lon
Sensor: air_quality | fields: value, lat, depth, type
Task: Fetch level from rainfall where qc exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057193 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, reading, unit, depth
Sensor: lightning | fields: depth, ts, value, lat
Task: Retrieve depth from pressure whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057194 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, ts, unit, qc
Sensor: soil_moisture | fields: level, value, type, lat
Task: Fetch lon from uv_index that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057195 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, qc, lat, value
Sensor: uv_index | fields: depth, type, lon, reading
Task: Fetch value from temperature where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057196 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: unit, reading, ts, level
Sensor: cloud_cover | fields: type, value, lat, unit
Task: Retrieve depth from evaporation whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057197 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: type, level, depth, ts
Sensor: snow_depth | fields: reading, unit, value, ts
Task: Fetch reading from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_057198 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: ts, unit, qc, depth
Sensor: temperature | fields: lat, qc, reading, lon
Task: Fetch level from soil_moisture where depth is greater than the average of reading in temperature for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_057199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.