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: humidity | code: thr | fields: qc, reading, ts, unit
Sensor: uv_index | fields: type, lon, ts, level
Task: Fetch value from humidity that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071100 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, lon, unit, qc
Sensor: evaporation | fields: lat, level, type, qc
Task: Retrieve depth from pressure with value above the COUNT(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071101 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lat, unit, ts, value
Sensor: air_quality | fields: ts, unit, value, qc
Task: Retrieve depth from drought_index with depth above the COUNT(reading) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071102 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lat, value, qc
Sensor: rainfall | fields: ts, lat, unit, lon
Task: Fetch lat from snow_depth where qc exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071103 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: qc, lat, type, ts
Sensor: wind_speed | fields: level, lon, reading, qc
Task: Get lon from uv_index where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071104 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: type, depth, reading, ts
Sensor: evaporation | fields: type, lon, ts, value
Task: Fetch reading from wind_speed that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071105 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: type, lat, unit, level
Sensor: cloud_cover | fields: value, lon, qc, reading
Task: Fetch lon from sunlight where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071106 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: qc, lat, reading, value
Sensor: drought_index | fields: reading, value, unit, qc
Task: Get lat from dew_point where depth exceeds the average value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071107 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, type, value, lat
Sensor: turbidity | fields: unit, level, type, value
Task: Fetch depth from visibility where ts exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071108 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, qc, level, lat
Sensor: frost | fields: level, ts, qc, lon
Task: Fetch level from cloud_cover where reading is greater than the maximum of value in frost for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071109 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: qc, lat, ts, lon
Sensor: uv_index | fields: reading, qc, lat, lon
Task: Get lat from air_quality where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071110 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: depth, level, ts, lat
Sensor: soil_moisture | fields: value, type, depth, lon
Task: Fetch lat from evaporation where value is greater than the total of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"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_071111 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, lon, unit, type
Sensor: frost | fields: depth, qc, value, lon
Task: Fetch value from pressure where value is greater than the minimum of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071112 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, depth, level, ts
Sensor: cloud_cover | fields: type, value, ts, reading
Task: Retrieve level from snow_depth with value above the MAX(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071113 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, reading, qc, type
Sensor: sunlight | fields: level, qc, ts, unit
Task: Retrieve lat from humidity with value above the AVG(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071114 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, value, ts, type
Sensor: frost | fields: value, unit, qc, reading
Task: Fetch level from cloud_cover where unit exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071115 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, lat, depth, unit
Sensor: snow_depth | fields: level, ts, lon, qc
Task: Fetch value from cloud_cover where value is greater than the minimum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071116 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, lat, ts, value
Sensor: turbidity | fields: depth, ts, unit, level
Task: Fetch level from cloud_cover where depth is greater than the average of depth in turbidity for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071117 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: level, unit, reading, qc
Sensor: visibility | fields: unit, lon, qc, level
Task: Fetch lat from uv_index that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071118 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, reading, level, type
Sensor: air_quality | fields: level, qc, lat, unit
Task: Fetch value from drought_index that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071119 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, level, reading, lon
Sensor: uv_index | fields: level, unit, qc, ts
Task: Get value from temperature where value exceeds the average reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071120 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, lat, qc, unit
Sensor: air_quality | fields: depth, reading, unit, ts
Task: Get depth from humidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071121 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, lon, level, unit
Sensor: rainfall | fields: ts, type, reading, qc
Task: Fetch lat from wind_speed where reading is greater than the average of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071122 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lon, qc, ts
Sensor: soil_moisture | fields: unit, level, ts, depth
Task: Get value from snow_depth where depth exceeds the maximum value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071123 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, depth, value, lon
Sensor: dew_point | fields: qc, ts, depth, value
Task: Get value from rainfall where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071124 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: lat, level, type, depth
Sensor: uv_index | fields: value, lat, reading, ts
Task: Fetch level from drought_index where reading is greater than the minimum of value in uv_index for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071125 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: value, lat, qc, ts
Sensor: wind_speed | fields: qc, value, level, unit
Task: Get depth from rainfall where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071126 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, qc, type, lat
Sensor: evaporation | fields: qc, lon, ts, depth
Task: Retrieve depth from rainfall whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071127 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: value, qc, lon, depth
Sensor: visibility | fields: lon, lat, depth, reading
Task: Fetch depth from sunlight where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071128 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, level, unit, type
Sensor: temperature | fields: unit, depth, lon, type
Task: Get lon from drought_index where reading exceeds the count of depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071129 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: depth, lat, ts, level
Sensor: pressure | fields: level, unit, ts, lat
Task: Get reading from lightning where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071130 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, qc, level, depth
Sensor: lightning | fields: unit, qc, level, value
Task: Get reading from air_quality where value exceeds the total value from lightning for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071131 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, reading, lat, lon
Sensor: frost | fields: level, unit, ts, lon
Task: Retrieve value from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071132 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, unit, depth, type
Sensor: temperature | fields: value, qc, type, lon
Task: Retrieve value from sunlight that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071133 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: ts, depth, level, qc
Sensor: dew_point | fields: level, lat, reading, ts
Task: Fetch lon from temperature where value is greater than the minimum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071134 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: level, qc, value, unit
Sensor: cloud_cover | fields: lon, unit, reading, qc
Task: Retrieve lon from visibility with value above the COUNT(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071135 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: unit, reading, value, lat
Sensor: pressure | fields: lat, depth, qc, lon
Task: Get lon from uv_index where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071136 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, depth, level, lat
Sensor: humidity | fields: qc, ts, level, depth
Task: Get reading from wind_speed where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071137 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, value, lon, lat
Sensor: sunlight | fields: qc, level, unit, ts
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071138 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: level, lat, type, value
Sensor: temperature | fields: value, ts, lat, lon
Task: Retrieve reading from sunlight that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071139 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, depth, unit
Sensor: pressure | fields: qc, depth, unit, lat
Task: Get level from soil_moisture where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071140 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, reading, level, qc
Sensor: cloud_cover | fields: ts, lon, qc, reading
Task: Fetch lat from air_quality that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071141 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, value, qc, depth
Sensor: lightning | fields: qc, reading, unit, depth
Task: Fetch level from rainfall where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071142 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: ts, lon, reading, lat
Sensor: sunlight | fields: value, depth, qc, lon
Task: Fetch level from pressure where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071143 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: value, depth, type, reading
Sensor: drought_index | fields: lon, value, ts, reading
Task: Get value from rainfall where depth appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071144 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, depth, type, level
Sensor: wind_speed | fields: lon, reading, type, value
Task: Retrieve lon from temperature that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071145 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: depth, lon, lat, reading
Sensor: evaporation | fields: qc, lon, ts, type
Task: Get value from humidity where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071146 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, type, lat, depth
Sensor: frost | fields: reading, value, depth, unit
Task: Fetch value from snow_depth where depth is greater than the average of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071147 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, level, type, lat
Sensor: lightning | fields: lon, type, value, depth
Task: Get depth from drought_index where depth exceeds the maximum reading from lightning for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "depth",
"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_071148 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, lat, unit, value
Sensor: visibility | fields: lon, reading, ts, value
Task: Retrieve lat from snow_depth that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071149 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: qc, level, ts, type
Sensor: wind_speed | fields: depth, level, lon, reading
Task: Fetch level from frost where qc exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071150 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, lon, reading, level
Sensor: sunlight | fields: depth, lat, reading, level
Task: Fetch lat from temperature where depth is greater than the maximum of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071151 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, lon, lat, reading
Sensor: snow_depth | fields: depth, reading, level, qc
Task: Fetch lon from visibility where unit exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071152 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: lon, value, depth, ts
Sensor: wind_speed | fields: lat, ts, type, lon
Task: Retrieve depth from visibility that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071153 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: unit, depth, value, ts
Sensor: frost | fields: type, value, reading, qc
Task: Retrieve value from humidity whose qc is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071154 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: value, ts, depth, unit
Sensor: drought_index | fields: depth, unit, lat, type
Task: Get depth from lightning where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071155 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: ts, level, lon, type
Sensor: lightning | fields: lat, type, qc, unit
Task: Get depth from visibility where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071156 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, reading, unit, lon
Sensor: humidity | fields: qc, depth, lon, unit
Task: Fetch level from pressure that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071157 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: level, reading, ts, lon
Sensor: sunlight | fields: value, unit, depth, qc
Task: Retrieve lon from evaporation whose unit is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071158 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lon, level, depth, qc
Sensor: drought_index | fields: lon, unit, level, qc
Task: Retrieve depth from pressure with reading above the COUNT(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071159 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, value, lon, level
Sensor: temperature | fields: depth, value, level, type
Task: Get depth from humidity where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071160 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: reading, qc, depth, lat
Sensor: rainfall | fields: unit, lon, value, ts
Task: Get level from air_quality where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071161 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lat, lon, unit, level
Sensor: air_quality | fields: ts, reading, depth, unit
Task: Get lat from visibility where depth appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071162 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: reading, value, lat, level
Sensor: evaporation | fields: ts, depth, value, level
Task: Fetch reading from lightning where reading is greater than the count of of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071163 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, unit, lat, depth
Sensor: uv_index | fields: lat, lon, reading, ts
Task: Fetch lon from cloud_cover where depth is greater than the total of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071164 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: reading, unit, lat, ts
Sensor: dew_point | fields: lat, ts, lon, depth
Task: Fetch lon from evaporation where value is greater than the count of of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071165 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: reading, qc, unit, lon
Sensor: humidity | fields: depth, unit, ts, level
Task: Retrieve depth from lightning whose qc is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071166 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: level, qc, reading, type
Sensor: visibility | fields: unit, ts, qc, depth
Task: Retrieve level from lightning whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071167 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: qc, value, lon, lat
Sensor: turbidity | fields: level, qc, lat, unit
Task: Retrieve depth from visibility with depth above the COUNT(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071168 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, ts, lon
Sensor: uv_index | fields: level, ts, value, reading
Task: Retrieve value from sunlight with value above the AVG(reading) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071169 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, type, qc, depth
Sensor: cloud_cover | fields: ts, value, depth, unit
Task: Get lon from lightning where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071170 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, qc, reading
Sensor: snow_depth | fields: lon, qc, type, reading
Task: Get depth from evaporation where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071171 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lon, lat, value, type
Sensor: evaporation | fields: lat, reading, value, unit
Task: Get reading from pressure where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071172 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lon, reading, ts, lat
Sensor: uv_index | fields: depth, value, unit, lat
Task: Get lat from lightning where type appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071173 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: ts, unit, qc, value
Sensor: frost | fields: lon, qc, ts, type
Task: Get lon from temperature where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071174 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, qc, reading, depth
Sensor: visibility | fields: type, depth, lat, level
Task: Fetch value from uv_index where qc exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071175 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: reading, unit, type, level
Sensor: turbidity | fields: reading, type, unit, lat
Task: Get lat from lightning where qc appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071176 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, lat, unit, ts
Sensor: dew_point | fields: lat, unit, reading, qc
Task: Retrieve lat from pressure with depth above the MIN(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071177 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: qc, type, value, depth
Sensor: pressure | fields: reading, qc, level, value
Task: Retrieve reading from temperature that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071178 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, depth, value, unit
Sensor: turbidity | fields: unit, level, type, ts
Task: Retrieve reading from air_quality whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071179 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, unit, qc, lon
Sensor: drought_index | fields: depth, lon, reading, ts
Task: Retrieve lat from lightning with value above the COUNT(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071180 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: type, unit, ts, lon
Sensor: dew_point | fields: lat, value, depth, level
Task: Get depth from turbidity where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071181 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, unit, depth, reading
Sensor: snow_depth | fields: lat, qc, ts, reading
Task: Fetch lon from rainfall that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071182 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, unit, lon, reading
Sensor: temperature | fields: qc, unit, lat, type
Task: Get reading from turbidity where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071183 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, type, qc, level
Sensor: turbidity | fields: type, level, value, lat
Task: Retrieve reading from soil_moisture whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071184 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, unit, value, type
Sensor: lightning | fields: reading, type, lon, level
Task: Retrieve lat from soil_moisture with reading above the COUNT(reading) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071185 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lon, value, qc, ts
Sensor: uv_index | fields: lat, value, unit, ts
Task: Retrieve depth from evaporation whose ts is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071186 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: depth, value, reading, qc
Sensor: visibility | fields: depth, value, unit, level
Task: Retrieve level from pressure that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071187 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, reading, level, unit
Sensor: pressure | fields: unit, lon, type, lat
Task: Fetch lat from lightning where reading is greater than the average of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071188 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: reading, level, ts, lat
Sensor: rainfall | fields: level, qc, lat, value
Task: Get level from humidity where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071189 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: level, ts, lon, unit
Sensor: temperature | fields: ts, qc, lat, lon
Task: Fetch reading from pressure that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071190 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, type, reading, lat
Sensor: dew_point | fields: type, ts, value, lon
Task: Fetch value from snow_depth where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071191 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: reading, value, depth, type
Sensor: air_quality | fields: ts, level, depth, qc
Task: Get value from turbidity where depth exceeds the count of depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071192 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lon, type, qc
Sensor: cloud_cover | fields: ts, qc, depth, value
Task: Fetch reading from frost where value is greater than the maximum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071193 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: ts, reading, lon, level
Sensor: lightning | fields: ts, type, lon, level
Task: Fetch lat from sunlight where depth is greater than the count of of reading in lightning for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071194 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, reading, unit, depth
Sensor: snow_depth | fields: qc, level, reading, type
Task: Retrieve lat from lightning whose ts is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071195 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lat, level, type, unit
Sensor: air_quality | fields: value, level, type, reading
Task: Fetch lat from evaporation where depth is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071196 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, lon, type, lat
Sensor: turbidity | fields: type, level, value, qc
Task: Get value from rainfall where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071197 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: unit, reading, lat, ts
Sensor: dew_point | fields: qc, unit, lon, depth
Task: Retrieve level from evaporation whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071198 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: reading, ts, unit, type
Sensor: rainfall | fields: lat, ts, depth, qc
Task: Fetch value from pressure that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.