variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: air_quality | code: stn | fields: qc, type, value, depth
Sensor: uv_index | fields: lon, depth, qc, unit
Task: Fetch lat from air_quality that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062400 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, level, lat, ts
Sensor: visibility | fields: unit, lat, value, reading
Task: Get reading from temperature where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062401 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, lat, type, lon
Sensor: sunlight | fields: unit, reading, type, ts
Task: Fetch depth from lightning that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062402 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, value, lon, lat
Sensor: pressure | fields: level, depth, lat, value
Task: Retrieve depth from evaporation with reading above the MAX(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062403 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, type, depth, ts
Sensor: humidity | fields: value, lon, reading, qc
Task: Fetch level from pressure where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062404 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, lon, lat
Sensor: uv_index | fields: qc, level, depth, lon
Task: Get lon from soil_moisture where depth exceeds the count of depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062405 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: depth, lon, lat, ts
Sensor: temperature | fields: unit, type, ts, lon
Task: Get level from air_quality where reading exceeds the average reading from temperature for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062406 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: type, depth, lat, value
Sensor: visibility | fields: lat, value, level, unit
Task: Retrieve level from air_quality with depth above the MIN(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062407 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: qc, lat, reading, value
Sensor: frost | fields: level, reading, type, value
Task: Fetch reading from cloud_cover where value is greater than the total of value in frost for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062408 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, reading, type, lon
Sensor: snow_depth | fields: lon, depth, ts, level
Task: Retrieve level from cloud_cover that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062409 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, level, value, reading
Sensor: frost | fields: reading, lat, lon, type
Task: Retrieve lon from soil_moisture whose unit is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062410 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, level, lat, type
Sensor: snow_depth | fields: ts, value, reading, type
Task: Fetch lon from soil_moisture where type exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062411 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, depth, unit, level
Sensor: pressure | fields: lat, level, lon, reading
Task: Retrieve value from visibility that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062412 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, value, reading, qc
Sensor: dew_point | fields: reading, lat, level, type
Task: Retrieve level from drought_index that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062413 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: ts, lat, level, value
Sensor: lightning | fields: qc, unit, type, ts
Task: Fetch level from uv_index that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"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_062414 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, reading, level, type
Sensor: pressure | fields: qc, unit, reading, lat
Task: Get value from soil_moisture where depth exceeds the average reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062415 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: reading, level, value, qc
Sensor: wind_speed | fields: level, value, ts, reading
Task: Retrieve reading from evaporation that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062416 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, unit, lon, value
Sensor: humidity | fields: lon, level, lat, type
Task: Retrieve lon from turbidity with reading above the AVG(value) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062417 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, lat, qc, unit
Sensor: visibility | fields: depth, level, type, qc
Task: Retrieve reading from sunlight that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062418 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: ts, value, reading, lat
Sensor: dew_point | fields: unit, reading, level, depth
Task: Get depth from drought_index where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062419 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lon, level, unit
Sensor: drought_index | fields: type, depth, value, lon
Task: Retrieve lon from sunlight that have at least one matching reading in drought_index sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062420 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: lat, depth, type, unit
Sensor: soil_moisture | fields: ts, level, unit, lat
Task: Fetch lat from drought_index where value is greater than the minimum of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062421 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, lon, level, type
Sensor: cloud_cover | fields: lat, unit, lon, value
Task: Fetch level from evaporation where reading is greater than the minimum of depth in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062422 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: ts, lon, level, depth
Sensor: pressure | fields: lat, depth, ts, type
Task: Get depth from lightning where reading exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062423 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: type, value, qc, reading
Sensor: pressure | fields: ts, depth, unit, value
Task: Retrieve lat from dew_point with value above the MIN(value) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062424 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: ts, level, depth, unit
Sensor: soil_moisture | fields: unit, level, reading, lat
Task: Fetch reading from humidity where reading is greater than the average of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062425 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: ts, level, unit, reading
Sensor: frost | fields: unit, depth, value, qc
Task: Get lon from pressure where reading exceeds the maximum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062426 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, type, unit, ts
Sensor: dew_point | fields: lon, type, level, lat
Task: Retrieve lat from pressure that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062427 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: unit, qc, level, type
Sensor: wind_speed | fields: ts, type, qc, lon
Task: Retrieve lat from cloud_cover that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062428 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, lat, lon, type
Sensor: drought_index | fields: reading, type, depth, unit
Task: Retrieve value from uv_index with depth above the MAX(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062429 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: level, type, unit, reading
Sensor: evaporation | fields: qc, type, level, lon
Task: Get level from drought_index where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062430 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, reading, qc, type
Sensor: soil_moisture | fields: reading, depth, qc, type
Task: Get lon from dew_point where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062431 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, qc, unit, reading
Sensor: sunlight | fields: qc, reading, ts, type
Task: Fetch depth from soil_moisture that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062432 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, reading, value, depth
Sensor: frost | fields: ts, level, qc, type
Task: Retrieve value from cloud_cover that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062433 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: reading, type, lat, qc
Sensor: cloud_cover | fields: qc, depth, type, reading
Task: Get value from snow_depth where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062434 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, lon, type, unit
Sensor: visibility | fields: level, qc, unit, value
Task: Get reading from temperature where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062435 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: depth, reading, value, unit
Sensor: dew_point | fields: reading, lat, depth, qc
Task: Fetch reading from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062436 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, qc, type, reading
Sensor: frost | fields: value, level, reading, unit
Task: Retrieve depth from soil_moisture with depth above the SUM(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062437 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: reading, qc, unit, level
Sensor: humidity | fields: depth, ts, unit, reading
Task: Get lat from air_quality where reading exceeds the total reading from humidity for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062438 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: reading, lat, level, ts
Sensor: evaporation | fields: lon, value, reading, ts
Task: Get lat from dew_point where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062439 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, value, unit, ts
Sensor: frost | fields: lat, value, qc, reading
Task: Retrieve reading from soil_moisture whose ts is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062440 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: level, ts, unit, depth
Sensor: dew_point | fields: depth, lon, lat, reading
Task: Get value from temperature where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062441 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, ts, lat, reading
Sensor: soil_moisture | fields: lat, value, ts, lon
Task: Retrieve depth from cloud_cover whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062442 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: lon, reading, level, type
Sensor: temperature | fields: unit, ts, reading, level
Task: Get value from sunlight where reading exceeds the average reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062443 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, level, depth, lon
Sensor: lightning | fields: lat, lon, depth, ts
Task: Get reading from temperature where value exceeds the minimum value from lightning for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062444 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: qc, type, level, value
Sensor: frost | fields: unit, type, qc, lat
Task: Get level from evaporation where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062445 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lon, level, lat
Sensor: temperature | fields: level, ts, lon, depth
Task: Get lat from wind_speed where depth exceeds the minimum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062446 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: depth, qc, value, lat
Sensor: rainfall | fields: value, ts, unit, type
Task: Retrieve depth from temperature whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062447 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, qc, lat, ts
Sensor: wind_speed | fields: reading, type, lon, ts
Task: Fetch level from humidity where value is greater than the maximum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062448 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, unit, type, level
Sensor: dew_point | fields: ts, unit, lon, lat
Task: Get lat from evaporation where ts appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062449 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: lon, value, lat, qc
Sensor: cloud_cover | fields: type, lat, qc, depth
Task: Fetch reading from uv_index where unit exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062450 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, qc, unit, level
Sensor: lightning | fields: reading, lat, lon, value
Task: Fetch depth from wind_speed where reading is greater than the count of of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062451 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, reading, ts, level
Sensor: air_quality | fields: level, lat, qc, reading
Task: Fetch value from wind_speed where unit exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
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": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062452 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, depth, type, ts
Sensor: evaporation | fields: value, qc, type, depth
Task: Fetch lat from wind_speed where ts exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062453 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, reading, level, ts
Sensor: soil_moisture | fields: value, lon, reading, lat
Task: Get lon from wind_speed where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062454 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, value, unit, lon
Sensor: wind_speed | fields: reading, unit, lat, qc
Task: Retrieve reading from snow_depth whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062455 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, reading, qc, type
Sensor: temperature | fields: level, qc, type, unit
Task: Fetch value from humidity where type exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062456 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: type, unit, qc, reading
Sensor: evaporation | fields: lat, reading, qc, ts
Task: Retrieve depth from frost with reading above the COUNT(depth) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062457 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, ts, reading, value
Sensor: snow_depth | fields: lat, reading, type, level
Task: Fetch lat from soil_moisture where reading is greater than the total of depth in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062458 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: value, lat, reading, type
Sensor: dew_point | fields: qc, reading, value, level
Task: Get level from drought_index where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062459 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lon, level, depth, unit
Sensor: evaporation | fields: lon, value, level, depth
Task: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062460 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: value, qc, reading, depth
Sensor: dew_point | fields: lon, qc, unit, ts
Task: Get lat from wind_speed where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062461 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, depth, lon
Sensor: pressure | fields: qc, reading, lon, level
Task: Retrieve lon from temperature whose unit is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062462 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: unit, level, depth, qc
Sensor: dew_point | fields: ts, value, type, qc
Task: Fetch lat from pressure where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062463 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: type, ts, reading, depth
Sensor: snow_depth | fields: value, unit, type, ts
Task: Fetch lat from turbidity where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062464 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: type, ts, reading, value
Sensor: temperature | fields: reading, value, depth, lon
Task: Get level from lightning where value exceeds the average reading from temperature for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062465 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, ts, depth, qc
Sensor: soil_moisture | fields: level, qc, lon, value
Task: Retrieve lon from sunlight that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062466 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, ts, lat, depth
Sensor: lightning | fields: type, level, depth, qc
Task: Retrieve lat from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062467 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lon, qc, ts, type
Sensor: sunlight | fields: reading, ts, level, lat
Task: Retrieve lon from lightning that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062468 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, type, depth, level
Sensor: turbidity | fields: lat, type, lon, qc
Task: Retrieve depth from frost with value above the MAX(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062469 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, reading, lon, unit
Sensor: temperature | fields: unit, depth, type, ts
Task: Fetch reading from uv_index that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062470 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: ts, value, reading, depth
Sensor: wind_speed | fields: lon, value, level, lat
Task: Get lat from pressure where reading exceeds the total reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062471 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, level, type, lat
Sensor: dew_point | fields: ts, depth, level, lon
Task: Fetch lat from snow_depth where qc exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062472 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: lat, reading, qc, lon
Sensor: snow_depth | fields: depth, reading, unit, qc
Task: Get reading from pressure where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062473 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, unit, lon, reading
Sensor: frost | fields: depth, type, ts, qc
Task: Fetch lat from visibility where reading is greater than the average of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062474 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, ts, reading, qc
Sensor: evaporation | fields: value, depth, lon, type
Task: Get depth from cloud_cover where qc appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062475 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: reading, ts, depth, level
Sensor: snow_depth | fields: lat, reading, level, qc
Task: Get reading from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062476 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: depth, unit, type, value
Sensor: visibility | fields: ts, reading, unit, level
Task: Get depth from frost where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062477 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, lon, qc, unit
Sensor: temperature | fields: reading, level, lon, qc
Task: Get depth from humidity where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062478 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, unit, value, lon
Sensor: visibility | fields: level, ts, type, depth
Task: Fetch level from soil_moisture where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062479 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: type, ts, value, depth
Sensor: air_quality | fields: value, qc, type, lon
Task: Get value from snow_depth where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062480 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: qc, unit, ts, type
Sensor: soil_moisture | fields: ts, qc, unit, reading
Task: Fetch value from pressure where depth is greater than the minimum of reading in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062481 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: unit, type, reading, lat
Sensor: dew_point | fields: level, lat, unit, value
Task: Retrieve value from lightning that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062482 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, type, level, reading
Sensor: visibility | fields: lat, qc, reading, type
Task: Fetch reading from air_quality that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062483 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, type, unit, qc
Sensor: evaporation | fields: qc, unit, ts, reading
Task: Fetch value from humidity where value is greater than the total of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062484 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, unit, qc
Sensor: sunlight | fields: type, value, reading, ts
Task: Fetch value from drought_index where value is greater than the total of reading in sunlight for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
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",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062485 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, ts, value, depth
Sensor: pressure | fields: reading, lat, lon, qc
Task: Get level from lightning where ts appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062486 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, reading, ts, lat
Sensor: evaporation | fields: reading, level, lon, unit
Task: Get lon from uv_index where unit appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062487 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: reading, type, lat, level
Sensor: lightning | fields: lon, unit, qc, reading
Task: Get value from pressure where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062488 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: type, level, lat, ts
Sensor: frost | fields: lat, lon, qc, depth
Task: Get depth from drought_index where reading exceeds the count of value from frost for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062489 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: level, lon, value, lat
Sensor: air_quality | fields: ts, value, type, lat
Task: Fetch depth from snow_depth that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062490 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, depth, reading, unit
Sensor: frost | fields: reading, level, type, lat
Task: Retrieve reading from uv_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062491 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, qc, type, reading
Sensor: turbidity | fields: qc, value, unit, lon
Task: Get level from sunlight where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062492 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, level, value, lon
Sensor: lightning | fields: reading, level, type, lat
Task: Fetch reading from snow_depth that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062493 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: reading, unit, ts, lat
Sensor: temperature | fields: depth, ts, lat, unit
Task: Retrieve level from drought_index with value above the SUM(value) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062494 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, lon, depth, level
Sensor: air_quality | fields: level, lat, value, unit
Task: Fetch value from evaporation where reading is greater than the maximum of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062495 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lon, depth, ts, level
Sensor: humidity | fields: value, unit, reading, level
Task: Fetch lon from pressure where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062496 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, lat, depth
Sensor: drought_index | fields: depth, unit, lat, lon
Task: Get lat from temperature where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_062497 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, reading, unit, lat
Sensor: visibility | fields: value, lon, ts, qc
Task: Fetch reading from pressure where depth is greater than the total of depth in visibility for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062498 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: type, qc, lon, unit
Sensor: air_quality | fields: reading, qc, value, lon
Task: Fetch lon from dew_point that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_062499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.