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: visibility | code: clr | fields: depth, level, qc, lon
Sensor: pressure | fields: type, value, depth, reading
Task: Retrieve reading from visibility that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069300 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, unit, lat, level
Sensor: lightning | fields: lat, qc, reading, level
Task: Retrieve level from visibility that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069301 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, level, lat, qc
Sensor: evaporation | fields: depth, value, reading, ts
Task: Fetch level from lightning where reading is greater than the average of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069302 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, lon, level, lat
Sensor: snow_depth | fields: level, lon, depth, reading
Task: Get level from visibility where value exceeds the average reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069303 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, depth, reading, value
Sensor: temperature | fields: value, reading, qc, ts
Task: Retrieve depth from dew_point that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069304 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, qc, depth, level
Sensor: humidity | fields: depth, type, unit, lon
Task: Get lat from dew_point where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069305 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: reading, unit, ts, depth
Sensor: cloud_cover | fields: lon, value, qc, depth
Task: Fetch reading from frost that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069306 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, ts, level, lat
Sensor: sunlight | fields: level, lon, lat, qc
Task: Retrieve lat from visibility that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069307 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: qc, type, value, reading
Sensor: rainfall | fields: ts, type, qc, unit
Task: Retrieve depth from uv_index whose qc is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069308 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: value, ts, depth, reading
Sensor: snow_depth | fields: lat, ts, lon, qc
Task: Retrieve depth from turbidity whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069309 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, unit, reading
Sensor: evaporation | fields: qc, lat, unit, lon
Task: Retrieve reading from snow_depth with depth above the MIN(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069310 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, unit, qc, depth
Sensor: temperature | fields: value, ts, lon, qc
Task: Retrieve depth from soil_moisture that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069311 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, type, unit, ts
Sensor: air_quality | fields: unit, ts, reading, type
Task: Get depth from pressure where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"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_069312 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: lat, ts, reading, type
Sensor: soil_moisture | fields: unit, depth, type, lon
Task: Fetch lat from lightning where unit exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069313 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: level, ts, qc, depth
Sensor: drought_index | fields: ts, unit, value, type
Task: Get lat from lightning where depth exceeds the count of value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069314 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, type, lat, depth
Sensor: rainfall | fields: reading, value, qc, type
Task: Get level from soil_moisture where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069315 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, type, lon, qc
Sensor: rainfall | fields: qc, value, lat, level
Task: Retrieve depth from lightning with value above the MAX(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069316 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, lat, type, lon
Sensor: frost | fields: depth, reading, level, qc
Task: Get lat from evaporation where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069317 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, value, depth, lat
Sensor: temperature | fields: type, ts, unit, qc
Task: Get lon from dew_point where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069318 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, level, unit, depth
Sensor: evaporation | fields: level, depth, qc, lon
Task: Retrieve lon from cloud_cover whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069319 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, type, qc, ts
Sensor: dew_point | fields: lat, depth, qc, type
Task: Retrieve lon from lightning whose depth is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069320 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, lon, type
Sensor: rainfall | fields: reading, lon, level, value
Task: Get level from dew_point where depth appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069321 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, value, ts, lon
Sensor: drought_index | fields: depth, type, level, lat
Task: Retrieve depth from uv_index whose depth is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069322 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lon, lat, qc
Sensor: pressure | fields: reading, type, unit, lat
Task: Get lon from turbidity where value exceeds the average value from pressure for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069323 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, ts, level
Sensor: visibility | fields: level, lon, value, qc
Task: Get value from temperature where reading exceeds the total value from visibility for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069324 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: depth, ts, qc, type
Sensor: temperature | fields: depth, level, qc, type
Task: Fetch level from turbidity where value is greater than the minimum of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069325 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, level, type, ts
Sensor: turbidity | fields: lat, qc, unit, lon
Task: Fetch value from pressure that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069326 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, ts, reading, value
Sensor: evaporation | fields: ts, type, unit, depth
Task: Get level from sunlight where depth exceeds the minimum depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069327 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, level, qc, depth
Sensor: drought_index | fields: depth, lon, qc, type
Task: Retrieve level from frost that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069328 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, qc, ts, reading
Sensor: turbidity | fields: value, lon, depth, qc
Task: Fetch value from visibility where unit exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069329 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, type, qc, lat
Sensor: frost | fields: ts, value, lon, type
Task: Get value from visibility where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069330 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, reading, lat, qc
Sensor: snow_depth | fields: lon, level, reading, ts
Task: Retrieve lon from cloud_cover whose depth is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069331 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, depth, reading, unit
Sensor: frost | fields: ts, value, depth, type
Task: Fetch value from wind_speed where depth is greater than the average of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069332 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, qc, level, ts
Sensor: dew_point | fields: qc, lat, reading, level
Task: Get value from snow_depth where ts appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069333 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, unit, depth, lat
Sensor: cloud_cover | fields: unit, type, qc, ts
Task: Fetch level from air_quality where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069334 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: type, ts, qc, depth
Sensor: frost | fields: level, value, unit, lat
Task: Retrieve lon from dew_point with reading above the MIN(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069335 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, unit, ts, depth
Sensor: snow_depth | fields: ts, lon, qc, reading
Task: Fetch level from uv_index where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069336 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, level, ts
Sensor: dew_point | fields: unit, lat, level, value
Task: Get lat from wind_speed where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069337 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: type, lon, unit, level
Sensor: turbidity | fields: lon, qc, depth, level
Task: Get depth from temperature where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069338 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, ts, depth, reading
Sensor: turbidity | fields: level, ts, unit, reading
Task: Retrieve lat from temperature whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069339 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, depth, qc, ts
Sensor: rainfall | fields: qc, lon, reading, depth
Task: Fetch lat from turbidity where value is greater than the total of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069340 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, level, ts, type
Sensor: soil_moisture | fields: unit, level, lat, reading
Task: Fetch depth from air_quality that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069341 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, ts, level, reading
Sensor: humidity | fields: type, unit, qc, depth
Task: Get value from soil_moisture where depth appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069342 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: qc, type, level, ts
Sensor: pressure | fields: lon, value, level, qc
Task: Fetch depth from air_quality where reading is greater than the minimum of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069343 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: unit, ts, lon, type
Sensor: snow_depth | fields: reading, depth, lat, unit
Task: Fetch lon from frost where reading is greater than the average of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069344 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, reading, level, value
Sensor: pressure | fields: ts, qc, reading, unit
Task: Get reading from lightning where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069345 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: qc, depth, type, lon
Sensor: snow_depth | fields: value, type, lat, qc
Task: Retrieve reading from visibility with depth above the COUNT(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"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_069346 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, level, ts
Sensor: evaporation | fields: lat, level, depth, type
Task: Retrieve level from lightning that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069347 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: lat, ts, level, depth
Sensor: turbidity | fields: unit, lon, lat, value
Task: Fetch lat from frost that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069348 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lon, level, lat, value
Sensor: evaporation | fields: qc, depth, reading, type
Task: Get lat from snow_depth where unit appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069349 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, lat, lon, level
Sensor: frost | fields: type, depth, lon, ts
Task: Get reading from humidity where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069350 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: level, lon, depth, value
Sensor: pressure | fields: unit, type, lon, depth
Task: Get value from frost where value exceeds the minimum depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"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_069351 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, ts, type, level
Sensor: sunlight | fields: ts, lon, qc, lat
Task: Get level from lightning where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069352 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: unit, lat, lon, depth
Sensor: wind_speed | fields: lat, unit, lon, value
Task: Retrieve reading from frost with depth above the AVG(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069353 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, unit, depth, ts
Sensor: evaporation | fields: lon, unit, depth, ts
Task: Fetch depth from turbidity where qc exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069354 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, depth, lon, lat
Sensor: pressure | fields: level, lon, depth, lat
Task: Get level from lightning where depth exceeds the average depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069355 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: qc, unit, reading, value
Sensor: air_quality | fields: reading, value, type, qc
Task: Get depth from rainfall where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069356 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, lon, unit, depth
Sensor: temperature | fields: value, qc, lat, lon
Task: Get reading from soil_moisture where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069357 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, level, depth, lon
Sensor: frost | fields: qc, lat, level, depth
Task: Retrieve lat from temperature that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069358 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: qc, reading, unit, level
Sensor: air_quality | fields: unit, lon, level, type
Task: Get lat from evaporation where qc appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069359 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, type, unit, ts
Sensor: frost | fields: lat, reading, level, depth
Task: Fetch value from snow_depth where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069360 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, qc, level, unit
Sensor: wind_speed | fields: value, depth, lat, lon
Task: Retrieve level from rainfall with value above the COUNT(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069361 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, lat, depth
Sensor: cloud_cover | fields: unit, type, lat, ts
Task: Fetch lon from soil_moisture that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069362 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, lat, ts, depth
Sensor: snow_depth | fields: level, type, lat, unit
Task: Get lat from lightning where value exceeds the maximum value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069363 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: unit, lon, depth, qc
Sensor: wind_speed | fields: depth, level, lon, ts
Task: Retrieve depth from rainfall with value above the MIN(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069364 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: level, ts, type, lon
Sensor: wind_speed | fields: unit, lat, depth, level
Task: Retrieve lat from frost with reading above the SUM(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069365 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, level, reading, ts
Sensor: uv_index | fields: lat, lon, value, type
Task: Get lat from humidity where reading exceeds the total value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069366 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: depth, value, level, reading
Sensor: rainfall | fields: value, lat, qc, level
Task: Fetch depth from visibility that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069367 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, reading, lon
Sensor: sunlight | fields: unit, level, depth, type
Task: Get depth from dew_point where depth exceeds the maximum depth from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069368 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, level, lon, unit
Sensor: uv_index | fields: ts, reading, depth, qc
Task: Get value from soil_moisture where depth exceeds the average depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"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_069369 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: qc, type, lon, ts
Sensor: temperature | fields: ts, unit, type, depth
Task: Get lat from turbidity where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069370 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, reading, depth, ts
Sensor: drought_index | fields: ts, reading, level, qc
Task: Get lat from cloud_cover where value exceeds the maximum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069371 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, type, qc, value
Sensor: cloud_cover | fields: value, level, unit, reading
Task: Get depth from sunlight where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069372 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, unit, reading, type
Sensor: sunlight | fields: type, unit, level, ts
Task: Retrieve level from visibility whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069373 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: level, lon, type, qc
Sensor: dew_point | fields: type, unit, ts, reading
Task: Fetch lat from rainfall where depth is greater than the maximum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069374 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, depth, qc
Sensor: lightning | fields: lat, value, lon, level
Task: Fetch lon from sunlight where qc exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069375 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: ts, lat, qc, unit
Sensor: sunlight | fields: lat, qc, reading, type
Task: Fetch level from temperature where depth is greater than the minimum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069376 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: unit, depth, value, lat
Sensor: uv_index | fields: ts, lat, qc, value
Task: Retrieve lon from frost whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069377 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, type, qc, lon
Sensor: dew_point | fields: depth, value, lat, qc
Task: Retrieve lon from snow_depth that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"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_069378 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, reading, lat, type
Sensor: pressure | fields: reading, unit, qc, lon
Task: Fetch depth from snow_depth where depth exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069379 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, ts, level, lat
Sensor: dew_point | fields: qc, ts, lon, level
Task: Retrieve level from drought_index whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069380 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, value, unit, lon
Sensor: rainfall | fields: level, reading, qc, depth
Task: Retrieve lon from dew_point that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069381 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, ts, qc, reading
Sensor: soil_moisture | fields: ts, unit, qc, lat
Task: Retrieve depth from frost that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069382 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, reading, unit
Sensor: cloud_cover | fields: qc, depth, type, lat
Task: Retrieve level from temperature whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"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_069383 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, depth, lon, lat
Sensor: humidity | fields: level, lat, qc, reading
Task: Get lat from drought_index where qc appears in humidity readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069384 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, reading, level, type
Sensor: humidity | fields: ts, type, reading, level
Task: Retrieve lat from soil_moisture whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069385 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, lat, lon, reading
Sensor: air_quality | fields: lon, depth, lat, unit
Task: Get reading from uv_index where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069386 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, reading, value, lat
Sensor: visibility | fields: depth, lon, level, lat
Task: Fetch value from turbidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069387 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, value, unit, lat
Sensor: humidity | fields: reading, lon, level, ts
Task: Retrieve value from pressure whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069388 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: value, ts, level, lon
Sensor: rainfall | fields: type, unit, value, lon
Task: Get lat from evaporation where qc appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069389 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lon, unit, type, lat
Sensor: sunlight | fields: ts, qc, reading, lon
Task: Fetch depth from drought_index that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069390 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, lat, reading, value
Sensor: humidity | fields: ts, value, lat, lon
Task: Retrieve reading from pressure that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069391 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, lat, ts, value
Sensor: rainfall | fields: type, level, lat, ts
Task: Get level from cloud_cover where depth exceeds the maximum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069392 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, value, type, level
Sensor: air_quality | fields: qc, lat, reading, level
Task: Fetch level from cloud_cover where ts exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069393 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: type, value, depth, reading
Sensor: temperature | fields: ts, type, value, lon
Task: Fetch level from visibility where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069394 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, depth, unit, lat
Sensor: uv_index | fields: qc, lon, level, lat
Task: Get reading from turbidity where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069395 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: ts, depth, level, lat
Sensor: humidity | fields: level, lon, lat, reading
Task: Retrieve reading from uv_index whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069396 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: value, ts, unit, lon
Sensor: frost | fields: unit, depth, ts, lon
Task: Retrieve level from turbidity that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069397 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, reading, lat, qc
Sensor: wind_speed | fields: unit, depth, qc, value
Task: Fetch depth from sunlight where depth is greater than the maximum of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_069398 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, depth, level, reading
Sensor: turbidity | fields: unit, depth, ts, lon
Task: Fetch value from lightning that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_069399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.