variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: temperature | code: hub | fields: ts, depth, qc, unit
Sensor: wind_speed | fields: depth, ts, unit, value
Task: Retrieve value from temperature that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040700 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, type, ts, depth
Sensor: snow_depth | fields: lon, ts, type, reading
Task: Fetch reading from uv_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040701 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: reading, value, lon, unit
Sensor: rainfall | fields: unit, value, qc, ts
Task: Fetch depth from air_quality where value is greater than the average of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040702 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: qc, type, depth, lat
Sensor: air_quality | fields: lon, unit, level, reading
Task: Fetch level from rainfall where depth is greater than the average of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040703 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, depth, ts, value
Sensor: evaporation | fields: type, reading, lon, unit
Task: Get value from sunlight where reading exceeds the average value from evaporation for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040704 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, qc, ts, lat
Sensor: snow_depth | fields: lon, type, level, value
Task: Retrieve lat from wind_speed with depth above the MIN(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040705 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: value, reading, ts, level
Sensor: dew_point | fields: type, lon, reading, lat
Task: Retrieve lon from humidity whose depth is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040706 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: level, qc, lon, value
Sensor: rainfall | fields: type, depth, unit, level
Task: Fetch lon from dew_point where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040707 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, lat, reading, unit
Sensor: uv_index | fields: reading, lon, type, ts
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040708 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: reading, type, ts, depth
Sensor: temperature | fields: ts, reading, type, value
Task: Get reading from turbidity where reading exceeds the average depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040709 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: qc, unit, lon, level
Sensor: cloud_cover | fields: value, qc, ts, level
Task: Get depth from turbidity where depth appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040710 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, qc, lon
Sensor: dew_point | fields: level, reading, qc, lat
Task: Fetch lat from soil_moisture where reading is greater than the count of of value in dew_point for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040711 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: level, depth, lon, lat
Sensor: temperature | fields: ts, type, depth, unit
Task: Retrieve lat from visibility that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040712 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, qc, level, reading
Sensor: air_quality | fields: type, reading, value, unit
Task: Fetch depth from cloud_cover that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"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_040713 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: reading, unit, qc, ts
Sensor: dew_point | fields: qc, value, ts, lon
Task: Fetch lat from rainfall where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040714 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: reading, ts, lon, lat
Sensor: wind_speed | fields: value, depth, reading, type
Task: Retrieve reading from humidity that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040715 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: level, type, depth, reading
Sensor: turbidity | fields: unit, value, ts, type
Task: Fetch lon from temperature that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040716 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, value, lon, lat
Sensor: rainfall | fields: lon, lat, ts, type
Task: Fetch lon from turbidity that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040717 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, reading, lat, value
Sensor: pressure | fields: lon, depth, level, reading
Task: Retrieve reading from temperature whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040718 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, depth, qc, lat
Sensor: evaporation | fields: unit, ts, reading, value
Task: Get value from dew_point where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040719 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, depth, level, unit
Sensor: air_quality | fields: lat, lon, depth, ts
Task: Retrieve reading from dew_point whose qc is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040720 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: ts, type, unit, level
Sensor: air_quality | fields: reading, unit, level, value
Task: Fetch depth from soil_moisture that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040721 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, value, qc, level
Sensor: drought_index | fields: lat, type, depth, reading
Task: Get lat from humidity where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040722 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, lon, lat
Sensor: cloud_cover | fields: qc, level, depth, type
Task: Get reading from rainfall where reading exceeds the total reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040723 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: ts, depth, unit, type
Sensor: visibility | fields: lon, type, unit, value
Task: Get lon from temperature where value exceeds the minimum value from visibility for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040724 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, unit, lon, depth
Sensor: sunlight | fields: value, reading, ts, level
Task: Retrieve lon from wind_speed with reading above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040725 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, value, reading, type
Sensor: visibility | fields: lat, reading, lon, depth
Task: Get value from snow_depth where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040726 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: reading, level, depth, lat
Sensor: pressure | fields: level, type, lat, value
Task: Fetch level from evaporation that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040727 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lat, value, lon
Sensor: lightning | fields: lat, type, unit, reading
Task: Retrieve lat from snow_depth whose depth is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040728 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, depth, unit, value
Sensor: dew_point | fields: level, lon, qc, depth
Task: Get value from temperature where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040729 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: reading, lon, type, qc
Sensor: pressure | fields: lat, value, level, type
Task: Retrieve lat from humidity whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040730 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: ts, unit, depth, level
Sensor: rainfall | fields: unit, level, qc, depth
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040731 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, value, reading, ts
Sensor: temperature | fields: level, lat, ts, type
Task: Get value from soil_moisture where type appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040732 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, value, lat, level
Sensor: sunlight | fields: reading, depth, level, unit
Task: Fetch value from temperature that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040733 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: qc, lon, value, depth
Sensor: visibility | fields: value, unit, depth, lon
Task: Retrieve lat from drought_index whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040734 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, ts, depth, reading
Sensor: temperature | fields: level, depth, ts, lat
Task: Get value from turbidity where reading exceeds the total reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040735 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, ts, unit, value
Sensor: wind_speed | fields: reading, ts, qc, lat
Task: Get value from frost where depth exceeds the total value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040736 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, reading, unit, ts
Sensor: humidity | fields: reading, qc, level, value
Task: Fetch value from visibility where value is greater than the average of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040737 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, value, qc, ts
Sensor: humidity | fields: qc, value, type, unit
Task: Fetch lon from sunlight where reading is greater than the count of of depth in humidity for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040738 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, level, lon
Sensor: sunlight | fields: level, lon, ts, type
Task: Get value from cloud_cover where unit appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040739 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, level, ts, lon
Sensor: humidity | fields: level, lon, lat, type
Task: Fetch reading from frost where type exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040740 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, qc, value, type
Sensor: soil_moisture | fields: level, ts, lon, depth
Task: Retrieve lat from wind_speed that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040741 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lat, depth, value, type
Sensor: uv_index | fields: type, depth, level, ts
Task: Fetch value from frost where value is greater than the maximum of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040742 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, depth, lat, ts
Sensor: cloud_cover | fields: lat, depth, reading, level
Task: Fetch lon from humidity that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040743 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, depth, reading, type
Sensor: turbidity | fields: depth, qc, unit, lon
Task: Fetch depth from wind_speed where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040744 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lon, depth, type, level
Sensor: pressure | fields: lon, value, level, ts
Task: Get lon from turbidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040745 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, type, level, depth
Sensor: pressure | fields: type, qc, ts, value
Task: Retrieve lon from rainfall that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040746 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, value, depth
Sensor: turbidity | fields: unit, qc, type, level
Task: Fetch lat from uv_index that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040747 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, level, qc, ts
Sensor: lightning | fields: lat, reading, level, type
Task: Retrieve lat from pressure with value above the SUM(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040748 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, qc, reading, value
Sensor: sunlight | fields: unit, reading, type, lat
Task: Get lat from pressure where value exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040749 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, qc, unit, ts
Sensor: snow_depth | fields: level, lon, ts, lat
Task: Retrieve depth from pressure whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040750 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: depth, level, ts, type
Sensor: sunlight | fields: qc, ts, type, reading
Task: Fetch reading from turbidity where value is greater than the count of of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040751 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, unit, value, type
Sensor: sunlight | fields: lat, reading, ts, depth
Task: Retrieve depth from drought_index with reading above the AVG(value) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040752 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lat, qc, type, lon
Sensor: snow_depth | fields: lat, reading, qc, depth
Task: Retrieve lat from temperature with depth above the MIN(value) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040753 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, depth, level, ts
Sensor: snow_depth | fields: ts, lon, qc, type
Task: Retrieve reading from cloud_cover with value above the MAX(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040754 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, reading, lon, qc
Sensor: uv_index | fields: type, depth, level, unit
Task: Retrieve lat from wind_speed that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040755 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: unit, qc, ts, type
Sensor: frost | fields: unit, depth, ts, lat
Task: Get value from uv_index where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040756 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, value, ts, lon
Sensor: temperature | fields: unit, lon, qc, ts
Task: Get lat from air_quality where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040757 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, type, unit, depth
Sensor: cloud_cover | fields: lat, level, ts, unit
Task: Fetch reading from uv_index where depth is greater than the total of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040758 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lat, value, lon, qc
Sensor: pressure | fields: depth, type, lat, unit
Task: Get depth from uv_index where depth exceeds the minimum reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040759 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, ts, depth, reading
Sensor: rainfall | fields: ts, lat, reading, lon
Task: Get lon from dew_point where reading exceeds the count of reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040760 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, lat, type
Sensor: temperature | fields: type, value, ts, unit
Task: Get lon from rainfall where reading exceeds the count of value from temperature for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040761 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: unit, lat, level, qc
Sensor: drought_index | fields: value, level, lat, qc
Task: Fetch reading from temperature where ts exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040762 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: reading, ts, unit, value
Sensor: rainfall | fields: ts, level, lon, qc
Task: Fetch lon from sunlight that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040763 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, type, unit, level
Sensor: visibility | fields: lon, depth, type, unit
Task: Fetch reading from sunlight that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040764 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: ts, qc, reading, lat
Sensor: turbidity | fields: type, depth, qc, lon
Task: Get depth from pressure where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040765 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, depth, level, lat
Sensor: uv_index | fields: value, lat, qc, level
Task: Retrieve reading from air_quality with value above the SUM(reading) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040766 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, type, ts, value
Sensor: uv_index | fields: type, reading, lat, depth
Task: Retrieve lon from lightning whose depth is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040767 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, unit, depth, value
Sensor: uv_index | fields: type, level, ts, reading
Task: Get level from lightning where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040768 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lat, qc, level, depth
Sensor: snow_depth | fields: qc, reading, ts, type
Task: Fetch level from evaporation where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040769 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: type, level, depth, value
Sensor: dew_point | fields: qc, type, level, depth
Task: Retrieve lon from frost that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040770 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: value, ts, lon, qc
Sensor: drought_index | fields: level, qc, lat, unit
Task: Retrieve lon from humidity that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040771 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, ts, unit, lat
Sensor: wind_speed | fields: unit, level, lat, value
Task: Get lat from frost where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040772 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, ts, value, lat
Sensor: temperature | fields: level, depth, unit, ts
Task: Fetch depth from uv_index where reading is greater than the minimum of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040773 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, depth, value, unit
Sensor: visibility | fields: depth, reading, lat, unit
Task: Fetch reading from evaporation where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040774 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, qc, lat, value
Sensor: pressure | fields: level, value, qc, reading
Task: Fetch lon from drought_index where qc exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040775 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, ts, depth, lat
Sensor: frost | fields: depth, value, lat, type
Task: Retrieve level from rainfall whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040776 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: qc, type, lat, value
Sensor: cloud_cover | fields: level, ts, depth, unit
Task: Get level from uv_index where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040777 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: depth, ts, unit, lat
Sensor: snow_depth | fields: level, ts, type, depth
Task: Get lon from rainfall where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040778 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, qc, value, ts
Sensor: sunlight | fields: lat, ts, depth, type
Task: Retrieve lat from dew_point whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040779 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, reading, lat, depth
Sensor: snow_depth | fields: level, lon, reading, type
Task: Fetch lon from sunlight that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040780 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, value, lon, type
Sensor: visibility | fields: reading, qc, type, value
Task: Fetch reading from evaporation where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040781 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: value, qc, lat, level
Sensor: lightning | fields: value, lat, unit, reading
Task: Fetch value from dew_point where type exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040782 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lon, unit, depth, lat
Sensor: rainfall | fields: lon, ts, level, value
Task: Fetch reading from drought_index where value is greater than the count of of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040783 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, reading, lon, depth
Sensor: turbidity | fields: qc, type, depth, reading
Task: Fetch value from drought_index where depth is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040784 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, value, reading, lon
Sensor: air_quality | fields: ts, unit, lat, qc
Task: Get lon from soil_moisture where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040785 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: lat, lon, ts, qc
Sensor: visibility | fields: value, reading, unit, lon
Task: Retrieve depth from dew_point with value above the SUM(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040786 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, level, qc, unit
Sensor: temperature | fields: level, lat, lon, value
Task: Retrieve depth from snow_depth that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040787 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: type, value, lon, level
Sensor: soil_moisture | fields: lon, type, unit, depth
Task: Fetch lon from lightning where depth is greater than the count of of reading in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040788 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, unit, type, ts
Sensor: uv_index | fields: qc, level, lon, value
Task: Get value from soil_moisture where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040789 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: lon, depth, value, qc
Sensor: sunlight | fields: level, unit, qc, type
Task: Get depth from visibility where type appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040790 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, lon, lat, reading
Sensor: dew_point | fields: lon, lat, value, reading
Task: Retrieve value from rainfall whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040791 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, value, depth, reading
Sensor: evaporation | fields: lat, unit, ts, value
Task: Fetch reading from drought_index where value is greater than the maximum of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040792 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, reading, value, lat
Sensor: soil_moisture | fields: unit, reading, type, depth
Task: Retrieve lon from uv_index that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040793 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, level, reading, qc
Sensor: air_quality | fields: lat, lon, qc, reading
Task: Get depth from wind_speed where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040794 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, depth, type, ts
Sensor: air_quality | fields: type, reading, level, ts
Task: Fetch level from snow_depth where value is greater than the average of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_040795 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, depth, lon, unit
Sensor: humidity | fields: reading, depth, level, type
Task: Fetch lon from wind_speed that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040796 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, type, depth, lat
Sensor: evaporation | fields: qc, type, depth, ts
Task: Retrieve value from soil_moisture that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040797 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: lon, reading, depth, value
Sensor: cloud_cover | fields: depth, ts, value, level
Task: Fetch depth from humidity that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040798 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, unit, qc, level
Sensor: cloud_cover | fields: depth, type, reading, lat
Task: Fetch reading from humidity where value is greater than the total of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_040799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.