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: cloud_cover | code: prt | fields: value, lon, level, qc
Sensor: uv_index | fields: level, ts, lon, reading
Task: Fetch value from cloud_cover where reading is greater than the maximum of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014300 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, value, reading, lat
Sensor: wind_speed | fields: reading, level, depth, ts
Task: Retrieve reading from lightning with reading above the SUM(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014301 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, depth, ts, type
Sensor: drought_index | fields: type, level, reading, ts
Task: Fetch lat from temperature where value is greater than the minimum of value in drought_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014302 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lat, value, unit, reading
Sensor: snow_depth | fields: qc, type, ts, lat
Task: Retrieve lon from drought_index that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014303 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, lat, value, level
Sensor: wind_speed | fields: level, lat, qc, ts
Task: Get reading from frost where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014304 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, ts, depth, reading
Sensor: sunlight | fields: lon, ts, depth, unit
Task: Fetch lon from air_quality where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014305 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: type, lat, reading, unit
Sensor: rainfall | fields: level, qc, lon, unit
Task: Fetch depth from temperature where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014306 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: ts, level, type, reading
Sensor: uv_index | fields: type, lat, level, ts
Task: Get lon from evaporation where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014307 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, ts, qc, reading
Sensor: temperature | fields: value, depth, ts, lon
Task: Retrieve reading from sunlight with depth above the MAX(reading) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014308 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: ts, reading, depth, level
Sensor: lightning | fields: unit, lon, depth, level
Task: Fetch depth from rainfall where value is greater than the average of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014309 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, level, type, lat
Sensor: uv_index | fields: lon, depth, lat, unit
Task: Get value from dew_point where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014310 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, type, ts, level
Sensor: sunlight | fields: qc, ts, value, depth
Task: Retrieve value from air_quality that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014311 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, lon, level, qc
Sensor: evaporation | fields: ts, value, level, unit
Task: Retrieve lon from cloud_cover with reading above the SUM(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014312 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, value, unit, reading
Sensor: uv_index | fields: type, lat, reading, level
Task: Get level from air_quality where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014313 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: ts, unit, qc, lon
Sensor: turbidity | fields: type, qc, ts, level
Task: Get level from temperature where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014314 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: type, reading, lat, unit
Sensor: dew_point | fields: level, reading, type, ts
Task: Get depth from air_quality where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014315 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: type, qc, lat, reading
Sensor: uv_index | fields: reading, value, level, ts
Task: Retrieve reading from sunlight that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014316 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, type, ts, lon
Sensor: drought_index | fields: qc, value, type, ts
Task: Fetch depth from turbidity where depth is greater than the average of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014317 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, type, lon, level
Sensor: cloud_cover | fields: qc, depth, lon, ts
Task: Get lon from rainfall where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014318 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: ts, level, lat, type
Sensor: evaporation | fields: lon, unit, ts, depth
Task: Get lon from rainfall where depth exceeds the count of reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014319 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, ts, depth, lat
Sensor: lightning | fields: lon, ts, value, qc
Task: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014320 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, value, reading, qc
Sensor: pressure | fields: lon, value, level, lat
Task: Retrieve lon from drought_index with value above the COUNT(depth) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014321 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, level, reading, type
Sensor: visibility | fields: ts, depth, lat, unit
Task: Retrieve value from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014322 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, ts, reading, level
Sensor: soil_moisture | fields: depth, value, ts, qc
Task: Fetch lon from wind_speed where type exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014323 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, reading, level, value
Sensor: pressure | fields: lat, level, unit, lon
Task: Fetch depth from frost that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014324 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: depth, value, unit, qc
Sensor: drought_index | fields: unit, reading, level, ts
Task: Get lat from uv_index where unit appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014325 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, depth, unit, qc
Sensor: lightning | fields: depth, level, value, unit
Task: Get depth from rainfall where value exceeds the total reading from lightning for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014326 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: ts, lat, value, unit
Sensor: frost | fields: lon, depth, level, ts
Task: Retrieve level from dew_point with reading above the COUNT(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014327 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, type, ts, lon
Sensor: drought_index | fields: depth, qc, reading, lon
Task: Retrieve lat from temperature that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014328 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lon, lat, unit, reading
Sensor: turbidity | fields: lon, reading, lat, unit
Task: Retrieve lat from rainfall with value above the AVG(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"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_014329 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lon, value, type, reading
Sensor: cloud_cover | fields: depth, type, ts, reading
Task: Retrieve reading from humidity that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014330 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: level, depth, type, value
Sensor: humidity | fields: ts, lon, reading, depth
Task: Get value from air_quality where reading exceeds the count of value from humidity for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014331 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, type, ts, level
Sensor: sunlight | fields: level, ts, reading, unit
Task: Retrieve level from soil_moisture that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014332 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: lon, reading, type, depth
Sensor: drought_index | fields: reading, level, ts, lon
Task: Retrieve depth from dew_point whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014333 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, level, lat, lon
Sensor: soil_moisture | fields: level, unit, qc, type
Task: Get level from rainfall where type appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014334 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lat, level, lon, value
Sensor: rainfall | fields: level, depth, value, unit
Task: Retrieve value from drought_index with reading above the MIN(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014335 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, unit, depth, type
Sensor: snow_depth | fields: level, lon, qc, type
Task: Retrieve lat from soil_moisture that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014336 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: lon, qc, ts, depth
Sensor: lightning | fields: value, unit, lon, ts
Task: Get lat from frost where reading exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014337 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: ts, type, reading, lon
Sensor: evaporation | fields: type, ts, lon, reading
Task: Retrieve depth from drought_index whose ts is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014338 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, depth, unit, lat
Sensor: uv_index | fields: level, depth, type, unit
Task: Get depth from turbidity where qc appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014339 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: ts, reading, type, lon
Sensor: temperature | fields: lat, unit, level, ts
Task: Retrieve value from humidity that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014340 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: depth, reading, type, lat
Sensor: turbidity | fields: depth, value, ts, qc
Task: Get lat from sunlight where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014341 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, reading, lat
Sensor: turbidity | fields: level, qc, value, unit
Task: Get value from snow_depth where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014342 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, lon, reading, ts
Sensor: soil_moisture | fields: qc, value, lat, ts
Task: Retrieve reading from uv_index whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014343 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, value, type, ts
Sensor: snow_depth | fields: depth, level, lon, reading
Task: Retrieve depth from uv_index with reading above the AVG(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014344 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, depth, reading, qc
Sensor: dew_point | fields: ts, value, reading, qc
Task: Get lat from temperature where depth appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014345 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: depth, lat, ts, reading
Sensor: lightning | fields: qc, lon, depth, lat
Task: Fetch reading from dew_point where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014346 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: unit, lat, value, type
Sensor: air_quality | fields: lat, depth, lon, type
Task: Retrieve reading from uv_index that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014347 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: value, level, lon, ts
Sensor: humidity | fields: unit, reading, type, ts
Task: Fetch reading from wind_speed that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014348 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, unit, ts, value
Sensor: temperature | fields: qc, unit, ts, type
Task: Retrieve depth from visibility that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014349 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, lon, ts, value
Sensor: air_quality | fields: depth, ts, qc, unit
Task: Retrieve value from wind_speed whose unit is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014350 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: ts, depth, unit, lat
Sensor: sunlight | fields: depth, lat, reading, level
Task: Fetch reading from visibility where value is greater than the total of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014351 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: unit, ts, lat, depth
Sensor: evaporation | fields: value, depth, reading, type
Task: Fetch reading from lightning where value is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014352 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, ts, qc, lon
Sensor: pressure | fields: value, lat, ts, type
Task: Fetch lon from humidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014353 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: level, type, qc, depth
Sensor: air_quality | fields: lon, unit, qc, level
Task: Get value from snow_depth where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014354 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lon, value, type, depth
Sensor: lightning | fields: reading, value, lon, level
Task: Retrieve reading from pressure whose unit is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014355 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: unit, type, lat, depth
Sensor: humidity | fields: depth, reading, type, unit
Task: Fetch lat from lightning where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014356 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, level, qc, ts
Sensor: pressure | fields: depth, lon, ts, type
Task: Get lat from sunlight where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014357 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lat, reading, qc, ts
Sensor: cloud_cover | fields: ts, value, level, lat
Task: Fetch reading from lightning that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014358 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: unit, level, value, type
Sensor: cloud_cover | fields: qc, lon, depth, type
Task: Retrieve lat from uv_index with reading above the AVG(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014359 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, lon, ts, lat
Sensor: evaporation | fields: level, lon, depth, reading
Task: Fetch lat from cloud_cover where reading is greater than the maximum of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014360 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, qc, type, ts
Sensor: humidity | fields: qc, level, reading, lon
Task: Retrieve depth from frost that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014361 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, lat, ts, lon
Sensor: rainfall | fields: value, qc, lon, reading
Task: Get value from visibility where value exceeds the total depth from rainfall for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014362 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lat, unit, value, type
Sensor: drought_index | fields: value, level, unit, ts
Task: Retrieve lon from pressure with reading above the MIN(depth) of drought_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014363 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, value, lon, level
Sensor: rainfall | fields: level, reading, type, qc
Task: Retrieve reading from lightning with depth above the AVG(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014364 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, type, depth, lon
Sensor: pressure | fields: lat, qc, depth, ts
Task: Fetch value from dew_point that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014365 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, lon, ts, qc
Sensor: rainfall | fields: depth, ts, reading, level
Task: Get reading from sunlight where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014366 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, depth, unit, type
Sensor: air_quality | fields: type, depth, qc, value
Task: Get value from turbidity where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014367 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, ts, lat, lon
Sensor: frost | fields: value, ts, unit, level
Task: Fetch lat from drought_index where depth is greater than the maximum of value in frost for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014368 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: type, depth, lat, qc
Sensor: drought_index | fields: level, depth, lon, qc
Task: Retrieve value from dew_point whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014369 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, value, type, lat
Sensor: dew_point | fields: qc, unit, reading, type
Task: Get lat from soil_moisture where reading exceeds the minimum reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014370 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: level, unit, lat, ts
Sensor: sunlight | fields: type, qc, reading, ts
Task: Fetch level from air_quality where type exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014371 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, type, lon, unit
Sensor: soil_moisture | fields: level, reading, qc, ts
Task: Fetch lat from uv_index where value is greater than the count of of value in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014372 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: reading, qc, lon, type
Sensor: cloud_cover | fields: type, level, depth, reading
Task: Fetch reading from soil_moisture where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014373 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, lat, value, level
Sensor: humidity | fields: unit, lon, depth, value
Task: Retrieve depth from air_quality with reading above the MAX(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014374 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, lat, value, lon
Sensor: sunlight | fields: level, type, ts, qc
Task: Fetch depth from soil_moisture where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014375 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lon, ts, type, level
Sensor: uv_index | fields: ts, type, reading, lon
Task: Get value from rainfall where depth exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014376 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: value, lon, type, depth
Sensor: visibility | fields: depth, unit, lon, level
Task: Get lat from humidity where value exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014377 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, ts, lat, depth
Sensor: uv_index | fields: qc, unit, ts, lon
Task: Fetch value from drought_index that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014378 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, reading, depth, value
Sensor: wind_speed | fields: qc, lat, ts, lon
Task: Fetch reading from humidity that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014379 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lat, depth, lon, type
Sensor: lightning | fields: type, lat, depth, lon
Task: Fetch level from uv_index where value is greater than the total of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014380 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lat, reading, qc
Sensor: temperature | fields: qc, ts, depth, reading
Task: Fetch level from wind_speed where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014381 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, ts, level, lon
Sensor: turbidity | fields: lon, depth, reading, value
Task: Get lat from air_quality where value exceeds the total value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014382 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: level, type, qc, lat
Sensor: temperature | fields: value, level, unit, ts
Task: Get lon from turbidity where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014383 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: depth, qc, reading, unit
Sensor: uv_index | fields: ts, type, lon, unit
Task: Get value from wind_speed where depth appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014384 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: value, ts, reading, unit
Sensor: drought_index | fields: reading, level, value, depth
Task: Retrieve lon from snow_depth that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014385 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, unit, value, depth
Sensor: air_quality | fields: unit, value, lat, reading
Task: Get level from turbidity where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014386 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: value, ts, qc, depth
Sensor: evaporation | fields: qc, reading, lon, lat
Task: Fetch value from sunlight where unit exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014387 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, ts, reading, qc
Sensor: turbidity | fields: lat, lon, depth, level
Task: Retrieve depth from frost whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
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": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014388 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: qc, reading, unit, ts
Sensor: pressure | fields: lat, qc, unit, reading
Task: Get depth from humidity where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014389 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: value, level, lon, ts
Sensor: wind_speed | fields: reading, type, value, qc
Task: Fetch value from visibility where depth is greater than the minimum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014390 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, level, value, lon
Sensor: soil_moisture | fields: ts, lat, depth, unit
Task: Retrieve value from uv_index that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014391 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, lat, lon, reading
Sensor: uv_index | fields: type, reading, depth, lat
Task: Fetch level from humidity where reading is greater than the minimum of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014392 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, unit, depth, level
Sensor: humidity | fields: lon, qc, type, depth
Task: Retrieve level from pressure that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014393 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: reading, unit, lat, depth
Sensor: air_quality | fields: level, value, unit, depth
Task: Fetch depth from drought_index where qc exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_014394 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lat, value, lon, qc
Sensor: drought_index | fields: qc, unit, depth, reading
Task: Fetch lon from temperature where value is greater than the minimum of reading in drought_index for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014395 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, qc, type, ts
Sensor: cloud_cover | fields: ts, depth, level, lat
Task: Fetch lat from sunlight that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014396 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: level, qc, ts, type
Sensor: evaporation | fields: lat, lon, value, depth
Task: Get reading from lightning where depth exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014397 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: depth, value, lat, level
Sensor: rainfall | fields: reading, qc, type, ts
Task: Fetch value from humidity that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014398 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, lon, reading, unit
Sensor: turbidity | fields: unit, depth, lon, value
Task: Retrieve reading from lightning with depth above the COUNT(value) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_014399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.