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: wind_speed | code: stn | fields: depth, ts, value, reading
Sensor: cloud_cover | fields: ts, unit, level, value
Task: Fetch lat from wind_speed where depth exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010300 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: level, ts, reading, qc
Sensor: cloud_cover | fields: type, depth, unit, lat
Task: Retrieve value from drought_index that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010301 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lat, qc, reading
Sensor: evaporation | fields: type, unit, qc, value
Task: Fetch value from snow_depth that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010302 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: level, unit, lon, value
Sensor: pressure | fields: value, lon, lat, ts
Task: Get depth from visibility where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010303 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, qc, ts, unit
Sensor: sunlight | fields: level, depth, value, reading
Task: Get level from wind_speed where qc appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010304 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: value, ts, lat, qc
Sensor: rainfall | fields: ts, unit, type, reading
Task: Retrieve reading from evaporation whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010305 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: type, value, reading, lon
Sensor: cloud_cover | fields: lat, lon, ts, qc
Task: Retrieve value from turbidity with value above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010306 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, ts, unit, reading
Sensor: visibility | fields: value, qc, level, ts
Task: Fetch reading from frost where depth is greater than the maximum of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010307 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, ts, lon, depth
Sensor: visibility | fields: depth, type, unit, qc
Task: Get level from air_quality where value exceeds the total value from visibility for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010308 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: ts, type, value, reading
Sensor: evaporation | fields: depth, reading, lat, ts
Task: Get lon from humidity where value exceeds the minimum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010309 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, ts, qc, value
Sensor: air_quality | fields: depth, unit, lat, ts
Task: Get depth from humidity where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010310 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, level, lon, reading
Sensor: visibility | fields: reading, level, type, depth
Task: Fetch lat from wind_speed where depth is greater than the count of of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010311 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, qc, value, lon
Sensor: sunlight | fields: value, unit, level, ts
Task: Fetch lat from humidity where depth is greater than the average of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010312 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: level, unit, ts, lat
Sensor: lightning | fields: level, qc, depth, type
Task: Fetch depth from visibility where depth is greater than the total of depth in lightning for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010313 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, qc, level, reading
Sensor: lightning | fields: ts, type, lat, qc
Task: Retrieve value from visibility that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010314 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: ts, depth, value, level
Sensor: cloud_cover | fields: qc, depth, reading, lat
Task: Get lon from dew_point where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010315 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, level, lat, qc
Sensor: rainfall | fields: unit, lat, value, depth
Task: Get lon from cloud_cover where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010316 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: qc, lon, ts, level
Sensor: humidity | fields: level, reading, type, unit
Task: Fetch lat from dew_point where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010317 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, level, qc, type
Sensor: frost | fields: lon, unit, qc, level
Task: Retrieve depth from air_quality whose qc is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010318 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: value, reading, lon, lat
Sensor: dew_point | fields: reading, level, lat, type
Task: Fetch lon from rainfall where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010319 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, ts, unit, lat
Sensor: cloud_cover | fields: level, lat, ts, qc
Task: Fetch reading from humidity where depth exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010320 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, level, ts, reading
Sensor: uv_index | fields: qc, level, lat, lon
Task: Retrieve lon from dew_point whose ts is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010321 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, lat, ts, lon
Sensor: evaporation | fields: qc, lon, level, ts
Task: Fetch depth from snow_depth where reading is greater than the average of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010322 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, lat, ts, value
Sensor: lightning | fields: lat, reading, type, level
Task: Get reading from air_quality where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010323 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lon, lat, qc, level
Sensor: visibility | fields: unit, lat, ts, lon
Task: Get depth from drought_index where depth exceeds the maximum value from visibility for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010324 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, depth, reading
Sensor: visibility | fields: lat, value, qc, ts
Task: Retrieve lat from evaporation with reading above the MAX(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010325 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, level, lon, value
Sensor: humidity | fields: reading, level, qc, type
Task: Fetch value from wind_speed where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010326 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: level, reading, type, ts
Sensor: pressure | fields: qc, reading, level, lon
Task: Retrieve depth from humidity whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010327 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, type, qc, reading
Sensor: drought_index | fields: level, lat, qc, depth
Task: Fetch lon from uv_index where qc exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010328 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, qc, unit, type
Sensor: turbidity | fields: qc, depth, ts, level
Task: Fetch level from drought_index where reading is greater than the total of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010329 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: depth, qc, type, unit
Sensor: rainfall | fields: unit, type, ts, qc
Task: Get value from drought_index where reading exceeds the count of depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010330 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, reading, lat, type
Sensor: uv_index | fields: qc, level, unit, ts
Task: Get level from wind_speed where depth exceeds the average depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010331 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, type, value, level
Sensor: uv_index | fields: depth, type, lat, lon
Task: Retrieve lat from soil_moisture with value above the COUNT(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010332 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, level, ts, qc
Sensor: turbidity | fields: reading, value, lat, unit
Task: Fetch reading from frost where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010333 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, ts, value, lat
Sensor: dew_point | fields: lon, type, unit, lat
Task: Retrieve value from drought_index whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010334 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, level, type, lon
Sensor: frost | fields: unit, level, lat, value
Task: Retrieve reading from humidity with reading above the COUNT(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010335 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, unit, lat, level
Sensor: humidity | fields: value, ts, lon, level
Task: Retrieve level from rainfall with value above the COUNT(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010336 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lon, depth, unit, qc
Sensor: sunlight | fields: value, reading, depth, qc
Task: Get reading from humidity where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010337 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: lon, ts, depth, level
Sensor: temperature | fields: ts, unit, lat, type
Task: Get lat from sunlight where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010338 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, level, lat, ts
Sensor: humidity | fields: ts, unit, depth, value
Task: Fetch value from temperature that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010339 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, lon, lat, type
Sensor: sunlight | fields: ts, level, value, lat
Task: Fetch value from humidity where depth is greater than the minimum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010340 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: level, value, reading, qc
Sensor: uv_index | fields: value, type, lon, lat
Task: Fetch depth from visibility that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010341 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: type, depth, unit, reading
Sensor: frost | fields: value, unit, ts, level
Task: Fetch level from sunlight where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010342 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: reading, level, type, lon
Sensor: lightning | fields: ts, type, level, unit
Task: Get lat from visibility where value exceeds the minimum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010343 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, depth, lon, value
Sensor: air_quality | fields: lon, value, level, unit
Task: Fetch depth from lightning where depth is greater than the total of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010344 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: level, qc, lat, reading
Sensor: soil_moisture | fields: level, type, qc, reading
Task: Get reading from lightning where value exceeds the minimum reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010345 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, type, value, unit
Sensor: turbidity | fields: depth, lat, type, reading
Task: Fetch level from visibility where value is greater than the maximum of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010346 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, unit, depth, lat
Sensor: sunlight | fields: depth, type, ts, value
Task: Get lon from air_quality where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"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_010347 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, reading, level, lat
Sensor: rainfall | fields: unit, qc, ts, type
Task: Fetch value from drought_index where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010348 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, depth, lat, qc
Sensor: rainfall | fields: type, ts, unit, lon
Task: Fetch lon from sunlight where value is greater than the maximum of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010349 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: ts, type, level, qc
Sensor: pressure | fields: ts, qc, level, unit
Task: Get level from drought_index where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010350 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: type, qc, value, level
Sensor: soil_moisture | fields: reading, unit, qc, depth
Task: Get depth from wind_speed where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010351 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, qc, ts, lat
Sensor: dew_point | fields: unit, qc, depth, lon
Task: Retrieve reading from soil_moisture with value above the SUM(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010352 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, value, level, ts
Sensor: sunlight | fields: unit, value, level, ts
Task: Retrieve lat from cloud_cover whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010353 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, lat, value, lon
Sensor: turbidity | fields: unit, level, depth, qc
Task: Fetch reading from wind_speed where type exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010354 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, qc, type, depth
Sensor: dew_point | fields: value, level, unit, reading
Task: Get lon from wind_speed where type appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010355 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: unit, value, reading, lon
Sensor: humidity | fields: qc, depth, unit, value
Task: Fetch lon from lightning where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010356 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, ts, lon, qc
Sensor: lightning | fields: depth, type, value, lat
Task: Get lon from dew_point where depth exceeds the minimum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010357 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, type, value, unit
Sensor: lightning | fields: depth, level, type, lon
Task: Get level from wind_speed where reading exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010358 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, level, qc, lat
Sensor: snow_depth | fields: reading, type, ts, unit
Task: Retrieve value from temperature that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010359 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: type, qc, lon, value
Sensor: dew_point | fields: lat, unit, qc, lon
Task: Get reading from sunlight where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010360 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: unit, lat, value, lon
Sensor: air_quality | fields: type, lon, value, level
Task: Fetch lon from dew_point where reading is greater than the average of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010361 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: type, depth, qc, unit
Sensor: visibility | fields: value, level, type, ts
Task: Retrieve level from lightning that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010362 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, qc, value, reading
Sensor: frost | fields: lon, qc, value, unit
Task: Retrieve depth from uv_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010363 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lat, unit, depth, ts
Sensor: frost | fields: value, qc, ts, level
Task: Retrieve lon from uv_index that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010364 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, depth, unit, type
Sensor: turbidity | fields: lat, reading, value, type
Task: Get depth from temperature where depth exceeds the total reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010365 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, qc, lon, unit
Sensor: dew_point | fields: value, level, ts, unit
Task: Retrieve depth from drought_index with reading above the MAX(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010366 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, lon, level, unit
Sensor: temperature | fields: reading, value, lat, unit
Task: Get lon from uv_index where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010367 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, depth, reading, ts
Sensor: temperature | fields: level, value, reading, lon
Task: Retrieve level from turbidity that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010368 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: value, ts, unit, level
Sensor: cloud_cover | fields: qc, ts, lat, depth
Task: Get lat from frost where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010369 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, ts, depth, reading
Sensor: temperature | fields: ts, qc, value, lon
Task: Fetch reading from evaporation where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010370 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, type, reading, qc
Sensor: cloud_cover | fields: reading, lat, value, level
Task: Retrieve lat from lightning with reading above the MIN(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010371 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, lat, unit, value
Sensor: frost | fields: depth, ts, type, unit
Task: Get value from temperature where reading exceeds the total value from frost for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010372 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lat, depth, reading, lon
Sensor: turbidity | fields: value, ts, unit, level
Task: Fetch lat from dew_point where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010373 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, qc, depth, lat
Sensor: temperature | fields: reading, lat, value, ts
Task: Fetch level from soil_moisture that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010374 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, qc, lat, value
Sensor: air_quality | fields: type, reading, qc, level
Task: Retrieve value from snow_depth whose depth is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010375 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, qc, value, unit
Sensor: humidity | fields: type, depth, ts, lon
Task: Get level from wind_speed where ts appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010376 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, reading, value, level
Sensor: soil_moisture | fields: level, reading, lat, type
Task: Fetch depth from turbidity that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010377 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, value, ts, lon
Sensor: wind_speed | fields: lon, type, lat, depth
Task: Get lat from air_quality where depth exceeds the minimum value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010378 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, reading, type, qc
Sensor: drought_index | fields: ts, type, unit, reading
Task: Retrieve lon from soil_moisture with reading above the MIN(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010379 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lat, lon, reading
Sensor: pressure | fields: qc, lon, unit, depth
Task: Fetch value from evaporation that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010380 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, level, reading, ts
Sensor: sunlight | fields: qc, ts, level, lon
Task: Retrieve level from lightning whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010381 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: unit, reading, qc, lat
Sensor: dew_point | fields: type, qc, lat, depth
Task: Retrieve depth from evaporation with depth above the AVG(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010382 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: type, unit, depth, ts
Sensor: temperature | fields: qc, depth, ts, level
Task: Get depth from pressure where reading exceeds the minimum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010383 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, qc, level, value
Sensor: visibility | fields: type, lat, lon, value
Task: Fetch lat from snow_depth that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010384 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: reading, lat, value, unit
Sensor: snow_depth | fields: qc, type, ts, reading
Task: Retrieve level from turbidity that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010385 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, depth, lat
Sensor: sunlight | fields: value, lon, reading, level
Task: Retrieve depth from air_quality that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010386 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: ts, reading, lat, value
Sensor: visibility | fields: unit, type, lat, qc
Task: Retrieve lon from pressure that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010387 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, reading, ts, qc
Sensor: visibility | fields: unit, reading, value, depth
Task: Fetch value from turbidity where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010388 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: level, depth, unit, lat
Sensor: wind_speed | fields: qc, level, depth, unit
Task: Get lon from snow_depth where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010389 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, reading, lat, value
Sensor: lightning | fields: type, reading, level, value
Task: Get depth from sunlight where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010390 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, level, qc, value
Sensor: turbidity | fields: unit, ts, type, depth
Task: Fetch reading from visibility where depth is greater than the total of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010391 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lat, ts, reading, type
Sensor: turbidity | fields: lon, value, ts, depth
Task: Retrieve lat from uv_index with depth above the COUNT(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010392 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, level, ts, lat
Sensor: temperature | fields: unit, qc, type, ts
Task: Fetch lon from sunlight where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010393 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, depth, value, type
Sensor: cloud_cover | fields: lon, unit, ts, level
Task: Fetch lon from wind_speed that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010394 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, depth, reading, value
Sensor: visibility | fields: lat, level, type, depth
Task: Get level from air_quality where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010395 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, value, reading, unit
Sensor: visibility | fields: lat, type, depth, lon
Task: Retrieve lat from dew_point that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_010396 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, depth, value, ts
Sensor: pressure | fields: lat, lon, depth, ts
Task: Fetch level from rainfall where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010397 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: value, level, unit, qc
Sensor: pressure | fields: type, qc, ts, depth
Task: Retrieve value from snow_depth that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010398 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, lon, lat, ts
Sensor: frost | fields: ts, value, level, depth
Task: Retrieve depth from soil_moisture with reading above the SUM(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_010399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.