variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, qc, unit, lat
Sensor: dew_point | fields: type, qc, ts, level
Task: Retrieve depth from sunlight with depth above the AVG(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005300 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, unit, level, qc
Sensor: soil_moisture | fields: reading, depth, lat, ts
Task: Get level from uv_index where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005301 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, qc, unit, lat
Sensor: visibility | fields: reading, qc, lat, ts
Task: Fetch lon from snow_depth where depth is greater than the minimum of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005302 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: depth, reading, level, lon
Sensor: soil_moisture | fields: value, ts, lon, level
Task: Fetch depth from lightning where unit exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005303 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, lat, reading, depth
Sensor: air_quality | fields: lon, value, level, ts
Task: Get level from snow_depth where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005304 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: value, level, lon, type
Sensor: rainfall | fields: type, unit, qc, lat
Task: Fetch level from air_quality where depth exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005305 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, qc, unit, lat
Sensor: visibility | fields: value, ts, level, type
Task: Get lat from dew_point where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005306 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: unit, lat, lon, qc
Sensor: wind_speed | fields: value, depth, lon, lat
Task: Get level from evaporation where reading exceeds the maximum depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005307 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, unit, qc
Sensor: pressure | fields: unit, lon, level, qc
Task: Retrieve depth from sunlight with value above the SUM(reading) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005308 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: type, lon, value, lat
Sensor: turbidity | fields: qc, reading, value, lat
Task: Retrieve value from temperature whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005309 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, depth, reading, unit
Sensor: pressure | fields: value, type, level, unit
Task: Get lon from lightning where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005310 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: depth, value, ts, reading
Sensor: pressure | fields: unit, value, level, lon
Task: Get value from visibility where value exceeds the minimum depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005311 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, value, ts, unit
Sensor: air_quality | fields: type, value, reading, ts
Task: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"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_005312 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: ts, lon, depth, unit
Sensor: humidity | fields: lon, qc, unit, ts
Task: Get lat from lightning where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005313 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, level, depth, unit
Sensor: snow_depth | fields: qc, type, unit, level
Task: Fetch lon from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005314 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, level, unit, reading
Sensor: visibility | fields: lon, lat, depth, reading
Task: Fetch lon from turbidity that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005315 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, lon, reading, qc
Sensor: turbidity | fields: depth, lat, level, ts
Task: Get lat from dew_point where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005316 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: type, depth, value, unit
Sensor: temperature | fields: lat, unit, qc, lon
Task: Get lat from lightning where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005317 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: level, qc, type, lat
Sensor: frost | fields: reading, value, unit, lon
Task: Get depth from snow_depth where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005318 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lat, qc, unit, type
Sensor: soil_moisture | fields: reading, value, ts, lat
Task: Get reading from turbidity where reading exceeds the count of depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005319 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, unit, type, lat
Sensor: evaporation | fields: depth, lon, lat, type
Task: Fetch level from snow_depth where value is greater than the total of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"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_005320 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, level, type, qc
Sensor: humidity | fields: lat, level, type, ts
Task: Fetch depth from wind_speed that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005321 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: ts, depth, reading, level
Sensor: dew_point | fields: level, value, reading, lon
Task: Fetch lat from drought_index where reading is greater than the total of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005322 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: value, depth, ts, lon
Sensor: temperature | fields: type, reading, unit, ts
Task: Fetch level from lightning where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005323 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: level, lon, ts, lat
Sensor: snow_depth | fields: ts, level, lon, type
Task: Retrieve reading from lightning with value above the MAX(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005324 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, level, type, lon
Sensor: temperature | fields: ts, unit, value, qc
Task: Fetch reading from dew_point where depth is greater than the minimum of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005325 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, lat, type, qc
Sensor: wind_speed | fields: level, depth, lat, reading
Task: Fetch lon from temperature that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005326 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, unit, qc, value
Sensor: pressure | fields: type, lat, level, unit
Task: Get lat from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005327 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lon, unit, ts, qc
Sensor: wind_speed | fields: ts, type, lon, value
Task: Get value from air_quality where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005328 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, lat, reading, lon
Sensor: wind_speed | fields: qc, lat, value, depth
Task: Get level from dew_point where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005329 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, lon, type, depth
Sensor: air_quality | fields: type, depth, level, value
Task: Get depth from frost where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005330 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lon, reading, type
Sensor: evaporation | fields: depth, lat, unit, level
Task: Get lat from sunlight where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005331 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: lon, qc, ts, reading
Sensor: cloud_cover | fields: level, type, unit, lon
Task: Fetch reading from air_quality where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005332 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, lon, unit, type
Sensor: temperature | fields: unit, ts, lat, lon
Task: Fetch lon from soil_moisture that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005333 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: type, reading, unit, qc
Sensor: visibility | fields: lat, lon, level, depth
Task: Fetch value from snow_depth that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005334 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: reading, lat, qc, value
Sensor: snow_depth | fields: type, unit, ts, lat
Task: Get lat from rainfall where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005335 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, lat, ts, type
Sensor: uv_index | fields: depth, level, unit, qc
Task: Retrieve reading from turbidity whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005336 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, value, depth, type
Sensor: drought_index | fields: ts, type, qc, level
Task: Retrieve reading from sunlight with value above the AVG(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005337 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: reading, type, level, unit
Sensor: air_quality | fields: lon, type, unit, reading
Task: Fetch lon from uv_index where value is greater than the maximum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005338 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, unit, depth
Sensor: soil_moisture | fields: depth, ts, qc, value
Task: Retrieve lon from cloud_cover that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005339 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: value, level, lat, reading
Sensor: evaporation | fields: type, level, lon, ts
Task: Fetch lat from sunlight where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005340 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, level, lat, type
Sensor: frost | fields: reading, lon, level, lat
Task: Fetch value from drought_index that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005341 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lat, unit, reading, depth
Sensor: pressure | fields: lon, depth, level, qc
Task: Get depth from humidity where reading exceeds the average reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005342 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: depth, reading, unit, qc
Sensor: dew_point | fields: level, lat, type, ts
Task: Retrieve lat from uv_index with depth above the MAX(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005343 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, reading, value, unit
Sensor: pressure | fields: qc, depth, reading, level
Task: Retrieve lat from cloud_cover whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005344 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, unit, type
Sensor: temperature | fields: unit, level, type, ts
Task: Get lon from visibility where reading exceeds the minimum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005345 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, depth, lon, lat
Sensor: snow_depth | fields: ts, reading, lon, lat
Task: Fetch depth from temperature where unit exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005346 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, qc, depth, unit
Sensor: air_quality | fields: qc, depth, type, level
Task: Get level from soil_moisture where value exceeds the minimum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"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_005347 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, ts, value, qc
Sensor: snow_depth | fields: reading, qc, type, lon
Task: Retrieve level from soil_moisture with depth above the COUNT(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005348 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, lat, reading, qc
Sensor: wind_speed | fields: value, reading, level, qc
Task: Fetch depth from uv_index where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005349 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, reading, ts, value
Sensor: snow_depth | fields: qc, reading, type, depth
Task: Fetch depth from air_quality where value is greater than the average of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"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_005350 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, ts, lat, unit
Sensor: frost | fields: lon, unit, depth, value
Task: Fetch level from soil_moisture that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005351 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: value, reading, unit, qc
Sensor: dew_point | fields: unit, lat, value, depth
Task: Retrieve lat from rainfall whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005352 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: level, qc, type, unit
Sensor: uv_index | fields: unit, type, value, depth
Task: Retrieve lon from cloud_cover whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005353 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, reading, depth, qc
Sensor: soil_moisture | fields: lon, value, lat, type
Task: Fetch lon from cloud_cover that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005354 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, ts, depth
Sensor: sunlight | fields: level, depth, lat, unit
Task: Get depth from snow_depth where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005355 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: ts, unit, lon, level
Sensor: rainfall | fields: lon, depth, unit, value
Task: Fetch depth from frost that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005356 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, reading, ts, level
Sensor: cloud_cover | fields: depth, value, lat, reading
Task: Fetch lat from lightning where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005357 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: unit, type, lon, value
Sensor: humidity | fields: type, depth, qc, lon
Task: Retrieve reading from uv_index with depth above the MIN(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005358 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, lat, ts, value
Sensor: frost | fields: lon, qc, value, level
Task: Get value from drought_index where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005359 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lon, value, level
Sensor: lightning | fields: lon, value, level, type
Task: Get depth from rainfall where type appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005360 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lon, reading, level
Sensor: turbidity | fields: level, unit, lon, ts
Task: Retrieve lat from snow_depth whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005361 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, type, level, qc
Sensor: soil_moisture | fields: reading, lon, unit, ts
Task: Get depth from visibility where value exceeds the minimum depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005362 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: level, value, type, depth
Sensor: air_quality | fields: qc, level, depth, unit
Task: Get lat from uv_index where reading exceeds the minimum value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005363 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: depth, lat, ts, reading
Sensor: temperature | fields: reading, unit, qc, level
Task: Fetch value from turbidity that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005364 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: unit, lat, depth, level
Sensor: temperature | fields: reading, lat, level, ts
Task: Retrieve reading from rainfall whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005365 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: level, lon, depth, type
Sensor: pressure | fields: depth, type, qc, lat
Task: Retrieve level from rainfall that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"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_005366 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, ts, lon, value
Sensor: drought_index | fields: depth, reading, lat, value
Task: Retrieve reading from evaporation with reading above the COUNT(reading) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005367 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, reading, type, ts
Sensor: uv_index | fields: depth, level, qc, type
Task: Get value from turbidity where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005368 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: value, lat, level, depth
Sensor: soil_moisture | fields: value, level, lat, depth
Task: Retrieve level from air_quality with depth above the COUNT(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005369 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: depth, lat, ts, reading
Sensor: air_quality | fields: lat, depth, value, reading
Task: Get depth from snow_depth where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005370 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: reading, value, depth, lon
Sensor: lightning | fields: ts, value, lat, depth
Task: Retrieve reading from dew_point that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005371 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: type, lat, qc, reading
Sensor: frost | fields: lat, level, type, lon
Task: Retrieve depth from turbidity whose type is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005372 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: depth, unit, reading, lat
Sensor: drought_index | fields: level, ts, depth, type
Task: Retrieve reading from sunlight with reading above the COUNT(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005373 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, qc, type
Sensor: air_quality | fields: qc, value, depth, lat
Task: Get value from visibility where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005374 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: qc, type, ts, lat
Sensor: frost | fields: unit, lat, depth, level
Task: Fetch level from drought_index where value is greater than the minimum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005375 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, level, value
Sensor: uv_index | fields: reading, lon, lat, unit
Task: Get level from wind_speed where value exceeds the maximum reading from uv_index for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005376 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, reading, ts, value
Sensor: wind_speed | fields: lat, ts, reading, type
Task: Fetch lat from sunlight that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005377 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: ts, depth, lat, type
Sensor: visibility | fields: lon, reading, value, ts
Task: Fetch reading from lightning where depth is greater than the total of depth in visibility for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005378 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, type, reading, qc
Sensor: uv_index | fields: qc, ts, lon, level
Task: Fetch level from drought_index where reading is greater than the total of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005379 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, qc, level, unit
Sensor: wind_speed | fields: type, value, qc, lat
Task: Get lat from sunlight where depth appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005380 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, depth, type, qc
Sensor: evaporation | fields: lat, level, depth, type
Task: Fetch lat from pressure where value is greater than the maximum of depth in evaporation for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005381 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, qc, type
Sensor: lightning | fields: value, qc, reading, unit
Task: Fetch lon from temperature that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005382 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, level, ts, reading
Sensor: visibility | fields: level, qc, depth, lon
Task: Fetch level from soil_moisture where reading is greater than the average of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005383 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: level, value, unit, qc
Sensor: lightning | fields: value, level, lon, type
Task: Get reading from evaporation where value exceeds the total reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005384 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, ts, lat, lon
Sensor: sunlight | fields: depth, type, qc, value
Task: Retrieve level from humidity with depth above the SUM(depth) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005385 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: depth, level, lat, unit
Sensor: air_quality | fields: ts, level, qc, depth
Task: Get depth from humidity where depth exceeds the count of reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005386 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, level, depth, qc
Sensor: humidity | fields: qc, ts, level, type
Task: Retrieve reading from uv_index whose type is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005387 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, reading, value, depth
Sensor: lightning | fields: depth, level, ts, qc
Task: Retrieve lon from wind_speed that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005388 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, reading, value, lat
Sensor: drought_index | fields: lon, lat, level, depth
Task: Get lat from lightning where reading exceeds the average reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005389 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: unit, type, lon, reading
Sensor: frost | fields: reading, lon, level, ts
Task: Fetch value from evaporation where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005390 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, unit, type, lat
Sensor: sunlight | fields: qc, depth, lat, ts
Task: Get lat from lightning where ts appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005391 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, type, lon, lat
Sensor: uv_index | fields: lon, value, lat, unit
Task: Retrieve level 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="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005392 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, reading, level, qc
Sensor: snow_depth | fields: unit, type, ts, lat
Task: Get value from evaporation where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005393 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, depth, value, lat
Sensor: evaporation | fields: lat, lon, unit, depth
Task: Fetch lat from cloud_cover where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005394 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, depth, reading, type
Sensor: snow_depth | fields: level, reading, qc, depth
Task: Fetch reading from sunlight that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005395 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, qc, reading, depth
Sensor: pressure | fields: lat, level, lon, depth
Task: Retrieve value from soil_moisture with reading above the AVG(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005396 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lon, unit, value, level
Sensor: air_quality | fields: lat, type, reading, depth
Task: Get value from uv_index where reading exceeds the maximum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_005397 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: qc, reading, depth, level
Sensor: cloud_cover | fields: depth, lat, value, reading
Task: Get value from soil_moisture where reading exceeds the maximum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005398 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, qc, value, unit
Sensor: humidity | fields: type, depth, reading, lon
Task: Retrieve level from snow_depth that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_005399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.