variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, type, depth, lat
Sensor: sunlight | fields: depth, ts, value, unit
Task: Retrieve depth from dew_point with depth above the AVG(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081400 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, type, qc, depth
Sensor: frost | fields: lat, qc, lon, level
Task: Get value from temperature where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081401 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, reading, unit, type
Sensor: rainfall | fields: lon, lat, depth, level
Task: Retrieve depth from air_quality with depth above the SUM(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081402 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: unit, level, lon, value
Sensor: wind_speed | fields: type, ts, lon, lat
Task: Fetch reading from evaporation where depth is greater than the average of reading in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081403 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: depth, reading, level, lon
Sensor: rainfall | fields: level, depth, type, reading
Task: Get reading from drought_index where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081404 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lat, type, unit, reading
Sensor: snow_depth | fields: qc, value, ts, lat
Task: Fetch value from dew_point where value is greater than the minimum of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081405 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: level, reading, type, lon
Sensor: sunlight | fields: lat, depth, ts, qc
Task: Retrieve value from cloud_cover that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081406 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, qc, lat, value
Sensor: pressure | fields: reading, type, depth, level
Task: Get value from sunlight where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081407 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: unit, level, depth, qc
Sensor: sunlight | fields: depth, qc, ts, type
Task: Get reading from frost where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081408 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, reading, level, type
Sensor: visibility | fields: unit, lat, level, lon
Task: Fetch value from humidity where depth is greater than the maximum of depth in visibility for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081409 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: qc, reading, ts, level
Sensor: rainfall | fields: type, level, lat, depth
Task: Retrieve lon from frost with reading above the MAX(reading) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081410 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: reading, ts, unit, level
Sensor: evaporation | fields: qc, depth, reading, value
Task: Fetch value from turbidity that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081411 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: qc, reading, lat, value
Sensor: rainfall | fields: type, reading, value, qc
Task: Fetch depth from drought_index where depth is greater than the count of of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081412 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, reading, qc, lat
Sensor: uv_index | fields: depth, level, unit, type
Task: Fetch level from snow_depth that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081413 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, ts, value, level
Sensor: drought_index | fields: ts, type, level, lat
Task: Get depth from sunlight where depth appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081414 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, value, reading, ts
Sensor: soil_moisture | fields: level, unit, lon, lat
Task: Retrieve depth from visibility with reading above the MAX(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"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_081415 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, ts, qc, depth
Sensor: lightning | fields: unit, depth, level, qc
Task: Fetch reading from drought_index where depth is greater than the average of value in lightning for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081416 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: lat, depth, type, ts
Sensor: air_quality | fields: unit, value, level, ts
Task: Get lon from turbidity where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081417 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: depth, lat, unit, lon
Sensor: evaporation | fields: value, lon, qc, type
Task: Get value from sunlight where value exceeds the total value from evaporation for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081418 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: lat, level, unit, value
Sensor: dew_point | fields: qc, type, ts, reading
Task: Get reading from evaporation where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081419 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, ts, reading, lon
Sensor: pressure | fields: lon, type, depth, unit
Task: Get value from soil_moisture where type appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081420 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, reading, type, depth
Sensor: temperature | fields: value, reading, lon, unit
Task: Fetch lon from air_quality that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081421 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: ts, qc, type, unit
Sensor: evaporation | fields: qc, type, reading, lat
Task: Get level from air_quality where value exceeds the minimum value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081422 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: reading, ts, lon, type
Sensor: cloud_cover | fields: ts, unit, value, qc
Task: Fetch value from uv_index where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081423 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: level, ts, value, reading
Sensor: drought_index | fields: lon, level, ts, lat
Task: Retrieve depth from snow_depth with depth above the MIN(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081424 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lat, unit, depth, type
Sensor: drought_index | fields: type, reading, ts, qc
Task: Fetch value from frost where depth is greater than the maximum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081425 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, qc, depth, lon
Sensor: air_quality | fields: unit, type, level, depth
Task: Fetch lat from snow_depth that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081426 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: type, qc, level, unit
Sensor: lightning | fields: lon, level, reading, depth
Task: Retrieve reading from uv_index that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081427 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, level, qc, reading
Sensor: cloud_cover | fields: unit, lon, qc, type
Task: Retrieve reading from turbidity with depth above the COUNT(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081428 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, ts, lat, level
Sensor: air_quality | fields: reading, type, lat, qc
Task: Fetch level from sunlight that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081429 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, unit, level, ts
Sensor: temperature | fields: lon, type, reading, ts
Task: Get value from evaporation where reading exceeds the average reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081430 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: level, unit, reading, depth
Sensor: air_quality | fields: lon, depth, unit, ts
Task: Get reading from temperature where depth exceeds the minimum value from air_quality for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081431 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, lat, reading, qc
Sensor: dew_point | fields: lat, qc, level, reading
Task: Retrieve depth from wind_speed that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081432 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, unit, reading, lat
Sensor: uv_index | fields: ts, depth, level, qc
Task: Retrieve value from frost that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081433 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, ts, value, type
Sensor: lightning | fields: lon, ts, value, reading
Task: Get reading from wind_speed where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081434 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, reading, value, depth
Sensor: lightning | fields: ts, lat, lon, unit
Task: Get level from visibility where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081435 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, lat, level, depth
Sensor: frost | fields: value, lon, reading, level
Task: Retrieve lat from drought_index that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081436 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: qc, lat, ts, type
Sensor: frost | fields: depth, type, lon, level
Task: Get reading from temperature where unit appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081437 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: ts, lon, lat, depth
Sensor: humidity | fields: reading, type, unit, lon
Task: Fetch level from visibility where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081438 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, level, type, value
Sensor: air_quality | fields: ts, depth, level, lat
Task: Retrieve value from visibility that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"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_081439 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, depth, value, qc
Sensor: visibility | fields: level, lon, depth, lat
Task: Fetch lat from snow_depth where reading is greater than the average of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081440 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, depth, type, lon
Sensor: air_quality | fields: value, unit, level, depth
Task: Retrieve level from snow_depth with reading above the AVG(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081441 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: depth, value, type, unit
Sensor: sunlight | fields: ts, type, value, qc
Task: Fetch lat from frost that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081442 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, reading, lat, depth
Sensor: evaporation | fields: qc, unit, lon, ts
Task: Fetch reading from sunlight where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081443 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, value, type, unit
Sensor: frost | fields: qc, reading, value, ts
Task: Fetch depth from sunlight that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081444 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, ts, lat, type
Sensor: pressure | fields: lat, type, unit, level
Task: Retrieve value from temperature that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081445 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, unit, level, reading
Sensor: temperature | fields: reading, qc, type, ts
Task: Fetch lon from lightning where unit exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081446 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: depth, reading, qc, unit
Sensor: air_quality | fields: reading, lat, qc, type
Task: Retrieve depth from lightning that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081447 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: lon, unit, level, reading
Sensor: air_quality | fields: lat, lon, value, reading
Task: Get depth from soil_moisture where value exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081448 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, type, lat, qc
Sensor: evaporation | fields: value, qc, level, ts
Task: Fetch value from wind_speed where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081449 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lat, qc, value, type
Sensor: pressure | fields: ts, value, reading, lon
Task: Retrieve reading from soil_moisture with reading above the AVG(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081450 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, lon, type
Sensor: evaporation | fields: unit, depth, ts, value
Task: Get lon from snow_depth where value exceeds the minimum value from evaporation for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081451 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: depth, type, qc, ts
Sensor: rainfall | fields: reading, value, level, lat
Task: Retrieve lat from temperature whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081452 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: ts, unit, lon, depth
Sensor: evaporation | fields: qc, level, lon, depth
Task: Fetch lon from uv_index that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081453 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, unit, qc, ts
Sensor: rainfall | fields: lat, lon, reading, qc
Task: Fetch value from pressure where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081454 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: unit, lon, value, ts
Sensor: sunlight | fields: lon, value, level, reading
Task: Retrieve value from drought_index that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081455 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, lat, lon, type
Sensor: air_quality | fields: type, lat, lon, qc
Task: Fetch lat from lightning where unit exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081456 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, lat, qc, reading
Sensor: air_quality | fields: lon, value, depth, lat
Task: Get lon from visibility where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081457 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, reading, value, unit
Sensor: soil_moisture | fields: type, lon, ts, qc
Task: Fetch reading from temperature where depth is greater than the minimum of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081458 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: depth, ts, unit, value
Sensor: pressure | fields: level, lat, type, lon
Task: Fetch value from visibility where unit exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081459 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, type, qc
Sensor: turbidity | fields: unit, lon, qc, level
Task: Retrieve level from air_quality whose type is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081460 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: qc, ts, value, lon
Sensor: air_quality | fields: type, qc, value, lat
Task: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081461 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, ts, qc, type
Sensor: evaporation | fields: ts, level, qc, reading
Task: Retrieve lat from temperature that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081462 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: depth, value, ts, type
Sensor: drought_index | fields: type, lon, reading, qc
Task: Fetch lon from humidity that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081463 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, qc, reading, unit
Sensor: humidity | fields: depth, qc, type, unit
Task: Get reading from turbidity where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081464 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, level, unit, ts
Sensor: frost | fields: qc, depth, unit, value
Task: Get level from snow_depth where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081465 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: depth, lon, value, lat
Sensor: evaporation | fields: value, lat, unit, reading
Task: Retrieve level from drought_index that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081466 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: qc, depth, lat, value
Sensor: lightning | fields: unit, ts, level, lat
Task: Retrieve lat from rainfall that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081467 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, ts, depth, reading
Sensor: cloud_cover | fields: lat, type, qc, lon
Task: Fetch reading from visibility where value is greater than the total of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081468 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, type, value, unit
Sensor: soil_moisture | fields: level, lat, lon, type
Task: Fetch lon from uv_index that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081469 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, lat, value, ts
Sensor: snow_depth | fields: value, ts, level, depth
Task: Retrieve lon from cloud_cover with reading above the SUM(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081470 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, level, type, lat
Sensor: frost | fields: ts, qc, lat, value
Task: Retrieve reading from visibility that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081471 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, depth, type, unit
Sensor: sunlight | fields: level, reading, type, unit
Task: Get reading from humidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081472 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, value, unit, reading
Sensor: temperature | fields: type, lon, qc, value
Task: Fetch lon from air_quality where depth is greater than the minimum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081473 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, type, reading
Sensor: cloud_cover | fields: lat, reading, lon, depth
Task: Fetch value from soil_moisture where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081474 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: type, qc, lat, level
Sensor: dew_point | fields: lat, level, qc, type
Task: Fetch reading from pressure where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081475 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: reading, ts, level, lon
Sensor: drought_index | fields: value, level, depth, qc
Task: Get lon from sunlight where depth exceeds the average reading from drought_index for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081476 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: depth, unit, lat, lon
Sensor: turbidity | fields: lon, value, level, reading
Task: Retrieve level from visibility whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081477 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: value, unit, lat, ts
Sensor: drought_index | fields: value, qc, ts, reading
Task: Get depth from frost where reading exceeds the count of value from drought_index for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081478 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, ts, reading, depth
Sensor: cloud_cover | fields: depth, value, ts, lon
Task: Retrieve lat from drought_index that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081479 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, level, lon, ts
Sensor: air_quality | fields: lon, reading, type, lat
Task: Get lon from temperature where ts appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081480 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, level, ts, type
Sensor: soil_moisture | fields: lon, reading, lat, type
Task: Retrieve level from temperature that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081481 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: ts, unit, depth, lat
Sensor: frost | fields: ts, depth, value, type
Task: Get lat from turbidity where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081482 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: lon, level, reading, ts
Sensor: air_quality | fields: depth, type, ts, lon
Task: Fetch value from sunlight where depth is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081483 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, ts, qc, depth
Sensor: wind_speed | fields: depth, lat, unit, reading
Task: Retrieve lon from snow_depth that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081484 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, type, unit, lon
Sensor: cloud_cover | fields: unit, qc, level, lon
Task: Retrieve lat from uv_index with value above the AVG(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081485 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: ts, type, unit, reading
Sensor: uv_index | fields: value, unit, qc, type
Task: Fetch reading from temperature where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081486 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: value, lon, level, lat
Sensor: air_quality | fields: lat, lon, value, depth
Task: Fetch value from uv_index where unit exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081487 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: depth, ts, type, unit
Sensor: visibility | fields: level, depth, value, unit
Task: Get lat from turbidity where depth exceeds the maximum value from visibility for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081488 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, lat, ts, depth
Sensor: evaporation | fields: value, depth, lat, type
Task: Get reading from rainfall where value exceeds the maximum depth from evaporation for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081489 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, type, depth, value
Sensor: cloud_cover | fields: lat, qc, reading, type
Task: Get lon from wind_speed where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081490 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, unit, lon, qc
Sensor: lightning | fields: depth, reading, lon, level
Task: Get depth from cloud_cover where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081491 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, reading, depth, lat
Sensor: evaporation | fields: depth, reading, lon, lat
Task: Get reading from uv_index where depth exceeds the maximum reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081492 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, unit, lat, value
Sensor: lightning | fields: level, type, depth, lon
Task: Get lat from drought_index where value exceeds the total value from lightning for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081493 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, level, type, value
Sensor: soil_moisture | fields: reading, value, unit, level
Task: Fetch lon from turbidity where reading is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081494 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: type, level, depth, qc
Sensor: lightning | fields: level, unit, ts, depth
Task: Get lon from humidity where reading exceeds the count of depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081495 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, type, lon, lat
Sensor: rainfall | fields: lon, value, qc, level
Task: Get depth from snow_depth where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081496 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lon, type, depth, unit
Sensor: pressure | fields: value, level, unit, lon
Task: Retrieve lat from frost that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081497 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, type, lat, level
Sensor: air_quality | fields: unit, qc, level, depth
Task: Fetch value from pressure where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081498 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lon, unit, ts, depth
Sensor: dew_point | fields: depth, level, ts, value
Task: Fetch lat from temperature where qc exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.