variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lat, level, qc
Sensor: evaporation | fields: depth, level, qc, type
Task: Fetch lat from air_quality where qc exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020300 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lat, lon, type, level
Sensor: drought_index | fields: reading, unit, depth, type
Task: Get depth from visibility where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020301 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, lon, level, depth
Sensor: dew_point | fields: lon, unit, type, level
Task: Retrieve depth from turbidity with reading above the SUM(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020302 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, qc, value, level
Sensor: frost | fields: lat, reading, unit, depth
Task: Get value from sunlight where reading exceeds the count of depth from frost for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020303 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: ts, type, reading, qc
Sensor: snow_depth | fields: unit, lon, type, ts
Task: Fetch level from lightning where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020304 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: level, unit, value, depth
Sensor: soil_moisture | fields: lon, value, unit, ts
Task: Retrieve level from visibility that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020305 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, lat, unit, qc
Sensor: uv_index | fields: level, value, depth, qc
Task: Retrieve lon from frost with value above the AVG(reading) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020306 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: qc, lat, level, depth
Sensor: soil_moisture | fields: unit, ts, lon, type
Task: Get level from visibility where depth exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020307 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, level, lon
Sensor: lightning | fields: level, qc, reading, lon
Task: Get level from humidity where ts appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020308 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, reading, value, depth
Sensor: cloud_cover | fields: level, lon, value, ts
Task: Retrieve lat from snow_depth that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020309 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, unit, lat, lon
Sensor: cloud_cover | fields: unit, type, value, reading
Task: Retrieve reading from drought_index whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020310 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, level, ts, unit
Sensor: cloud_cover | fields: value, unit, reading, qc
Task: Fetch lat from snow_depth that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020311 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: reading, qc, level, type
Sensor: snow_depth | fields: depth, lon, qc, value
Task: Retrieve level from temperature with depth above the MAX(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020312 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: type, lon, level, lat
Sensor: soil_moisture | fields: unit, reading, value, qc
Task: Fetch lat from pressure that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020313 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: lat, unit, level, depth
Sensor: cloud_cover | fields: unit, depth, lat, lon
Task: Fetch lon from wind_speed where value is greater than the average of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020314 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, unit, qc, lon
Sensor: drought_index | fields: level, qc, ts, lat
Task: Get value from air_quality where reading exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"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_020315 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, level, type, ts
Sensor: humidity | fields: reading, lat, type, level
Task: Fetch depth from wind_speed where value is greater than the minimum of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020316 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: type, unit, ts, qc
Sensor: dew_point | fields: unit, type, ts, level
Task: Fetch level from evaporation where qc exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020317 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: level, value, reading, lon
Sensor: snow_depth | fields: unit, type, qc, lat
Task: Fetch lon from temperature that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020318 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, reading, ts, unit
Sensor: dew_point | fields: lat, ts, depth, reading
Task: Retrieve reading from sunlight that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020319 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, depth, lat, lon
Sensor: pressure | fields: unit, lat, depth, reading
Task: Retrieve reading from evaporation whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020320 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, type, unit, lat
Sensor: turbidity | fields: unit, lat, qc, reading
Task: Retrieve depth from frost whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020321 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, unit, lat, level
Sensor: drought_index | fields: value, unit, type, reading
Task: Fetch value from wind_speed that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020322 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, reading, qc, ts
Sensor: evaporation | fields: lon, type, reading, depth
Task: Retrieve lon from snow_depth with value above the COUNT(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020323 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, level, depth, lon
Sensor: lightning | fields: lon, reading, level, qc
Task: Fetch value from humidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020324 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, type, value, ts
Sensor: dew_point | fields: qc, lon, level, type
Task: Retrieve depth from snow_depth with value above the AVG(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020325 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lon, ts, type
Sensor: soil_moisture | fields: level, type, qc, lat
Task: Get lat from evaporation where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020326 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: type, reading, qc, level
Sensor: soil_moisture | fields: type, lon, ts, unit
Task: Get lat from pressure where depth exceeds the average value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020327 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, qc, value, depth
Sensor: drought_index | fields: ts, lat, depth, unit
Task: Get lat from pressure where reading exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020328 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, type, unit, lon
Sensor: rainfall | fields: lon, lat, qc, depth
Task: Retrieve reading from soil_moisture whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020329 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: depth, qc, lon, lat
Sensor: soil_moisture | fields: type, qc, lon, level
Task: Retrieve value from air_quality that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020330 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: level, ts, lon, type
Sensor: visibility | fields: lon, reading, depth, level
Task: Get lon from rainfall where depth appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020331 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, lat, depth, level
Sensor: uv_index | fields: reading, depth, level, lat
Task: Fetch reading from dew_point where type exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020332 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, value, reading, level
Sensor: frost | fields: depth, level, lat, reading
Task: Fetch lat from evaporation where ts exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020333 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: type, unit, depth, level
Sensor: humidity | fields: reading, value, type, lon
Task: Fetch reading from evaporation where reading is greater than the minimum of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020334 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, reading, ts, lon
Sensor: dew_point | fields: qc, level, reading, type
Task: Fetch value from rainfall where value is greater than the maximum of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020335 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lon, reading, lat
Sensor: dew_point | fields: value, level, lat, qc
Task: Get reading from wind_speed where depth exceeds the average depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020336 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: depth, ts, type, qc
Sensor: evaporation | fields: lat, reading, ts, value
Task: Get value from visibility where value exceeds the maximum depth from evaporation for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020337 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, value, depth, lat
Sensor: wind_speed | fields: value, reading, lat, ts
Task: Get level from cloud_cover where reading exceeds the count of value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020338 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lon, reading, ts, lat
Sensor: temperature | fields: unit, type, lat, ts
Task: Fetch depth from lightning where depth is greater than the total of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020339 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, reading, lat, unit
Sensor: visibility | fields: unit, value, lat, reading
Task: Fetch lon from lightning where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020340 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: lat, level, unit, type
Sensor: turbidity | fields: qc, depth, lat, value
Task: Get depth from temperature where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020341 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, value, unit, lon
Sensor: air_quality | fields: qc, type, level, reading
Task: Retrieve lat from evaporation that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020342 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lat, qc, ts, type
Sensor: air_quality | fields: unit, lat, depth, level
Task: Get lon from dew_point where reading exceeds the total value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020343 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, depth, lon, lat
Sensor: dew_point | fields: lon, depth, qc, lat
Task: Get reading from pressure where qc appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020344 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, reading, value, ts
Sensor: cloud_cover | fields: type, value, depth, reading
Task: Get level from drought_index where type appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020345 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, reading, value, unit
Sensor: frost | fields: value, reading, qc, lon
Task: Retrieve depth from visibility whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020346 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: level, value, unit, reading
Sensor: rainfall | fields: reading, lat, level, depth
Task: Get lat from humidity where reading exceeds the count of depth from rainfall for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020347 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: ts, qc, reading, lat
Sensor: cloud_cover | fields: type, qc, lon, level
Task: Fetch level from drought_index that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020348 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: ts, level, type, value
Sensor: air_quality | fields: qc, ts, depth, type
Task: Fetch depth from snow_depth where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020349 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: depth, lat, reading, type
Sensor: sunlight | fields: ts, unit, qc, value
Task: Retrieve level from lightning with value above the AVG(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020350 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: depth, qc, value, lat
Sensor: pressure | fields: level, value, ts, reading
Task: Retrieve value from rainfall with value above the MAX(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020351 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, value, qc, reading
Sensor: turbidity | fields: depth, lat, lon, level
Task: Get lon from evaporation where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020352 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, ts, lat, level
Sensor: temperature | fields: ts, qc, type, level
Task: Get depth from visibility where reading exceeds the count of reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020353 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, qc, type, level
Sensor: snow_depth | fields: reading, unit, level, value
Task: Get depth from wind_speed where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020354 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, reading, lon, ts
Sensor: sunlight | fields: ts, lon, qc, depth
Task: Get lon from wind_speed where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020355 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, type, lat, qc
Sensor: rainfall | fields: ts, unit, qc, lat
Task: Retrieve lon from uv_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020356 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: level, type, unit, qc
Sensor: turbidity | fields: unit, depth, value, reading
Task: Retrieve level from air_quality whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020357 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, unit, level, type
Sensor: humidity | fields: lat, value, reading, unit
Task: Get value from dew_point where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020358 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: depth, lon, type, reading
Sensor: rainfall | fields: ts, lat, level, lon
Task: Retrieve depth from pressure whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020359 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, type, level, lon
Sensor: snow_depth | fields: reading, ts, value, unit
Task: Get reading from air_quality where depth appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020360 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, value, depth, reading
Sensor: humidity | fields: lat, ts, reading, value
Task: Fetch depth from cloud_cover where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020361 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, value, reading, depth
Sensor: dew_point | fields: ts, lon, reading, lat
Task: Fetch lon from soil_moisture where type exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020362 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, value, qc, level
Sensor: wind_speed | fields: reading, value, level, unit
Task: Get lat from snow_depth where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020363 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, reading, lat, level
Sensor: frost | fields: depth, qc, level, value
Task: Get lat from humidity where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020364 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lat, level, qc, reading
Sensor: turbidity | fields: value, level, unit, depth
Task: Fetch reading from uv_index where value is greater than the minimum of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020365 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: reading, type, depth, ts
Sensor: soil_moisture | fields: reading, type, ts, lon
Task: Retrieve lat from evaporation whose ts is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020366 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, lon, level, unit
Sensor: wind_speed | fields: qc, lon, unit, level
Task: Retrieve level from evaporation whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020367 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: depth, type, level, unit
Sensor: rainfall | fields: qc, lon, level, ts
Task: Fetch depth from dew_point that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020368 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, qc, depth, unit
Sensor: visibility | fields: value, level, lon, lat
Task: Get depth from soil_moisture where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020369 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, value, lat, level
Sensor: air_quality | fields: lon, qc, value, depth
Task: Get lat from turbidity where reading exceeds the count of depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020370 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: type, reading, ts, unit
Sensor: air_quality | fields: qc, level, depth, type
Task: Fetch lat from temperature where reading is greater than the maximum of value in air_quality for matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020371 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lat, qc, depth, lon
Sensor: air_quality | fields: type, unit, ts, reading
Task: Retrieve value from evaporation with depth above the COUNT(depth) of air_quality readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020372 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, value, lon
Sensor: pressure | fields: lon, type, unit, ts
Task: Retrieve reading from dew_point that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020373 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, ts, unit, reading
Sensor: rainfall | fields: lon, reading, lat, value
Task: Get value from turbidity where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020374 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, value, level, type
Sensor: wind_speed | fields: unit, type, value, lon
Task: Fetch reading from soil_moisture that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020375 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, level, depth, reading
Sensor: frost | fields: ts, type, unit, qc
Task: Get value from sunlight where reading exceeds the count of reading from frost for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020376 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: reading, value, unit, level
Sensor: cloud_cover | fields: value, ts, unit, qc
Task: Retrieve lat from temperature with value above the MIN(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020377 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, lon, value, reading
Sensor: air_quality | fields: level, type, value, reading
Task: Retrieve level from wind_speed whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020378 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: level, unit, type, ts
Sensor: lightning | fields: value, type, qc, lon
Task: Fetch depth from wind_speed where value is greater than the average of value in lightning for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020379 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, type, qc, depth
Sensor: cloud_cover | fields: depth, level, reading, ts
Task: Retrieve lon from air_quality with value above the MAX(value) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020380 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: level, lat, lon, qc
Sensor: lightning | fields: lat, type, depth, value
Task: Get lon from dew_point where qc appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020381 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, value, lon
Sensor: wind_speed | fields: reading, lat, level, qc
Task: Retrieve lat from visibility that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020382 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: type, unit, ts, reading
Sensor: dew_point | fields: depth, type, level, unit
Task: Retrieve value from pressure that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020383 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: qc, unit, level, ts
Sensor: turbidity | fields: depth, value, lon, ts
Task: Get lon from sunlight where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020384 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: value, type, unit, reading
Sensor: snow_depth | fields: value, type, reading, unit
Task: Get lon from drought_index where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020385 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: reading, type, unit, depth
Sensor: lightning | fields: lon, level, qc, lat
Task: Fetch lat from pressure where reading is greater than the count of of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020386 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: type, value, ts, reading
Sensor: lightning | fields: reading, lon, depth, level
Task: Retrieve level from dew_point with depth above the MAX(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020387 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: level, lat, value, ts
Sensor: uv_index | fields: ts, qc, lon, level
Task: Get level from dew_point where ts appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020388 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: depth, value, qc, reading
Sensor: snow_depth | fields: lat, lon, type, ts
Task: Get lon from turbidity where reading exceeds the total depth from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020389 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: lon, depth, lat, level
Sensor: visibility | fields: qc, type, lon, value
Task: Get reading from turbidity where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_020390 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: ts, lon, type, depth
Sensor: snow_depth | fields: level, value, ts, unit
Task: Fetch value from sunlight where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020391 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, qc, lat, type
Sensor: sunlight | fields: lat, qc, unit, depth
Task: Retrieve level from soil_moisture that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020392 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: lat, type, level, lon
Sensor: cloud_cover | fields: value, type, ts, unit
Task: Retrieve depth from temperature that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020393 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: depth, lon, ts, value
Sensor: uv_index | fields: lon, qc, value, unit
Task: Retrieve level from lightning with reading above the MAX(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020394 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, unit, reading, ts
Sensor: pressure | fields: type, reading, depth, lat
Task: Get depth from drought_index where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020395 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, value, lon, lat
Sensor: cloud_cover | fields: lon, reading, depth, level
Task: Retrieve lat from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020396 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, lon, depth, level
Sensor: lightning | fields: lat, depth, type, reading
Task: Get depth from rainfall where reading exceeds the total value from lightning for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020397 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lon, unit, depth, value
Sensor: pressure | fields: ts, value, lon, unit
Task: Retrieve lat from sunlight with depth above the COUNT(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020398 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, level, depth, value
Sensor: pressure | fields: reading, depth, value, ts
Task: Fetch depth from lightning where value is greater than the minimum of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_020399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.