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: turbidity | code: mst | fields: reading, level, ts, qc
Sensor: visibility | fields: reading, level, depth, unit
Task: Fetch lat from turbidity that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007700 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, unit, value, type
Sensor: humidity | fields: unit, type, ts, level
Task: Get level from cloud_cover where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007701 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, ts, value, qc
Sensor: air_quality | fields: level, depth, type, unit
Task: Get lat from rainfall where depth exceeds the maximum depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007702 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, level, reading, depth
Sensor: rainfall | fields: qc, type, lat, lon
Task: Get lon from drought_index where depth appears in rainfall readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007703 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, qc, unit, depth
Sensor: dew_point | fields: lat, ts, lon, level
Task: Fetch lon from cloud_cover where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007704 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: level, qc, type, depth
Sensor: sunlight | fields: level, value, depth, reading
Task: Retrieve depth from evaporation with value above the SUM(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007705 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, lon, depth, qc
Sensor: turbidity | fields: unit, level, depth, reading
Task: Get lon from frost where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007706 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, lat, reading, level
Sensor: temperature | fields: level, ts, depth, lon
Task: Retrieve lon from drought_index with reading above the AVG(value) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007707 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, reading, ts, type
Sensor: wind_speed | fields: level, depth, qc, ts
Task: Get depth from soil_moisture where value exceeds the total reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007708 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: type, reading, value, ts
Sensor: snow_depth | fields: depth, lat, unit, level
Task: Get depth from frost where ts appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007709 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, reading, lat
Sensor: turbidity | fields: level, reading, ts, value
Task: Fetch depth from air_quality that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007710 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: level, type, value, lat
Sensor: cloud_cover | fields: level, lat, value, unit
Task: Get reading from rainfall where value exceeds the total value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007711 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: value, unit, lon, reading
Sensor: humidity | fields: lat, value, reading, lon
Task: Retrieve lon from pressure whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
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": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007712 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, value, type, ts
Sensor: cloud_cover | fields: ts, type, depth, lat
Task: Get depth from soil_moisture where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007713 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, type, reading, qc
Sensor: air_quality | fields: qc, reading, level, type
Task: Retrieve value from sunlight that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007714 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, unit, lon, level
Sensor: dew_point | fields: qc, lat, reading, type
Task: Fetch lon from humidity where ts exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007715 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, lon, type, ts
Sensor: rainfall | fields: value, lon, qc, reading
Task: Get lat from uv_index where depth exceeds the total depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007716 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: unit, qc, depth, value
Sensor: sunlight | fields: lat, depth, qc, value
Task: Fetch reading from dew_point where reading is greater than the minimum of value in sunlight for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007717 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, unit, depth, lon
Sensor: evaporation | fields: lat, reading, level, lon
Task: Fetch level from drought_index where unit exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007718 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: depth, unit, type, qc
Sensor: uv_index | fields: level, depth, ts, type
Task: Retrieve lat from dew_point with value above the MAX(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007719 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, value, level, type
Sensor: soil_moisture | fields: unit, reading, value, depth
Task: Fetch depth from pressure where qc exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007720 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, lat, qc, ts
Sensor: pressure | fields: reading, depth, unit, qc
Task: Fetch depth from uv_index that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007721 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: level, unit, value, ts
Sensor: wind_speed | fields: qc, reading, depth, ts
Task: Get value from frost where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007722 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: type, qc, depth, level
Sensor: drought_index | fields: lon, unit, value, type
Task: Get lon from temperature where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007723 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lon, level, lat
Sensor: snow_depth | fields: qc, ts, value, depth
Task: Get reading from turbidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007724 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, reading, lat, type
Sensor: snow_depth | fields: unit, depth, qc, reading
Task: Retrieve lon from pressure whose depth is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007725 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, reading, lon, ts
Sensor: soil_moisture | fields: ts, value, lon, unit
Task: Retrieve depth from dew_point that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007726 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: qc, value, type, lon
Sensor: uv_index | fields: depth, lon, level, reading
Task: Retrieve reading from frost with depth above the AVG(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007727 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, ts, depth, lon
Sensor: frost | fields: value, qc, unit, type
Task: Get value from temperature where value exceeds the maximum reading from frost for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007728 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, ts, level, type
Sensor: snow_depth | fields: ts, lon, type, lat
Task: Fetch level from wind_speed where depth is greater than the minimum of reading in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007729 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: depth, unit, reading, ts
Sensor: drought_index | fields: qc, lat, value, unit
Task: Get value from dew_point where depth exceeds the total value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007730 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, value, unit, type
Sensor: humidity | fields: unit, lat, lon, ts
Task: Fetch lat from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007731 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: qc, reading, depth, level
Sensor: air_quality | fields: unit, reading, lat, qc
Task: Get value from evaporation where depth exceeds the total reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007732 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, value, lat, ts
Sensor: lightning | fields: lat, level, value, type
Task: Retrieve depth from wind_speed with value above the MAX(reading) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007733 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, qc, reading, lat
Sensor: evaporation | fields: lon, qc, lat, reading
Task: Fetch lat from soil_moisture where value is greater than the minimum of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007734 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lon, ts, reading, qc
Sensor: snow_depth | fields: lon, reading, qc, type
Task: Get reading from drought_index where ts appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007735 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: level, ts, depth, reading
Sensor: temperature | fields: lat, type, level, reading
Task: Get value from snow_depth where reading exceeds the count of value from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007736 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, value, qc, ts
Sensor: evaporation | fields: unit, value, level, lat
Task: Fetch lon from pressure that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007737 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: level, qc, depth, unit
Sensor: uv_index | fields: level, type, value, reading
Task: Fetch level from air_quality where reading is greater than the maximum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007738 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, lon, depth, reading
Sensor: sunlight | fields: level, type, value, reading
Task: Retrieve lon from drought_index that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007739 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, value, depth
Sensor: pressure | fields: ts, qc, type, lon
Task: Get value from soil_moisture where depth appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007740 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, qc, reading, depth
Sensor: lightning | fields: depth, value, unit, ts
Task: Retrieve lon from drought_index with value above the MAX(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007741 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lat, reading, lon, qc
Sensor: cloud_cover | fields: level, ts, reading, type
Task: Retrieve level from frost that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007742 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, level, type, depth
Sensor: wind_speed | fields: depth, unit, level, ts
Task: Get value from drought_index where value exceeds the total value from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007743 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, unit, type, ts
Sensor: pressure | fields: lon, level, unit, lat
Task: Retrieve depth from drought_index whose type is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007744 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, ts, lat, type
Sensor: evaporation | fields: lon, ts, reading, level
Task: Fetch reading from uv_index that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007745 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, value, depth, unit
Sensor: humidity | fields: value, ts, qc, level
Task: Fetch depth from drought_index where depth is greater than the maximum of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007746 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, level, value, lon
Sensor: soil_moisture | fields: qc, lat, unit, level
Task: Fetch lat from visibility where depth is greater than the count of of depth in soil_moisture for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007747 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, lon, qc
Sensor: wind_speed | fields: type, lat, value, ts
Task: Retrieve value from turbidity that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007748 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, lat, lon, value
Sensor: visibility | fields: level, lat, value, type
Task: Fetch lat from wind_speed that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007749 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lat, qc, type, unit
Sensor: wind_speed | fields: type, ts, lon, value
Task: Get lat from rainfall where reading exceeds the total reading from wind_speed for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007750 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, lat, value, qc
Sensor: soil_moisture | fields: level, value, ts, lon
Task: Get value from drought_index where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007751 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, ts, type, lon
Sensor: soil_moisture | fields: depth, lon, lat, type
Task: Fetch depth from humidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007752 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, qc, unit
Sensor: visibility | fields: qc, lon, reading, unit
Task: Retrieve level from cloud_cover with depth above the COUNT(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007753 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lon, unit, depth
Sensor: air_quality | fields: depth, ts, value, lon
Task: Get lat from snow_depth where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007754 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, lat, qc, unit
Sensor: soil_moisture | fields: lat, lon, qc, reading
Task: Fetch lon from air_quality that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007755 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, depth, ts, value
Sensor: drought_index | fields: depth, reading, lon, type
Task: Get level from frost where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007756 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, lat, depth, ts
Sensor: dew_point | fields: unit, level, qc, reading
Task: Get lon from temperature where value exceeds the total depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007757 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: type, lon, level, depth
Sensor: sunlight | fields: type, lat, level, depth
Task: Fetch lat from uv_index where reading is greater than the count of of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007758 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: type, reading, level, lat
Sensor: pressure | fields: level, lon, type, ts
Task: Get lon from dew_point where reading exceeds the total reading from pressure for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007759 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: lat, reading, ts, level
Sensor: temperature | fields: lat, ts, qc, level
Task: Fetch lon from air_quality that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007760 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, value, type, lat
Sensor: frost | fields: type, reading, value, qc
Task: Fetch level from air_quality that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007761 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: level, unit, depth, reading
Sensor: wind_speed | fields: lat, value, unit, ts
Task: Get depth from pressure where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007762 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, lat, level, ts
Sensor: frost | fields: qc, lat, type, unit
Task: Get depth from soil_moisture where qc appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007763 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, ts, lat, reading
Sensor: rainfall | fields: qc, value, ts, lat
Task: Retrieve level from wind_speed with value above the AVG(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007764 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, type, depth, unit
Sensor: temperature | fields: ts, lon, depth, qc
Task: Fetch level from dew_point where type exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007765 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, lat, level, unit
Sensor: soil_moisture | fields: reading, depth, level, unit
Task: Fetch depth from dew_point where depth is greater than the count of of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007766 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: type, reading, qc, depth
Sensor: dew_point | fields: unit, lat, ts, level
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007767 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: qc, unit, level, value
Sensor: uv_index | fields: value, lat, lon, qc
Task: Fetch depth from dew_point where unit exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007768 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, unit, type, lon
Sensor: snow_depth | fields: reading, unit, depth, lat
Task: Retrieve reading from humidity with depth above the MAX(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007769 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: lat, level, ts, qc
Sensor: drought_index | fields: lon, level, qc, depth
Task: Retrieve depth from uv_index with depth above the MAX(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007770 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: value, depth, level, unit
Sensor: soil_moisture | fields: ts, lat, type, qc
Task: Retrieve lat from turbidity with depth above the MAX(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007771 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, level, type, lon
Sensor: humidity | fields: lat, reading, ts, level
Task: Fetch reading from soil_moisture where ts exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007772 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, type, depth, lat
Sensor: pressure | fields: lon, lat, unit, depth
Task: Fetch reading from visibility that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007773 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, unit, level, lon
Sensor: evaporation | fields: unit, depth, qc, lat
Task: Fetch lon from cloud_cover where reading is greater than the minimum of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007774 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: qc, unit, value, reading
Sensor: pressure | fields: value, reading, unit, ts
Task: Fetch lat from lightning that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007775 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: reading, depth, ts, value
Sensor: sunlight | fields: reading, value, lat, depth
Task: Fetch reading from air_quality that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007776 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, reading, type, unit
Sensor: dew_point | fields: qc, type, level, reading
Task: Retrieve value from cloud_cover with depth above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007777 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, qc, type, ts
Sensor: uv_index | fields: lon, lat, value, unit
Task: Fetch level from drought_index that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007778 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, qc, lon, lat
Sensor: cloud_cover | fields: value, ts, level, lat
Task: Fetch level from rainfall where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007779 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: ts, type, value, depth
Sensor: frost | fields: unit, lat, value, type
Task: Retrieve value from drought_index that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007780 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, reading, type, lon
Sensor: evaporation | fields: ts, level, depth, unit
Task: Retrieve value from humidity that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007781 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lat, qc, depth, unit
Sensor: uv_index | fields: value, unit, qc, lat
Task: Get level from turbidity where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007782 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, lon, depth, unit
Sensor: uv_index | fields: lon, qc, level, ts
Task: Fetch value from turbidity where unit exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007783 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, value, unit, lon
Sensor: rainfall | fields: level, value, lon, type
Task: Fetch level from snow_depth where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007784 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: unit, reading, lat, type
Sensor: visibility | fields: lat, reading, qc, value
Task: Fetch lon from drought_index that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007785 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, depth, lat, value
Sensor: frost | fields: qc, ts, depth, type
Task: Fetch reading from humidity where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007786 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lon, unit, depth
Sensor: soil_moisture | fields: qc, value, lon, unit
Task: Retrieve depth from turbidity with reading above the MIN(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007787 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, unit, level, reading
Sensor: cloud_cover | fields: unit, depth, lat, ts
Task: Fetch lon from rainfall where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007788 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, value, reading, type
Sensor: rainfall | fields: type, ts, lat, reading
Task: Retrieve value from cloud_cover that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007789 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: unit, lat, level, depth
Sensor: uv_index | fields: level, value, unit, qc
Task: Retrieve lon from dew_point that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007790 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, qc, level, lat
Sensor: turbidity | fields: level, qc, type, lon
Task: Retrieve level from uv_index whose depth is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007791 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: depth, level, qc, lon
Sensor: air_quality | fields: ts, reading, level, unit
Task: Retrieve lon from turbidity that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007792 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, lat, ts, qc
Sensor: dew_point | fields: type, value, lon, depth
Task: Fetch lat from snow_depth where depth is greater than the average of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007793 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: depth, value, lon, lat
Sensor: rainfall | fields: qc, ts, depth, type
Task: Fetch level from evaporation that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007794 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, reading, ts, unit
Sensor: uv_index | fields: lon, ts, level, value
Task: Fetch level from humidity where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007795 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lon, value, reading, type
Sensor: visibility | fields: value, unit, lon, ts
Task: Get reading from drought_index where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007796 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, level, depth, value
Sensor: drought_index | fields: unit, lat, type, depth
Task: Get lon from wind_speed where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"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_007797 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, depth, qc, type
Sensor: sunlight | fields: unit, type, level, lat
Task: Fetch level from soil_moisture where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007798 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, value, type, lat
Sensor: air_quality | fields: qc, type, reading, lat
Task: Fetch lon from lightning where value is greater than the average of value in air_quality for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.