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: frost | code: gst | fields: lon, lat, unit, level
Sensor: dew_point | fields: lon, qc, lat, ts
Task: Retrieve lon from frost whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034100 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: reading, unit, depth, value
Sensor: air_quality | fields: lat, lon, level, type
Task: Retrieve lon from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034101 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, level, ts, reading
Sensor: sunlight | fields: level, value, ts, depth
Task: Get reading from lightning where reading exceeds the average value from sunlight for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034102 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, depth, lon, lat
Sensor: turbidity | fields: reading, lon, ts, qc
Task: Fetch value from snow_depth where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034103 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, unit, level, lon
Sensor: pressure | fields: qc, reading, lat, type
Task: Retrieve lat from snow_depth that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034104 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, qc, lon, reading
Sensor: uv_index | fields: level, lon, reading, type
Task: Get lat from pressure where reading exceeds the average value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034105 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, value, type, qc
Sensor: pressure | fields: lat, depth, level, lon
Task: Retrieve depth from drought_index with value above the AVG(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034106 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, unit, value, qc
Sensor: rainfall | fields: qc, unit, value, depth
Task: Get level from pressure where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034107 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, unit, ts, level
Sensor: sunlight | fields: qc, unit, depth, lon
Task: Fetch depth from cloud_cover where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034108 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: unit, level, type, qc
Sensor: wind_speed | fields: type, lat, level, depth
Task: Retrieve depth from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034109 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, type, level, depth
Sensor: frost | fields: level, value, unit, reading
Task: Get lat from wind_speed where depth exceeds the total depth from frost for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034110 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lon, depth, reading, level
Sensor: cloud_cover | fields: lat, lon, depth, unit
Task: Retrieve level from lightning whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034111 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: ts, value, lat, type
Sensor: dew_point | fields: reading, value, type, level
Task: Get level from pressure where depth exceeds the maximum value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034112 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, level, unit, ts
Sensor: visibility | fields: value, type, depth, lon
Task: Fetch depth from wind_speed where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034113 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, type, level, unit
Sensor: drought_index | fields: type, lon, reading, level
Task: Get lon from frost where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034114 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, ts, reading, unit
Sensor: visibility | fields: ts, value, lon, qc
Task: Fetch lat from cloud_cover that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034115 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: reading, type, lat, lon
Sensor: evaporation | fields: reading, qc, value, lat
Task: Get lat from temperature where depth exceeds the minimum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034116 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: level, ts, unit, depth
Sensor: sunlight | fields: qc, depth, unit, ts
Task: Fetch lon from wind_speed where depth is greater than the average of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034117 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, type, unit, qc
Sensor: soil_moisture | fields: lon, value, lat, depth
Task: Get reading from frost where reading exceeds the minimum reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034118 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, unit, reading, lon
Sensor: cloud_cover | fields: level, unit, lat, lon
Task: Get level from uv_index where reading exceeds the average reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034119 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: value, type, qc, depth
Sensor: visibility | fields: ts, reading, lon, depth
Task: Get lon from wind_speed where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034120 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, value, unit, ts
Sensor: cloud_cover | fields: depth, type, lon, level
Task: Retrieve lon from wind_speed that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034121 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, ts, lon, qc
Sensor: uv_index | fields: lat, type, level, value
Task: Fetch level from turbidity that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034122 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, unit, ts, qc
Sensor: humidity | fields: value, depth, qc, type
Task: Get lon from rainfall where type appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034123 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, lat, lon, value
Sensor: sunlight | fields: lat, type, reading, lon
Task: Retrieve lat from temperature that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034124 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: value, lat, qc, type
Sensor: uv_index | fields: value, ts, reading, type
Task: Fetch lat from humidity where ts exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034125 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: level, ts, value, qc
Sensor: evaporation | fields: lon, qc, lat, value
Task: Retrieve lat from uv_index with depth above the SUM(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034126 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, depth, lon, unit
Sensor: lightning | fields: lat, qc, lon, type
Task: Fetch reading from soil_moisture where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034127 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, lon, type, lat
Sensor: drought_index | fields: lat, type, unit, lon
Task: Get level from humidity where depth exceeds the total reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034128 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, lat, qc, depth
Sensor: cloud_cover | fields: value, unit, qc, lat
Task: Fetch lon from pressure that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034129 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, reading, value, level
Sensor: visibility | fields: value, reading, ts, lon
Task: Fetch lat from frost that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034130 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, reading, ts, value
Sensor: evaporation | fields: depth, unit, level, reading
Task: Get lon from pressure where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034131 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: qc, depth, type, value
Sensor: humidity | fields: level, lon, unit, reading
Task: Get level from sunlight where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034132 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: ts, qc, reading, value
Sensor: visibility | fields: lon, level, depth, unit
Task: Get lon from uv_index where type appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034133 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lat, level, depth, lon
Sensor: drought_index | fields: depth, lat, reading, unit
Task: Get reading from sunlight where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034134 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, qc, reading, level
Sensor: turbidity | fields: unit, ts, reading, lat
Task: Get level from cloud_cover where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034135 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, ts, level, value
Sensor: visibility | fields: reading, unit, ts, level
Task: Fetch reading from temperature that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034136 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, ts, value, lon
Sensor: soil_moisture | fields: ts, level, lat, unit
Task: Fetch lat from sunlight where value is greater than the minimum of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034137 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, ts, qc, reading
Sensor: rainfall | fields: unit, qc, lon, ts
Task: Retrieve lon from cloud_cover whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034138 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, value, type, depth
Sensor: dew_point | fields: ts, lon, level, unit
Task: Retrieve level from cloud_cover with reading above the MAX(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034139 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, ts, unit, value
Sensor: visibility | fields: lat, lon, unit, ts
Task: Get lat from frost where value exceeds the minimum depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034140 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, lon, unit, depth
Sensor: visibility | fields: type, qc, lon, unit
Task: Get lat from wind_speed where reading exceeds the count of value from visibility for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034141 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, lon, value, reading
Sensor: snow_depth | fields: level, lon, reading, ts
Task: Retrieve level from rainfall with reading above the COUNT(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034142 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, reading, ts, lon
Sensor: wind_speed | fields: qc, unit, lat, reading
Task: Get reading from soil_moisture where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034143 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, qc, unit, lat
Sensor: visibility | fields: level, unit, lon, qc
Task: Get reading from dew_point where reading exceeds the minimum depth from visibility for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034144 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, qc, level, value
Sensor: temperature | fields: level, value, lat, lon
Task: Fetch depth from air_quality where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034145 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: ts, unit, level, lat
Sensor: visibility | fields: level, reading, qc, depth
Task: Get lat from drought_index where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034146 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: value, qc, type, unit
Sensor: drought_index | fields: reading, level, lon, lat
Task: Get value from wind_speed where value exceeds the count of reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034147 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, lat, type
Sensor: temperature | fields: unit, level, lon, ts
Task: Get reading from uv_index where value exceeds the average reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034148 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: type, ts, qc, lon
Sensor: humidity | fields: level, value, lon, depth
Task: Retrieve lat from turbidity whose type is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034149 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, reading, lon, lat
Sensor: soil_moisture | fields: qc, lon, level, depth
Task: Fetch depth from humidity that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034150 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, reading, level, qc
Sensor: snow_depth | fields: ts, value, unit, reading
Task: Get reading from wind_speed where depth exceeds the minimum reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034151 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: reading, level, depth, qc
Sensor: humidity | fields: reading, depth, lon, lat
Task: Get depth from uv_index where value exceeds the average reading from humidity for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"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_034152 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lon, qc, reading, unit
Sensor: soil_moisture | fields: lon, value, type, lat
Task: Get level from lightning where depth exceeds the maximum depth from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034153 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lon, ts, type, lat
Sensor: temperature | fields: depth, ts, lon, reading
Task: Fetch level from air_quality that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034154 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lat, unit, ts, reading
Sensor: cloud_cover | fields: ts, lon, lat, value
Task: Fetch level from temperature where depth is greater than the maximum of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034155 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, lon, type, ts
Sensor: temperature | fields: ts, qc, lat, depth
Task: Fetch depth from uv_index where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034156 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, unit, lat, lon
Sensor: pressure | fields: value, reading, level, qc
Task: Retrieve value from drought_index with reading above the SUM(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034157 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, lon, lat, reading
Sensor: turbidity | fields: reading, depth, qc, ts
Task: Fetch value from air_quality where reading is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034158 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, ts, level, value
Sensor: cloud_cover | fields: value, level, depth, type
Task: Retrieve reading from sunlight with depth above the AVG(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034159 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, ts, reading, level
Sensor: evaporation | fields: lat, unit, level, type
Task: Retrieve lon from frost whose qc is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034160 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lon, lat, value, reading
Sensor: dew_point | fields: type, value, level, reading
Task: Retrieve lat from turbidity whose unit is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034161 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: unit, reading, depth, value
Sensor: sunlight | fields: type, depth, reading, level
Task: Fetch value from temperature where value is greater than the minimum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034162 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, lon, unit, lat
Sensor: drought_index | fields: depth, ts, level, reading
Task: Get lon from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034163 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, lat, ts, depth
Sensor: air_quality | fields: lon, type, lat, qc
Task: Fetch lat from visibility where reading is greater than the maximum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034164 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: level, qc, unit, value
Sensor: evaporation | fields: type, lon, lat, level
Task: Get lon from snow_depth where depth exceeds the count of depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034165 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, unit, depth, lon
Sensor: pressure | fields: lat, depth, lon, ts
Task: Fetch depth from uv_index where value is greater than the maximum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034166 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, level, depth
Sensor: drought_index | fields: lon, level, reading, depth
Task: Retrieve lon from soil_moisture whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034167 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, level, ts, qc
Sensor: drought_index | fields: reading, lon, ts, type
Task: Fetch depth from pressure where depth is greater than the total of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034168 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, level, depth, ts
Sensor: temperature | fields: depth, level, value, lat
Task: Get reading from lightning where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034169 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, ts, depth
Sensor: soil_moisture | fields: level, lon, value, unit
Task: Get lon from rainfall where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034170 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: reading, value, lat, depth
Sensor: temperature | fields: depth, level, lon, lat
Task: Get reading from sunlight where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034171 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, depth, type, ts
Sensor: rainfall | fields: ts, lon, lat, reading
Task: Retrieve level from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034172 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, qc, depth, reading
Sensor: pressure | fields: level, reading, depth, qc
Task: Retrieve value from drought_index with reading above the AVG(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034173 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, lon, unit, qc
Sensor: soil_moisture | fields: type, lat, value, depth
Task: Retrieve reading from temperature whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034174 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: ts, depth, level, type
Sensor: wind_speed | fields: value, lat, depth, unit
Task: Fetch value from cloud_cover that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"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_034175 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: qc, value, ts, unit
Sensor: visibility | fields: qc, reading, lon, ts
Task: Get reading from sunlight where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034176 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: unit, type, value, lat
Sensor: air_quality | fields: value, reading, ts, level
Task: Get value from pressure where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034177 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, lon, lat, qc
Sensor: lightning | fields: value, lon, level, type
Task: Fetch reading from pressure where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034178 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, reading, ts, lat
Sensor: pressure | fields: depth, reading, ts, level
Task: Retrieve lon from humidity that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034179 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, depth, lon, unit
Sensor: dew_point | fields: unit, level, qc, value
Task: Retrieve depth from air_quality whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034180 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: value, unit, type, qc
Sensor: rainfall | fields: reading, lon, level, value
Task: Retrieve level from frost whose unit is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034181 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, lon, ts, depth
Sensor: dew_point | fields: ts, lon, level, reading
Task: Get lon from temperature where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034182 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, type, reading, depth
Sensor: drought_index | fields: qc, type, lat, value
Task: Get reading from uv_index where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034183 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: value, level, type, lon
Sensor: snow_depth | fields: lon, type, depth, reading
Task: Fetch level from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034184 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, unit, depth, lat
Sensor: rainfall | fields: reading, lat, qc, lon
Task: Fetch value from lightning that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034185 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, reading, value, lat
Sensor: snow_depth | fields: reading, lon, ts, depth
Task: Get lat from soil_moisture where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034186 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, type, level, depth
Sensor: cloud_cover | fields: lat, level, depth, qc
Task: Fetch value from turbidity where ts exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034187 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lon, level, reading
Sensor: turbidity | fields: type, unit, qc, ts
Task: Retrieve depth from wind_speed with value above the MIN(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034188 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, lon, unit, ts
Sensor: lightning | fields: ts, unit, reading, type
Task: Retrieve level from temperature that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034189 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, value, lon, depth
Sensor: turbidity | fields: value, depth, ts, lat
Task: Fetch value from soil_moisture where reading is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034190 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, reading, value, level
Sensor: dew_point | fields: lon, reading, qc, lat
Task: Get lon from humidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034191 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: lat, unit, type, level
Sensor: wind_speed | fields: depth, lat, reading, level
Task: Get lat from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034192 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, depth, lat, level
Sensor: rainfall | fields: ts, unit, value, reading
Task: Retrieve reading from cloud_cover with value above the AVG(reading) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034193 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: unit, qc, reading, level
Sensor: sunlight | fields: unit, qc, lat, lon
Task: Retrieve value from visibility whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034194 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, ts, depth, level
Sensor: visibility | fields: unit, ts, type, lat
Task: Get level from evaporation where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034195 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, lon, unit, type
Sensor: cloud_cover | fields: type, depth, lon, value
Task: Fetch level from wind_speed where reading is greater than the total of reading in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034196 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, depth, level, ts
Sensor: drought_index | fields: qc, ts, value, reading
Task: Retrieve level from wind_speed that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034197 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lon, ts, unit, depth
Sensor: sunlight | fields: lon, depth, lat, value
Task: Get lon from air_quality where value exceeds the average depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034198 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, lat, reading, type
Sensor: dew_point | fields: ts, unit, depth, level
Task: Fetch level from uv_index where reading is greater than the total of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.