variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: visibility | code: clr | fields: lat, reading, unit, ts
Sensor: frost | fields: unit, ts, qc, reading
Task: Retrieve lat from visibility whose unit is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083300 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, qc, unit, depth
Sensor: drought_index | fields: qc, reading, level, unit
Task: Get value from evaporation where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083301 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, unit, value, level
Sensor: humidity | fields: lon, lat, reading, type
Task: Retrieve lon from temperature whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083302 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, lon, type, level
Sensor: sunlight | fields: unit, lat, value, qc
Task: Retrieve value from uv_index with value above the SUM(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083303 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, unit, lat, ts
Sensor: frost | fields: lat, type, reading, level
Task: Retrieve lon from lightning that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083304 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: unit, lon, value, ts
Sensor: uv_index | fields: reading, lon, ts, unit
Task: Get depth from pressure where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083305 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, level, qc, reading
Sensor: snow_depth | fields: unit, value, level, type
Task: Retrieve depth from cloud_cover whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083306 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, level, reading, lat
Sensor: rainfall | fields: type, level, reading, value
Task: Retrieve depth from evaporation with value above the SUM(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083307 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: reading, qc, ts, level
Sensor: wind_speed | fields: type, lat, level, qc
Task: Get level from humidity where depth appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083308 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, lon, value, depth
Sensor: drought_index | fields: type, qc, depth, lat
Task: Fetch value from lightning where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083309 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, value, lat, qc
Sensor: sunlight | fields: ts, reading, value, lat
Task: Get lon from snow_depth where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083310 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, reading, depth, value
Sensor: temperature | fields: level, lat, value, type
Task: Retrieve depth from turbidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083311 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: reading, type, qc, lat
Sensor: drought_index | fields: qc, reading, type, depth
Task: Fetch level from turbidity that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083312 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, qc, level, ts
Sensor: drought_index | fields: type, value, qc, lon
Task: Get value from dew_point where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083313 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, qc, value, ts
Sensor: soil_moisture | fields: type, unit, reading, lat
Task: Fetch value from evaporation that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083314 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, qc, ts, lon
Sensor: air_quality | fields: lon, unit, value, lat
Task: Get depth from dew_point where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083315 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, value, ts, depth
Sensor: temperature | fields: ts, lon, value, type
Task: Retrieve lon from visibility with value above the COUNT(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083316 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: depth, level, unit, lon
Sensor: sunlight | fields: type, level, value, lat
Task: Get reading from visibility where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083317 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, value, reading, type
Sensor: drought_index | fields: lon, qc, level, unit
Task: Retrieve reading from sunlight with depth above the MIN(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083318 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: value, lat, reading, type
Sensor: cloud_cover | fields: qc, ts, lon, type
Task: Retrieve value from wind_speed whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083319 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, ts, value
Sensor: frost | fields: lon, reading, type, qc
Task: Fetch value from uv_index where unit exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083320 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, lat, level, depth
Sensor: wind_speed | fields: unit, lon, type, depth
Task: Fetch level from snow_depth where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083321 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, reading, depth, lon
Sensor: drought_index | fields: qc, lat, value, reading
Task: Retrieve level from turbidity with value above the AVG(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083322 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, lon, value, level
Sensor: air_quality | fields: level, lat, unit, ts
Task: Get value from drought_index where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083323 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: ts, lat, level, lon
Sensor: frost | fields: ts, level, reading, lat
Task: Retrieve reading from air_quality whose unit is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083324 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: reading, type, lon, level
Sensor: snow_depth | fields: lat, depth, unit, reading
Task: Get level from evaporation where reading exceeds the maximum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083325 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, lon, type, reading
Sensor: lightning | fields: reading, ts, lat, level
Task: Fetch value from evaporation where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083326 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: type, lat, qc, level
Sensor: uv_index | fields: type, level, qc, unit
Task: Fetch lat from sunlight where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083327 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: value, level, depth, lat
Sensor: sunlight | fields: lat, qc, type, depth
Task: Retrieve level from rainfall that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"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_083328 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, value, level, depth
Sensor: dew_point | fields: unit, value, depth, reading
Task: Fetch value from uv_index where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083329 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, qc, depth, lat
Sensor: pressure | fields: reading, unit, value, type
Task: Fetch level from soil_moisture that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083330 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lat, unit, ts, qc
Sensor: snow_depth | fields: qc, depth, type, lon
Task: Retrieve level from rainfall whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083331 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, level, lat, reading
Sensor: visibility | fields: qc, level, value, lat
Task: Get depth from soil_moisture where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083332 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, unit, reading, qc
Sensor: frost | fields: type, unit, level, reading
Task: Fetch value from rainfall where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083333 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, value, qc, unit
Sensor: pressure | fields: lon, lat, unit, level
Task: Get lat from dew_point where depth appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083334 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, ts, lon, qc
Sensor: lightning | fields: lat, ts, depth, lon
Task: Fetch value from drought_index where value is greater than the minimum of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083335 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, value, depth, qc
Sensor: drought_index | fields: depth, qc, type, unit
Task: Get lat from wind_speed where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083336 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, ts, lat, unit
Sensor: pressure | fields: ts, unit, lon, reading
Task: Retrieve lat from turbidity that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083337 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lon, depth, value, type
Sensor: rainfall | fields: reading, depth, lon, value
Task: Fetch value from lightning that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083338 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: depth, lat, lon, qc
Sensor: wind_speed | fields: qc, depth, lat, value
Task: Retrieve lat from uv_index with reading above the SUM(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083339 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, depth, level, lat
Sensor: wind_speed | fields: lat, depth, value, level
Task: Get reading from uv_index where value exceeds the minimum reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083340 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: type, value, lat, reading
Sensor: visibility | fields: type, reading, unit, lat
Task: Fetch lat from drought_index where value is greater than the minimum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083341 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: depth, level, qc, lat
Sensor: sunlight | fields: level, type, unit, lat
Task: Fetch depth from dew_point that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083342 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, ts, unit, type
Sensor: rainfall | fields: lat, type, ts, value
Task: Fetch depth from wind_speed where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083343 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: qc, depth, reading, type
Sensor: soil_moisture | fields: lon, reading, lat, type
Task: Retrieve depth from drought_index whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083344 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, value, type, ts
Sensor: lightning | fields: lon, level, qc, lat
Task: Fetch level from cloud_cover where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083345 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, lon, value, ts
Sensor: visibility | fields: depth, qc, reading, lon
Task: Retrieve value from sunlight whose unit is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083346 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, qc, ts, type
Sensor: dew_point | fields: unit, type, level, ts
Task: Fetch lon from pressure where value is greater than the maximum of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083347 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, lon, reading, ts
Sensor: humidity | fields: lon, level, type, depth
Task: Retrieve level from dew_point that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083348 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, qc, depth, level
Sensor: drought_index | fields: level, ts, lat, depth
Task: Get value from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083349 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: unit, level, lon, qc
Sensor: turbidity | fields: depth, value, unit, qc
Task: Retrieve value from temperature that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083350 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, ts, depth, value
Sensor: sunlight | fields: level, ts, unit, lon
Task: Fetch lat from snow_depth that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083351 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: ts, value, type, qc
Sensor: soil_moisture | fields: reading, value, lat, level
Task: Retrieve value from dew_point that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083352 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, qc, reading, unit
Sensor: wind_speed | fields: level, unit, reading, depth
Task: Fetch depth from cloud_cover where reading is greater than the minimum of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083353 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, lat, lon, qc
Sensor: frost | fields: ts, lat, unit, type
Task: Retrieve value from dew_point with value above the MIN(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083354 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, ts, reading, depth
Sensor: sunlight | fields: lon, lat, qc, depth
Task: Retrieve level from snow_depth with depth above the COUNT(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083355 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, unit, lat, level
Sensor: pressure | fields: level, ts, reading, qc
Task: Retrieve lon from dew_point whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083356 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: type, ts, level, qc
Sensor: soil_moisture | fields: reading, type, depth, unit
Task: Fetch lat from visibility that have at least one corresponding soil_moisture measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083357 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, qc, reading, depth
Sensor: temperature | fields: lat, unit, level, depth
Task: Get lon from rainfall where reading exceeds the count of value from temperature for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083358 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, unit, level, value
Sensor: pressure | fields: depth, lat, qc, type
Task: Get lat from air_quality where depth appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083359 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, qc, lon, reading
Sensor: snow_depth | fields: lon, unit, ts, qc
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="ref"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083360 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, type, lon, level
Sensor: drought_index | fields: level, type, ts, value
Task: Retrieve lat from dew_point that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083361 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: level, type, lat, unit
Sensor: frost | fields: qc, type, ts, reading
Task: Retrieve lat from temperature that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083362 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: qc, unit, lat, reading
Sensor: dew_point | fields: lon, level, qc, reading
Task: Get lat from turbidity where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083363 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, level, type, unit
Sensor: temperature | fields: level, qc, type, lat
Task: Fetch lat from dew_point where type exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"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_083364 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, depth, qc, lat
Sensor: rainfall | fields: unit, lon, ts, level
Task: Retrieve lon from cloud_cover that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083365 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, lon, lat, qc
Sensor: air_quality | fields: level, lat, unit, type
Task: Fetch value from lightning where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083366 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, depth, lon, type
Sensor: lightning | fields: type, lon, level, lat
Task: Retrieve reading from cloud_cover that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083367 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: level, depth, unit, qc
Sensor: rainfall | fields: reading, lon, level, depth
Task: Retrieve value from temperature with depth above the AVG(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083368 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, lat, ts, lon
Sensor: soil_moisture | fields: depth, ts, qc, reading
Task: Fetch value from evaporation where value is greater than the average of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083369 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: level, lat, depth, reading
Sensor: rainfall | fields: value, reading, lat, type
Task: Retrieve lat from frost that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083370 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: type, qc, lon, value
Sensor: air_quality | fields: unit, depth, type, lon
Task: Fetch level from turbidity where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083371 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: level, type, depth, ts
Sensor: sunlight | fields: unit, value, type, lat
Task: Get reading from pressure where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083372 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: level, value, lon, qc
Sensor: humidity | fields: lon, level, lat, type
Task: Get depth from uv_index where depth exceeds the total depth from humidity for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083373 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, level, unit, lon
Sensor: turbidity | fields: qc, lon, ts, value
Task: Fetch level from dew_point that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083374 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, value, level, qc
Sensor: humidity | fields: value, reading, depth, ts
Task: Retrieve lon from rainfall with value above the SUM(reading) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083375 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: type, unit, depth, level
Sensor: air_quality | fields: lon, lat, qc, level
Task: Fetch lon from turbidity where depth is greater than the maximum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083376 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: level, qc, lat, ts
Sensor: turbidity | fields: level, type, value, lon
Task: Get lat from temperature where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083377 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lon, type, reading
Sensor: wind_speed | fields: unit, ts, lon, reading
Task: Retrieve value from dew_point with depth above the MAX(value) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083378 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, ts, lon, reading
Sensor: turbidity | fields: lat, type, value, depth
Task: Fetch level from drought_index that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083379 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: qc, lon, unit, lat
Sensor: lightning | fields: ts, qc, depth, value
Task: Retrieve depth from drought_index with reading above the SUM(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083380 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: lon, depth, reading, type
Sensor: pressure | fields: type, value, level, qc
Task: Fetch depth from uv_index that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083381 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: reading, lon, depth, ts
Sensor: frost | fields: reading, lat, unit, type
Task: Retrieve depth from pressure whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083382 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: qc, lat, depth, ts
Sensor: drought_index | fields: unit, type, qc, lon
Task: Fetch value from rainfall that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083383 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, reading, unit, qc
Sensor: pressure | fields: value, reading, lon, level
Task: Get lon from lightning where qc appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083384 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lon, level, reading
Sensor: frost | fields: value, unit, lat, qc
Task: Fetch lat from soil_moisture that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083385 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: reading, ts, lat, value
Sensor: frost | fields: ts, unit, type, lat
Task: Retrieve lon from drought_index that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083386 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, type, qc, depth
Sensor: evaporation | fields: reading, unit, lat, qc
Task: Get value from drought_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083387 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, value, lon, reading
Sensor: uv_index | fields: depth, qc, unit, lat
Task: Retrieve lon from soil_moisture that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083388 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: level, reading, lon, depth
Sensor: soil_moisture | fields: lon, lat, reading, depth
Task: Retrieve lat from snow_depth whose qc is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083389 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, unit, reading, value
Sensor: turbidity | fields: unit, lat, qc, lon
Task: Fetch value from wind_speed where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083390 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: depth, type, unit, lon
Sensor: drought_index | fields: reading, level, lat, qc
Task: Get depth from evaporation where reading exceeds the maximum value from drought_index for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083391 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, level, ts, lon
Sensor: drought_index | fields: ts, depth, unit, reading
Task: Get depth from temperature where reading exceeds the maximum reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083392 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, level, lat, type
Sensor: dew_point | fields: value, reading, lon, type
Task: Retrieve value from soil_moisture that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083393 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, depth, type, level
Sensor: lightning | fields: level, ts, type, depth
Task: Fetch lon from humidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083394 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, unit, qc, level
Sensor: visibility | fields: value, level, reading, lon
Task: Get reading from soil_moisture where ts appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083395 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, value, qc, lat
Sensor: soil_moisture | fields: level, lon, qc, value
Task: Retrieve value from humidity with depth above the SUM(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083396 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, lat, reading, value
Sensor: air_quality | fields: qc, reading, level, depth
Task: Retrieve value from temperature that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_083397 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, depth, type, lat
Sensor: pressure | fields: lat, lon, unit, type
Task: Get level from drought_index where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083398 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, qc, lat, level
Sensor: lightning | fields: ts, lat, lon, depth
Task: Retrieve value from cloud_cover with depth above the SUM(reading) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_083399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.