variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: evaporation | code: mst | fields: reading, level, unit, depth
Sensor: sunlight | fields: value, ts, depth, qc
Task: Get lon from evaporation where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033300 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, unit, depth
Sensor: soil_moisture | fields: ts, value, unit, depth
Task: Retrieve level from sunlight that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033301 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, value, qc, type
Sensor: turbidity | fields: type, qc, level, value
Task: Get lat from evaporation where value exceeds the average reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033302 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: type, qc, lat, ts
Sensor: cloud_cover | fields: qc, ts, depth, reading
Task: Retrieve level from uv_index whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033303 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, value, ts, reading
Sensor: dew_point | fields: value, qc, type, depth
Task: Get value from air_quality where ts appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033304 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, lat, reading, type
Sensor: sunlight | fields: reading, ts, unit, level
Task: Get depth from rainfall where reading exceeds the minimum depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033305 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, type, unit, lat
Sensor: rainfall | fields: lat, reading, value, lon
Task: Retrieve value from soil_moisture whose qc is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033306 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, qc, type, ts
Sensor: sunlight | fields: qc, type, lon, depth
Task: Get lon from frost where value exceeds the count of value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033307 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, lat, value, depth
Sensor: air_quality | fields: value, qc, type, unit
Task: Fetch lat from humidity where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033308 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, lon, type, qc
Sensor: soil_moisture | fields: ts, lat, reading, value
Task: Retrieve depth from uv_index whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033309 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: qc, value, lon, unit
Sensor: cloud_cover | fields: value, reading, lon, qc
Task: Retrieve lat 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="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033310 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, lat, ts
Sensor: lightning | fields: ts, lon, level, depth
Task: Get lat from pressure where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033311 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, reading, qc, depth
Sensor: air_quality | fields: value, ts, unit, reading
Task: Fetch lat from visibility where value is greater than the minimum of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033312 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: depth, ts, qc, level
Sensor: rainfall | fields: level, qc, reading, value
Task: Fetch level from dew_point where depth is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033313 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, lon, value
Sensor: drought_index | fields: lon, level, unit, type
Task: Get lat from sunlight where depth exceeds the minimum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033314 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, qc, unit, lat
Sensor: temperature | fields: ts, lat, depth, reading
Task: Fetch lon from dew_point that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033315 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, level, ts, value
Sensor: snow_depth | fields: level, lat, reading, lon
Task: Fetch reading from air_quality that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033316 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: value, ts, depth, level
Sensor: air_quality | fields: type, reading, lon, lat
Task: Get value from frost where depth appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033317 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, reading, lon
Sensor: dew_point | fields: level, type, depth, value
Task: Retrieve level from sunlight whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033318 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, reading, lon, level
Sensor: dew_point | fields: ts, level, value, depth
Task: Fetch value from sunlight where value is greater than the count of of reading in dew_point for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033319 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: unit, type, reading, level
Sensor: drought_index | fields: reading, qc, depth, ts
Task: Fetch depth from dew_point where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033320 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: unit, reading, qc, depth
Sensor: soil_moisture | fields: lat, reading, qc, type
Task: Get lon from turbidity where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033321 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, ts, unit, level
Sensor: wind_speed | fields: lon, level, lat, ts
Task: Get value from rainfall where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033322 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lat, lon, depth
Sensor: dew_point | fields: qc, lat, ts, reading
Task: Retrieve reading from evaporation with value above the AVG(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033323 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, qc, ts, lon
Sensor: frost | fields: lat, qc, value, ts
Task: Get lon from air_quality where reading exceeds the minimum depth from frost for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033324 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, qc, lon, reading
Sensor: lightning | fields: level, ts, qc, reading
Task: Fetch lon from snow_depth where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033325 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: unit, ts, value, type
Sensor: snow_depth | fields: unit, depth, lat, value
Task: Retrieve reading from rainfall whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033326 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lon, ts, unit, type
Sensor: frost | fields: lon, unit, level, ts
Task: Retrieve reading from humidity with value above the AVG(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033327 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, qc, depth, lat
Sensor: snow_depth | fields: level, lat, reading, ts
Task: Get level from soil_moisture where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033328 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, ts, lat, lon
Sensor: turbidity | fields: lon, qc, ts, reading
Task: Get level from evaporation where depth exceeds the minimum depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033329 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: ts, qc, reading, type
Sensor: pressure | fields: reading, level, ts, type
Task: Fetch depth from evaporation where value is greater than the minimum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033330 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lon, unit, reading
Sensor: rainfall | fields: ts, unit, value, depth
Task: Retrieve level from snow_depth whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033331 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: qc, lat, level, depth
Sensor: pressure | fields: level, type, depth, unit
Task: Get value from turbidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033332 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, ts, level, unit
Sensor: uv_index | fields: reading, type, level, lon
Task: Retrieve lon from soil_moisture with depth above the AVG(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033333 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, type, depth, lon
Sensor: uv_index | fields: ts, type, depth, qc
Task: Retrieve value from turbidity with depth above the MAX(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033334 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: ts, qc, unit, depth
Sensor: lightning | fields: unit, level, value, lon
Task: Retrieve value from sunlight whose type is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033335 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: level, qc, reading, ts
Sensor: humidity | fields: qc, level, lat, type
Task: Fetch lon from wind_speed that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033336 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, unit, value, depth
Sensor: evaporation | fields: value, lat, lon, qc
Task: Retrieve lat from drought_index with reading above the AVG(reading) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033337 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, level, value, depth
Sensor: sunlight | fields: lon, unit, ts, reading
Task: Get level from temperature where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033338 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, unit, value, lat
Sensor: frost | fields: qc, reading, ts, lat
Task: Get level from dew_point where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033339 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, level, value, ts
Sensor: frost | fields: ts, qc, reading, level
Task: Retrieve lon from cloud_cover whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033340 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, value, qc
Sensor: lightning | fields: unit, level, depth, type
Task: Retrieve depth from cloud_cover whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033341 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, type, level, ts
Sensor: turbidity | fields: level, unit, reading, qc
Task: Retrieve reading from drought_index with value above the MIN(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033342 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: value, qc, type, lat
Sensor: air_quality | fields: level, reading, ts, type
Task: Get level from pressure where depth exceeds the minimum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033343 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, depth, level, unit
Sensor: air_quality | fields: type, value, ts, depth
Task: Retrieve lon from temperature that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033344 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: ts, lon, qc, lat
Sensor: evaporation | fields: qc, reading, depth, ts
Task: Get lon from rainfall where ts appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033345 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, reading, value, type
Sensor: pressure | fields: depth, level, qc, unit
Task: Fetch reading from lightning where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033346 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, lon, lat, reading
Sensor: drought_index | fields: lon, reading, ts, value
Task: Retrieve lon from air_quality with depth above the MAX(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033347 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: qc, unit, ts, value
Sensor: evaporation | fields: ts, unit, lon, depth
Task: Fetch lon from pressure that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033348 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: lon, depth, value, reading
Sensor: cloud_cover | fields: type, value, level, lat
Task: Retrieve level from frost whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033349 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, lat, depth, type
Sensor: soil_moisture | fields: ts, lon, unit, reading
Task: Retrieve value from lightning whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033350 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: depth, level, type, lon
Sensor: evaporation | fields: lat, qc, value, depth
Task: Get lon from humidity where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033351 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: lon, unit, value, level
Sensor: humidity | fields: lon, ts, unit, value
Task: Get depth from drought_index where qc appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033352 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, reading, ts, depth
Sensor: cloud_cover | fields: ts, unit, depth, lat
Task: Fetch level from evaporation where ts exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033353 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, ts, level, lon
Sensor: evaporation | fields: lat, qc, value, type
Task: Get reading from snow_depth where value exceeds the maximum depth from evaporation for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033354 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: level, type, lat, lon
Sensor: pressure | fields: lat, qc, type, level
Task: Get depth from drought_index where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033355 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, level, type, depth
Sensor: frost | fields: ts, level, depth, unit
Task: Fetch value from turbidity where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033356 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: reading, level, lat, depth
Sensor: evaporation | fields: ts, lon, lat, qc
Task: Retrieve reading from uv_index that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033357 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, qc, lon, value
Sensor: wind_speed | fields: unit, ts, lon, depth
Task: Get depth from evaporation where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033358 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, reading, level, lat
Sensor: uv_index | fields: lon, depth, qc, reading
Task: Retrieve value from cloud_cover that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033359 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lat, ts, lon, level
Sensor: rainfall | fields: qc, lat, type, value
Task: Get reading from sunlight where value exceeds the count of depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033360 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: qc, lon, reading, ts
Sensor: pressure | fields: ts, reading, value, lat
Task: Get level from lightning where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033361 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, lat, lon, reading
Sensor: dew_point | fields: reading, unit, depth, qc
Task: Get level from wind_speed where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033362 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: level, lon, qc, unit
Sensor: visibility | fields: lon, lat, level, ts
Task: Get lat from drought_index where depth exceeds the minimum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033363 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, lon, ts, level
Sensor: wind_speed | fields: qc, level, type, reading
Task: Retrieve lat from uv_index whose ts is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033364 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: depth, lon, value, ts
Sensor: soil_moisture | fields: reading, type, level, unit
Task: Get level from air_quality where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033365 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, lat, type, level
Sensor: air_quality | fields: lon, lat, qc, value
Task: Get level from frost where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033366 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, unit, lat, qc
Sensor: cloud_cover | fields: lat, ts, level, type
Task: Get lat from visibility where depth exceeds the minimum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033367 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, depth, lon, ts
Sensor: lightning | fields: lon, level, reading, qc
Task: Retrieve lon from pressure that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033368 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, depth, level, lat
Sensor: visibility | fields: lon, depth, lat, reading
Task: Fetch lat from cloud_cover that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033369 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, unit, depth, value
Sensor: drought_index | fields: ts, qc, unit, level
Task: Fetch reading from frost that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033370 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, level, qc, depth
Sensor: pressure | fields: level, value, qc, unit
Task: Fetch level from air_quality that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033371 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, depth, lon, lat
Sensor: sunlight | fields: ts, lon, lat, type
Task: Fetch lon from air_quality that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033372 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, reading, lon, value
Sensor: rainfall | fields: unit, level, reading, type
Task: Fetch level from cloud_cover where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033373 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, lat, level, qc
Sensor: air_quality | fields: value, lon, depth, level
Task: Retrieve depth from cloud_cover that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033374 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, ts, depth, value
Sensor: wind_speed | fields: lon, value, reading, ts
Task: Get level from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033375 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, unit, lat, type
Sensor: dew_point | fields: ts, value, type, reading
Task: Get lon from temperature where value exceeds the maximum depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033376 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: value, reading, depth, lon
Sensor: rainfall | fields: lat, level, reading, value
Task: Retrieve depth from wind_speed with depth above the AVG(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033377 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: qc, level, type, lon
Sensor: humidity | fields: depth, lon, lat, level
Task: Retrieve lat from uv_index whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033378 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: unit, level, type, reading
Sensor: evaporation | fields: reading, lon, level, qc
Task: Get lon from frost where value exceeds the count of value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033379 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: depth, qc, lon, level
Sensor: frost | fields: value, qc, depth, type
Task: Get depth from uv_index where type appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033380 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, unit, lon, level
Sensor: evaporation | fields: level, qc, lat, ts
Task: Get level from wind_speed where reading exceeds the average depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033381 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, type, reading, depth
Sensor: snow_depth | fields: lon, depth, ts, value
Task: Get reading from cloud_cover where type appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033382 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, type, level, lon
Sensor: visibility | fields: qc, lat, reading, depth
Task: Fetch reading from cloud_cover where depth is greater than the total of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033383 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, depth, type, qc
Sensor: drought_index | fields: unit, reading, level, qc
Task: Fetch reading from frost where reading is greater than the minimum of depth in drought_index for matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033384 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: lon, level, lat, ts
Sensor: sunlight | fields: ts, lat, lon, value
Task: Get lat from rainfall where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033385 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, level, reading, ts
Sensor: dew_point | fields: qc, depth, value, type
Task: Fetch level from turbidity where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033386 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: value, unit, ts, qc
Sensor: uv_index | fields: reading, lat, lon, level
Task: Retrieve lon from dew_point with depth above the SUM(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033387 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, type, depth, lat
Sensor: rainfall | fields: unit, level, lat, lon
Task: Get level from soil_moisture where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033388 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, lon, value, lat
Sensor: soil_moisture | fields: depth, reading, type, level
Task: Retrieve reading from temperature with depth above the MIN(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"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_033389 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, unit, ts, lon
Sensor: air_quality | fields: reading, level, unit, qc
Task: Fetch value from dew_point where reading is greater than the maximum of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033390 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: reading, qc, lat, value
Sensor: wind_speed | fields: depth, value, reading, type
Task: Fetch lat from dew_point where depth is greater than the maximum of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033391 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: level, lat, type, qc
Sensor: sunlight | fields: lon, value, unit, lat
Task: Get value from pressure where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033392 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, lat, ts, value
Sensor: rainfall | fields: unit, ts, level, depth
Task: Get depth from snow_depth where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033393 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: ts, qc, depth, reading
Sensor: cloud_cover | fields: depth, lon, value, reading
Task: Fetch level from evaporation that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033394 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: reading, lon, level, depth
Sensor: air_quality | fields: lon, ts, lat, type
Task: Retrieve lon from temperature with value above the COUNT(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_033395 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, level, lat, ts
Sensor: evaporation | fields: level, reading, type, depth
Task: Retrieve depth from lightning with depth above the MAX(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033396 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, depth, lon, type
Sensor: cloud_cover | fields: reading, qc, lat, lon
Task: Get depth from drought_index where type appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033397 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: reading, level, depth, type
Sensor: uv_index | fields: level, qc, type, value
Task: Get level from visibility where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033398 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, type, qc, ts
Sensor: pressure | fields: depth, level, value, lat
Task: Get reading from rainfall where reading exceeds the maximum depth from pressure for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_033399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.