variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, lat, type
Sensor: visibility | fields: unit, reading, lon, lat
Task: Get lat from humidity where qc appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018300 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, lon, qc, level
Sensor: snow_depth | fields: ts, depth, lon, qc
Task: Get level from cloud_cover where depth exceeds the average depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018301 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, level, value, ts
Sensor: evaporation | fields: level, reading, depth, value
Task: Retrieve value from frost whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018302 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, lon, value, level
Sensor: humidity | fields: reading, unit, qc, lat
Task: Retrieve reading from uv_index that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018303 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: level, reading, depth, type
Sensor: pressure | fields: lat, lon, depth, qc
Task: Fetch lon from snow_depth that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018304 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, depth, qc, value
Sensor: lightning | fields: reading, lat, qc, level
Task: Fetch lon from drought_index where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018305 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, depth, level
Sensor: pressure | fields: reading, type, qc, depth
Task: Fetch level from sunlight that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018306 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, qc, type, unit
Sensor: cloud_cover | fields: unit, type, reading, depth
Task: Get value from drought_index where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018307 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, type, unit, qc
Sensor: frost | fields: depth, lat, unit, level
Task: Get reading from temperature where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018308 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, type, value, depth
Sensor: rainfall | fields: unit, level, lat, depth
Task: Get lon from soil_moisture where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018309 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, reading, unit, depth
Sensor: dew_point | fields: lon, ts, depth, lat
Task: Fetch depth from evaporation where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018310 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, reading, lon, qc
Sensor: air_quality | fields: qc, unit, ts, lon
Task: Retrieve value from cloud_cover whose unit is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018311 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, level, lon, reading
Sensor: temperature | fields: unit, value, reading, lon
Task: Get value from soil_moisture where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018312 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, reading, depth, level
Sensor: dew_point | fields: unit, level, type, qc
Task: Retrieve lat from air_quality that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018313 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, level, depth, type
Sensor: dew_point | fields: reading, value, unit, depth
Task: Retrieve reading from uv_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018314 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, lon, type, depth
Sensor: drought_index | fields: lat, lon, level, ts
Task: Retrieve reading from snow_depth whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018315 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, depth, lon, reading
Sensor: sunlight | fields: ts, lon, lat, level
Task: Get lon from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018316 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, ts, depth, qc
Sensor: cloud_cover | fields: lon, value, depth, reading
Task: Get value from drought_index where value exceeds the count of value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018317 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, reading, lat, qc
Sensor: turbidity | fields: lon, depth, unit, qc
Task: Retrieve value from uv_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018318 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, type, depth, qc
Sensor: drought_index | fields: reading, qc, ts, unit
Task: Fetch lon from dew_point where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018319 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: reading, depth, level, lon
Sensor: visibility | fields: lat, unit, lon, depth
Task: Get depth from air_quality where depth exceeds the maximum reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018320 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lat, level, depth, type
Sensor: air_quality | fields: depth, ts, lon, unit
Task: Retrieve value from uv_index with reading above the COUNT(depth) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018321 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, lat, reading, type
Sensor: wind_speed | fields: lat, value, lon, qc
Task: Get reading from soil_moisture where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018322 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: lat, lon, ts, type
Sensor: humidity | fields: unit, reading, lon, lat
Task: Retrieve reading from rainfall whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018323 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: reading, value, unit, ts
Sensor: visibility | fields: level, value, ts, type
Task: Fetch lon from pressure where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018324 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, value, lat, reading
Sensor: dew_point | fields: depth, reading, unit, lat
Task: Fetch value from sunlight where reading is greater than the minimum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018325 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, qc, type, lat
Sensor: drought_index | fields: reading, qc, value, lat
Task: Fetch depth from soil_moisture where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018326 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: depth, reading, lat, type
Sensor: rainfall | fields: value, qc, unit, depth
Task: Fetch level from dew_point where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018327 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: unit, ts, type, lat
Sensor: rainfall | fields: lat, reading, qc, level
Task: Fetch value from humidity where value is greater than the average of value in rainfall for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018328 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, lon, reading, depth
Sensor: evaporation | fields: lon, depth, lat, reading
Task: Fetch value from soil_moisture where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018329 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: ts, lat, lon, qc
Sensor: pressure | fields: value, reading, ts, lon
Task: Get depth from lightning where depth exceeds the maximum reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018330 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: lon, ts, depth, type
Sensor: soil_moisture | fields: qc, level, type, lat
Task: Get depth from uv_index where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018331 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, unit, type, value
Sensor: drought_index | fields: reading, lat, qc, ts
Task: Fetch lon from frost where qc exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018332 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: lat, unit, level, reading
Sensor: cloud_cover | fields: lon, reading, depth, type
Task: Retrieve lon from dew_point that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018333 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, lat, depth
Sensor: temperature | fields: lon, lat, ts, value
Task: Fetch lon from humidity that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018334 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, depth, lat, ts
Sensor: dew_point | fields: qc, level, value, type
Task: Get depth from cloud_cover where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018335 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, lon, unit, value
Sensor: wind_speed | fields: level, ts, lon, qc
Task: Fetch value from lightning where value is greater than the count of of depth in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018336 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: level, lon, unit, qc
Sensor: snow_depth | fields: type, depth, reading, level
Task: Retrieve reading from sunlight whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018337 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, level, depth, lat
Sensor: air_quality | fields: lat, ts, unit, depth
Task: Retrieve lat from drought_index with value above the COUNT(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018338 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: ts, level, value, reading
Sensor: frost | fields: level, lat, unit, lon
Task: Fetch reading from humidity that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018339 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: qc, reading, depth, lat
Sensor: temperature | fields: qc, lat, type, depth
Task: Get reading from uv_index where reading exceeds the average depth from temperature for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018340 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, unit, type, ts
Sensor: soil_moisture | fields: unit, ts, reading, lat
Task: Get depth from cloud_cover where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018341 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: value, unit, level, lat
Sensor: frost | fields: level, unit, ts, qc
Task: Fetch value from air_quality that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018342 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, value, reading, level
Sensor: evaporation | fields: unit, type, value, reading
Task: Get depth from uv_index where reading exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018343 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: reading, lat, depth, qc
Sensor: lightning | fields: lon, value, type, qc
Task: Get level from dew_point where depth exceeds the total depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018344 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, lat, depth, lon
Sensor: visibility | fields: lon, unit, ts, type
Task: Fetch lon from frost where unit exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018345 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, qc, lat, value
Sensor: dew_point | fields: depth, unit, lat, qc
Task: Fetch lat from drought_index that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018346 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, lat, type, value
Sensor: snow_depth | fields: unit, qc, type, reading
Task: Fetch level from humidity where reading is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018347 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, type, qc, ts
Sensor: sunlight | fields: depth, unit, value, lat
Task: Get lat from dew_point where depth appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018348 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: value, reading, depth, ts
Sensor: evaporation | fields: level, depth, reading, lat
Task: Get value from wind_speed where value exceeds the total reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018349 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: unit, lon, lat, value
Sensor: air_quality | fields: value, lon, reading, type
Task: Retrieve reading from evaporation with reading above the MIN(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018350 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, depth, level, reading
Sensor: wind_speed | fields: qc, ts, depth, value
Task: Get lat from frost where qc appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018351 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, qc, ts, lon
Sensor: cloud_cover | fields: ts, unit, depth, value
Task: Retrieve lat from wind_speed with depth above the AVG(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018352 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, type, reading, level
Sensor: uv_index | fields: depth, value, lat, type
Task: Get level from dew_point where ts appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018353 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, qc, type, unit
Sensor: dew_point | fields: value, ts, reading, type
Task: Retrieve level from uv_index that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018354 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lon, value, level, ts
Sensor: frost | fields: reading, lat, lon, unit
Task: Get lon from visibility where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018355 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, type, ts, depth
Sensor: drought_index | fields: qc, value, lat, lon
Task: Get value from snow_depth where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018356 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, value, depth, unit
Sensor: dew_point | fields: ts, reading, unit, depth
Task: Fetch reading from rainfall where depth is greater than the average of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018357 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lat, unit, ts, type
Sensor: evaporation | fields: type, level, ts, qc
Task: Get value from turbidity where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018358 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, unit, ts, level
Sensor: pressure | fields: lon, type, lat, unit
Task: Retrieve lat from drought_index whose qc is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018359 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: ts, depth, type, unit
Sensor: cloud_cover | fields: reading, value, lat, ts
Task: Retrieve reading from drought_index whose ts is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018360 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, depth, level, unit
Sensor: turbidity | fields: reading, unit, lon, lat
Task: Fetch lat from air_quality that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018361 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lat, qc, value
Sensor: visibility | fields: lon, qc, depth, unit
Task: Get depth from cloud_cover where ts appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018362 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: value, lon, lat, level
Sensor: cloud_cover | fields: ts, lat, unit, level
Task: Retrieve level from wind_speed with value above the MIN(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018363 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: type, value, lat, level
Sensor: drought_index | fields: reading, qc, lat, lon
Task: Fetch lat from frost that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018364 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, depth, qc, reading
Sensor: dew_point | fields: lat, level, lon, qc
Task: Get lon from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018365 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: level, ts, lat, reading
Sensor: uv_index | fields: lon, unit, ts, type
Task: Get value from wind_speed where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018366 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, level, unit, qc
Sensor: frost | fields: lon, depth, value, type
Task: Retrieve lat from soil_moisture whose depth is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018367 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, lon, ts, value
Sensor: pressure | fields: qc, depth, value, type
Task: Fetch depth from cloud_cover that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018368 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, reading, unit, lat
Sensor: temperature | fields: qc, reading, value, depth
Task: Get level from pressure where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"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_018369 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, type, reading, depth
Sensor: uv_index | fields: lon, value, qc, unit
Task: Get value from sunlight where reading exceeds the count of depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018370 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: ts, type, reading, qc
Sensor: wind_speed | fields: lon, type, level, depth
Task: Get depth from lightning where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018371 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: depth, qc, level, lon
Sensor: sunlight | fields: level, ts, unit, lat
Task: Fetch value from uv_index where reading is greater than the maximum of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018372 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, ts, lat
Sensor: visibility | fields: level, lon, value, reading
Task: Retrieve depth from drought_index that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018373 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, lat, type
Sensor: rainfall | fields: unit, type, lon, lat
Task: Retrieve reading from sunlight that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018374 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: depth, qc, lat, level
Sensor: frost | fields: lat, depth, type, lon
Task: Get reading from humidity where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018375 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: ts, level, lon, unit
Sensor: snow_depth | fields: value, depth, qc, level
Task: Fetch depth from rainfall where reading is greater than the total of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018376 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: type, level, ts, reading
Sensor: temperature | fields: qc, depth, ts, lat
Task: Get value from lightning where depth exceeds the total reading from temperature for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018377 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, depth, type, value
Sensor: pressure | fields: level, lat, depth, reading
Task: Retrieve reading from drought_index whose unit is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018378 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, reading, type
Sensor: uv_index | fields: value, level, reading, unit
Task: Retrieve lat from temperature that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018379 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, value, depth, lon
Sensor: turbidity | fields: ts, lat, level, depth
Task: Fetch lat from sunlight where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018380 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: lat, reading, depth, value
Sensor: air_quality | fields: level, lat, depth, unit
Task: Retrieve depth from rainfall that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018381 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, qc, reading, level
Sensor: dew_point | fields: type, depth, ts, level
Task: Get lat from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018382 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, lon, reading
Sensor: drought_index | fields: qc, depth, reading, ts
Task: Fetch reading from humidity where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018383 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: ts, unit, depth, qc
Sensor: uv_index | fields: unit, qc, type, level
Task: Retrieve lat from sunlight with reading above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018384 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, value, level, depth
Sensor: lightning | fields: level, ts, type, depth
Task: Get depth from snow_depth where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018385 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, lon, level, type
Sensor: snow_depth | fields: level, type, ts, lon
Task: Get lon from temperature where value exceeds the count of depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018386 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, lon, level, lat
Sensor: evaporation | fields: level, type, value, reading
Task: Retrieve lon from rainfall whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018387 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: depth, type, level, lon
Sensor: frost | fields: lon, value, reading, type
Task: Retrieve lat from drought_index with depth above the COUNT(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018388 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, level, qc
Sensor: humidity | fields: type, ts, reading, value
Task: Fetch lat from turbidity where depth exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018389 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, value, level, ts
Sensor: cloud_cover | fields: type, lat, level, reading
Task: Get depth from temperature where depth exceeds the average value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018390 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, level, value, ts
Sensor: temperature | fields: type, unit, depth, level
Task: Fetch reading from humidity where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018391 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, ts, lon, level
Sensor: lightning | fields: reading, type, lon, level
Task: Retrieve level from soil_moisture with reading above the SUM(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018392 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, ts, lon, lat
Sensor: soil_moisture | fields: type, level, reading, depth
Task: Fetch value from drought_index where value is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018393 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, lat, lon
Sensor: drought_index | fields: ts, depth, unit, level
Task: Fetch lat from turbidity where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018394 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lon, type, value, lat
Sensor: evaporation | fields: lon, ts, unit, depth
Task: Retrieve lon from sunlight that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018395 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, level, reading, lon
Sensor: pressure | fields: ts, depth, lon, qc
Task: Fetch lon from sunlight that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018396 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, reading, ts, type
Sensor: visibility | fields: lat, depth, unit, level
Task: Get value from humidity where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018397 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, lat, lon
Sensor: temperature | fields: value, reading, depth, level
Task: Retrieve reading from turbidity with depth above the AVG(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_018398 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lon, lat, type, depth
Sensor: dew_point | fields: unit, value, lon, level
Task: Get value from temperature where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_018399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.