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: dew_point | code: ref | fields: type, ts, reading, unit
Sensor: lightning | fields: unit, lon, ts, value
Task: Retrieve value from dew_point with depth above the AVG(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
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": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064100 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, unit, value, type
Sensor: wind_speed | fields: qc, depth, ts, unit
Task: Retrieve lon from cloud_cover with value above the COUNT(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064101 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, depth, qc, type
Sensor: drought_index | fields: depth, value, lat, type
Task: Fetch lon from uv_index that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064102 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, qc, type, depth
Sensor: air_quality | fields: type, qc, lat, reading
Task: Fetch depth from pressure where value is greater than the maximum of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064103 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, lat, level, qc
Sensor: cloud_cover | fields: ts, value, lon, qc
Task: Retrieve level from humidity whose type is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064104 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, depth, value
Sensor: visibility | fields: value, reading, lon, unit
Task: Fetch level from pressure where depth is greater than the average of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064105 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, lon, depth, lat
Sensor: drought_index | fields: ts, value, reading, lat
Task: Fetch lon from uv_index where value is greater than the count of of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064106 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, level, unit, qc
Sensor: visibility | fields: level, value, qc, reading
Task: Fetch lon from frost where reading is greater than the maximum of value in visibility for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064107 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, level, qc, depth
Sensor: snow_depth | fields: value, lon, level, type
Task: Retrieve value from uv_index with depth above the SUM(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064108 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lon, depth, qc
Sensor: turbidity | fields: depth, unit, ts, reading
Task: Get lon from soil_moisture where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064109 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: reading, qc, depth, unit
Sensor: drought_index | fields: reading, value, ts, depth
Task: Retrieve depth from dew_point whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064110 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: type, qc, depth, value
Sensor: temperature | fields: lon, lat, level, type
Task: Fetch lat from sunlight where value is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064111 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: value, qc, type, unit
Sensor: air_quality | fields: unit, lon, qc, depth
Task: Get value from turbidity where type appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064112 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: reading, lat, unit, lon
Sensor: snow_depth | fields: type, value, depth, reading
Task: Fetch depth from air_quality where type exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064113 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, value, depth, ts
Sensor: turbidity | fields: type, ts, level, qc
Task: Retrieve reading from snow_depth that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064114 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, value, reading, ts
Sensor: wind_speed | fields: lon, unit, ts, depth
Task: Get level from evaporation where reading exceeds the count of depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064115 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, qc, lat, reading
Sensor: lightning | fields: lat, reading, depth, qc
Task: Fetch level from soil_moisture where reading is greater than the count of of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064116 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, value, lat, type
Sensor: dew_point | fields: reading, type, value, level
Task: Get depth from humidity where reading exceeds the minimum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064117 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, type, lon
Sensor: frost | fields: ts, qc, depth, lat
Task: Get lat from rainfall where reading exceeds the maximum reading from frost for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064118 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: type, lat, ts, level
Sensor: pressure | fields: depth, ts, type, lat
Task: Fetch value from turbidity where depth is greater than the average of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064119 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, reading, depth, type
Sensor: wind_speed | fields: ts, lat, reading, lon
Task: Get lon from temperature where reading exceeds the maximum reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064120 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, value, ts, lat
Sensor: sunlight | fields: qc, lat, ts, type
Task: Get lon from humidity where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064121 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: type, level, qc, ts
Sensor: uv_index | fields: reading, value, qc, level
Task: Fetch reading from dew_point where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064122 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, qc, depth, type
Sensor: pressure | fields: type, qc, reading, ts
Task: Fetch reading from drought_index that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064123 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, qc, ts, unit
Sensor: air_quality | fields: ts, unit, depth, reading
Task: Retrieve lon from snow_depth with reading above the SUM(value) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064124 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: value, reading, qc, level
Sensor: sunlight | fields: qc, level, value, depth
Task: Retrieve level from snow_depth with value above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064125 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: depth, type, unit, level
Sensor: air_quality | fields: depth, value, unit, level
Task: Get reading from cloud_cover where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064126 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, lat, lon, unit
Sensor: snow_depth | fields: ts, unit, depth, level
Task: Get level from drought_index where depth exceeds the count of reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064127 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lat, lon, level, value
Sensor: temperature | fields: type, qc, value, depth
Task: Retrieve level from visibility whose type is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064128 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, type, unit, reading
Sensor: air_quality | fields: qc, lat, level, type
Task: Retrieve value from temperature whose depth is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064129 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: level, depth, unit, ts
Sensor: soil_moisture | fields: lat, level, value, qc
Task: Get depth from visibility where reading exceeds the count of reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"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_064130 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: reading, lat, value, lon
Sensor: evaporation | fields: lon, qc, reading, type
Task: Get depth from air_quality where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064131 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: lon, value, type, reading
Sensor: evaporation | fields: ts, depth, level, lat
Task: Get lat from drought_index where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064132 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, ts, type, level
Sensor: lightning | fields: type, level, unit, reading
Task: Fetch reading from visibility that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064133 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, lat, qc, ts
Sensor: wind_speed | fields: type, lat, unit, reading
Task: Retrieve lon from lightning with depth above the MAX(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064134 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: depth, lon, type, unit
Sensor: drought_index | fields: reading, value, type, ts
Task: Fetch lon from frost that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064135 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, level, ts, lat
Sensor: wind_speed | fields: qc, type, lon, value
Task: Fetch depth from drought_index that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064136 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, qc, unit, ts
Sensor: cloud_cover | fields: value, type, lat, qc
Task: Fetch depth from air_quality where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064137 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, level, lat, type
Sensor: temperature | fields: qc, unit, reading, value
Task: Get reading from drought_index where depth exceeds the total value from temperature for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064138 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, depth, level, qc
Sensor: lightning | fields: unit, depth, qc, level
Task: Get reading from air_quality where depth exceeds the total depth from lightning for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064139 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lat, value, lon, qc
Sensor: rainfall | fields: reading, depth, qc, ts
Task: Fetch lat from pressure that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064140 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, depth, reading, level
Sensor: turbidity | fields: lat, type, reading, depth
Task: Get value from dew_point where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064141 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, type, unit, level
Sensor: snow_depth | fields: lat, level, depth, reading
Task: Get reading from soil_moisture where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064142 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: depth, unit, level, lon
Sensor: rainfall | fields: ts, value, type, qc
Task: Get reading from uv_index where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064143 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, lat, type, unit
Sensor: visibility | fields: type, level, ts, reading
Task: Retrieve depth from cloud_cover with depth above the AVG(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064144 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, depth, ts, lat
Sensor: sunlight | fields: value, unit, ts, qc
Task: Get depth from cloud_cover where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064145 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, type, lon, reading
Sensor: dew_point | fields: reading, value, lat, qc
Task: Retrieve depth from cloud_cover whose ts is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064146 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, lat, qc, depth
Sensor: uv_index | fields: type, lat, value, reading
Task: Retrieve depth from snow_depth whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064147 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, value, ts, lon
Sensor: frost | fields: ts, type, value, unit
Task: Fetch lat from cloud_cover that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064148 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: ts, value, lat, lon
Sensor: soil_moisture | fields: qc, value, lon, level
Task: Get value from air_quality where reading exceeds the count of depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064149 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, value, type, reading
Sensor: pressure | fields: value, qc, type, ts
Task: Retrieve reading from lightning whose depth is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064150 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, depth, qc, lat
Sensor: drought_index | fields: value, type, lat, lon
Task: Get lat from dew_point where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064151 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, depth, lon, value
Sensor: sunlight | fields: lat, unit, lon, ts
Task: Retrieve lon from cloud_cover whose unit is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064152 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, reading, level, type
Sensor: air_quality | fields: lat, value, qc, unit
Task: Retrieve value from soil_moisture whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064153 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: depth, ts, unit, value
Sensor: snow_depth | fields: value, qc, unit, depth
Task: Retrieve value from visibility whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064154 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, ts, lon
Sensor: drought_index | fields: ts, level, type, value
Task: Get level from air_quality where type appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064155 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, type, lat, ts
Sensor: humidity | fields: qc, ts, reading, level
Task: Get reading from lightning where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064156 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, lon, ts, reading
Sensor: snow_depth | fields: lon, type, reading, level
Task: Fetch reading from cloud_cover where value is greater than the average of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"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_064157 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, depth, level, lat
Sensor: temperature | fields: lon, ts, value, unit
Task: Get level from evaporation where value exceeds the maximum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064158 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: ts, qc, type, lon
Sensor: visibility | fields: depth, qc, level, unit
Task: Retrieve lon from pressure whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064159 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lon, reading, type
Sensor: frost | fields: type, lon, reading, level
Task: Get level from evaporation where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064160 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, value, qc, reading
Sensor: lightning | fields: unit, ts, reading, lat
Task: Fetch value from cloud_cover where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064161 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, level, value, lon
Sensor: cloud_cover | fields: lat, qc, reading, lon
Task: Get value from dew_point where reading exceeds the maximum reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064162 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, depth, qc, reading
Sensor: dew_point | fields: reading, lat, ts, depth
Task: Fetch level from frost where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064163 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, level, value, reading
Sensor: drought_index | fields: qc, ts, lat, depth
Task: Retrieve value from humidity that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064164 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, reading, ts, depth
Sensor: drought_index | fields: value, ts, depth, type
Task: Retrieve value from wind_speed whose type is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064165 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, value, ts, lon
Sensor: soil_moisture | fields: ts, level, qc, lon
Task: Get lon from drought_index where reading exceeds the total reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064166 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lon, ts, reading, value
Sensor: visibility | fields: depth, unit, lat, value
Task: Fetch reading from turbidity where qc exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064167 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, lon, depth, lat
Sensor: frost | fields: level, qc, type, lat
Task: Get lat from snow_depth where value exceeds the average depth from frost for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064168 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: lon, lat, ts, reading
Sensor: rainfall | fields: level, type, depth, qc
Task: Fetch lon from temperature where reading is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064169 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, level, type, reading
Sensor: turbidity | fields: lon, ts, type, reading
Task: Get reading from soil_moisture where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064170 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: qc, reading, lat, unit
Sensor: evaporation | fields: value, qc, reading, lon
Task: Fetch lat from frost that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064171 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, depth, level, unit
Sensor: temperature | fields: value, unit, depth, reading
Task: Fetch depth from wind_speed where depth is greater than the average of reading in temperature for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064172 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, level, reading, qc
Sensor: uv_index | fields: value, lat, lon, unit
Task: Fetch reading from temperature where depth is greater than the minimum of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064173 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, qc, lon, ts
Sensor: uv_index | fields: unit, level, qc, lon
Task: Retrieve lat from soil_moisture that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064174 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: qc, ts, lon, unit
Sensor: sunlight | fields: depth, qc, lon, value
Task: Fetch value from turbidity where ts exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064175 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, ts, reading, lat
Sensor: sunlight | fields: depth, lon, ts, value
Task: Get depth from snow_depth where value exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064176 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, reading, value, level
Sensor: humidity | fields: reading, unit, ts, level
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064177 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: value, lon, ts, qc
Sensor: wind_speed | fields: reading, ts, value, lon
Task: Retrieve lat from turbidity whose depth is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064178 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, lat, value, depth
Sensor: cloud_cover | fields: ts, depth, unit, lon
Task: Retrieve lon from soil_moisture with depth above the COUNT(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064179 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, depth, lon, unit
Sensor: lightning | fields: depth, lat, unit, value
Task: Get lon from uv_index where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064180 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: type, depth, ts, reading
Sensor: air_quality | fields: reading, value, unit, type
Task: Retrieve level from wind_speed that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064181 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, depth, lat, qc
Sensor: soil_moisture | fields: lon, qc, depth, unit
Task: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064182 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: qc, level, type, ts
Sensor: snow_depth | fields: lon, value, ts, unit
Task: Fetch reading from uv_index that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064183 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: unit, reading, type, level
Sensor: turbidity | fields: ts, unit, value, lat
Task: Retrieve depth from visibility that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064184 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: qc, value, ts, depth
Sensor: soil_moisture | fields: depth, value, ts, level
Task: Retrieve lon from uv_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064185 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lon, ts, lat, level
Sensor: uv_index | fields: lat, qc, ts, lon
Task: Fetch level from lightning where value is greater than the total of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064186 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, qc, level, depth
Sensor: uv_index | fields: reading, depth, level, value
Task: Fetch lat from evaporation that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064187 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, ts, lon, lat
Sensor: rainfall | fields: qc, ts, lon, depth
Task: Retrieve depth from visibility that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064188 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, type, qc, value
Sensor: frost | fields: ts, lon, value, level
Task: Fetch reading from temperature where type exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064189 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, qc, unit, depth
Sensor: pressure | fields: ts, qc, lon, level
Task: Get level from cloud_cover where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064190 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: type, depth, level, ts
Sensor: evaporation | fields: reading, unit, ts, depth
Task: Get value from air_quality where depth appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064191 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, qc, lon, reading
Sensor: uv_index | fields: ts, depth, type, lon
Task: Retrieve reading from evaporation that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064192 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, level, lat, value
Sensor: sunlight | fields: value, ts, lat, unit
Task: Get value from visibility where depth exceeds the average depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064193 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, depth, value, level
Sensor: sunlight | fields: type, qc, depth, lat
Task: Retrieve level from temperature with value above the AVG(value) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064194 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, lon, lat, value
Sensor: rainfall | fields: ts, qc, level, depth
Task: Retrieve level from temperature that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064195 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lon, level, type
Sensor: uv_index | fields: level, type, depth, unit
Task: Retrieve depth from evaporation with depth above the COUNT(depth) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064196 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, unit, lat, qc
Sensor: sunlight | fields: qc, value, depth, level
Task: Get depth from temperature where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064197 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: qc, type, depth, lon
Sensor: air_quality | fields: lon, depth, lat, value
Task: Get depth from pressure where depth exceeds the maximum value from air_quality for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_064198 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, reading, value, level
Sensor: soil_moisture | fields: type, qc, lat, reading
Task: Retrieve reading from air_quality whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_064199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.