variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, qc, unit, level
Sensor: visibility | fields: ts, level, unit, lat
Task: Fetch level from evaporation where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081200 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, lon, unit, depth
Sensor: turbidity | fields: depth, type, reading, level
Task: Get depth from snow_depth where depth exceeds the count of reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"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_081201 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lat, type, unit, depth
Sensor: soil_moisture | fields: lat, qc, lon, ts
Task: Get depth from humidity where value exceeds the total depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081202 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lat, ts, unit
Sensor: visibility | fields: level, lat, ts, reading
Task: Get depth from dew_point where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081203 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, depth, qc, unit
Sensor: pressure | fields: lat, qc, level, type
Task: Get level from humidity where reading exceeds the average value from pressure for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081204 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, value, ts, level
Sensor: visibility | fields: value, depth, type, unit
Task: Get lat from frost where depth exceeds the count of depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081205 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, level, qc, reading
Sensor: air_quality | fields: unit, value, qc, reading
Task: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081206 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, value, unit, ts
Sensor: drought_index | fields: reading, depth, value, ts
Task: Fetch lat from sunlight that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081207 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, qc, value, reading
Sensor: turbidity | fields: level, type, ts, reading
Task: Fetch depth from pressure where depth exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081208 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: type, value, qc, ts
Sensor: pressure | fields: type, lat, ts, lon
Task: Fetch depth from dew_point where qc exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081209 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, reading, value, depth
Sensor: rainfall | fields: lat, lon, reading, type
Task: Retrieve depth from dew_point with depth above the AVG(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081210 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, reading, ts, lon
Sensor: turbidity | fields: unit, ts, qc, depth
Task: Fetch depth from soil_moisture where ts exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081211 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, depth, ts, type
Sensor: turbidity | fields: depth, level, value, type
Task: Fetch level from lightning that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081212 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, value, lat, level
Sensor: cloud_cover | fields: ts, reading, type, unit
Task: Fetch lat from snow_depth where reading is greater than the maximum of reading in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081213 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: type, value, unit, qc
Sensor: cloud_cover | fields: value, depth, lon, qc
Task: Get level from dew_point where reading exceeds the minimum value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081214 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, value, type, depth
Sensor: visibility | fields: unit, value, lon, ts
Task: Retrieve value from rainfall whose qc is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081215 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, lat, reading, lon
Sensor: drought_index | fields: lat, depth, unit, value
Task: Get value from snow_depth where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081216 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: type, lon, lat, value
Sensor: evaporation | fields: value, depth, unit, level
Task: Get lon from cloud_cover where value exceeds the minimum reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081217 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, depth, reading, type
Sensor: turbidity | fields: lon, qc, depth, lat
Task: Retrieve value from wind_speed whose unit is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081218 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: depth, ts, reading, unit
Sensor: evaporation | fields: lat, type, unit, level
Task: Get value from rainfall where reading exceeds the minimum depth from evaporation for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081219 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, reading, type, unit
Sensor: drought_index | fields: level, unit, ts, lon
Task: Fetch lon from cloud_cover where reading is greater than the total of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081220 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, lat, unit, type
Sensor: pressure | fields: reading, qc, lon, level
Task: Get value from visibility where value exceeds the minimum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081221 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, level, value, reading
Sensor: uv_index | fields: ts, lat, type, level
Task: Retrieve reading from evaporation with depth above the SUM(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081222 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, type, level, ts
Sensor: snow_depth | fields: qc, level, reading, value
Task: Fetch level from humidity where reading is greater than the total of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081223 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, lon, value, depth
Sensor: sunlight | fields: level, type, lat, lon
Task: Get lat from cloud_cover where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081224 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, reading, ts, unit
Sensor: visibility | fields: value, lon, level, lat
Task: Fetch lon from rainfall where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081225 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: value, depth, qc, ts
Sensor: frost | fields: reading, value, lat, unit
Task: Get reading from rainfall where value exceeds the maximum depth from frost for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081226 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, lon, level, type
Sensor: humidity | fields: unit, depth, qc, ts
Task: Retrieve reading from lightning that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081227 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, type, level, qc
Sensor: cloud_cover | fields: reading, qc, depth, lon
Task: Retrieve value from dew_point whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081228 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, level, lat, ts
Sensor: evaporation | fields: type, lon, unit, value
Task: Get reading from cloud_cover where ts appears in evaporation readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081229 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: depth, unit, value, ts
Sensor: humidity | fields: depth, type, value, lon
Task: Retrieve level from evaporation whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081230 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, lon, value, unit
Sensor: lightning | fields: unit, depth, lat, qc
Task: Retrieve lat from snow_depth whose qc is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081231 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, ts, lat, depth
Sensor: air_quality | fields: qc, level, unit, lon
Task: Retrieve lat from soil_moisture with reading above the AVG(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081232 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, lat, value, type
Sensor: turbidity | fields: lat, ts, type, value
Task: Retrieve lon from dew_point with depth above the MAX(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081233 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, lon, ts, qc
Sensor: wind_speed | fields: level, lat, type, unit
Task: Get value from cloud_cover where depth exceeds the count of depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081234 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: value, qc, lon, reading
Sensor: sunlight | fields: value, unit, ts, lat
Task: Get lon from pressure where depth exceeds the minimum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081235 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, qc, reading, level
Sensor: humidity | fields: value, qc, lon, reading
Task: Retrieve reading from cloud_cover with depth above the MIN(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081236 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: ts, lon, qc, reading
Sensor: soil_moisture | fields: type, lat, lon, reading
Task: Get lat from humidity where unit appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081237 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: value, reading, type, lon
Sensor: temperature | fields: ts, value, depth, reading
Task: Fetch value from evaporation where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081238 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, lon, depth, qc
Sensor: evaporation | fields: lat, unit, reading, qc
Task: Fetch lon from drought_index where depth is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081239 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, type, value, lat
Sensor: frost | fields: level, qc, reading, depth
Task: Get value from evaporation where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081240 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: qc, unit, depth, reading
Sensor: drought_index | fields: qc, value, lon, unit
Task: Get value from air_quality where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081241 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lon, type, level
Sensor: frost | fields: lat, qc, lon, type
Task: Get depth from snow_depth where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081242 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, ts, lat, value
Sensor: humidity | fields: lat, level, lon, value
Task: Get lat from wind_speed where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081243 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, lon, level, depth
Sensor: turbidity | fields: unit, qc, value, reading
Task: Retrieve reading from cloud_cover whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081244 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, lat, value, ts
Sensor: temperature | fields: lat, unit, lon, qc
Task: Get depth from sunlight where depth exceeds the maximum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081245 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: depth, type, lon, unit
Sensor: dew_point | fields: reading, lon, unit, level
Task: Fetch reading from uv_index where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081246 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, lon, type, level
Sensor: frost | fields: type, lon, qc, value
Task: Fetch reading from temperature where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081247 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: unit, level, value, ts
Sensor: humidity | fields: unit, depth, lat, ts
Task: Fetch lon from uv_index where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081248 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: ts, level, value, qc
Sensor: humidity | fields: level, lon, ts, lat
Task: Fetch depth from air_quality where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081249 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, lat, value, lon
Sensor: dew_point | fields: value, reading, ts, unit
Task: Fetch lat from pressure that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081250 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: unit, level, lon, lat
Sensor: soil_moisture | fields: ts, value, unit, type
Task: Retrieve value from pressure that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081251 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: ts, depth, type, lon
Sensor: frost | fields: level, reading, type, lat
Task: Get value from turbidity where depth exceeds the count of value from frost for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081252 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lon, reading, value, qc
Sensor: dew_point | fields: reading, ts, lat, type
Task: Fetch value from drought_index where value is greater than the total of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081253 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, unit, ts, lon
Sensor: lightning | fields: value, depth, reading, qc
Task: Fetch level from pressure where depth is greater than the average of value in lightning for matching type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081254 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, qc, lat, unit
Sensor: cloud_cover | fields: unit, reading, value, lat
Task: Get depth from air_quality where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081255 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lat, value, ts
Sensor: rainfall | fields: value, depth, lat, ts
Task: Fetch value from soil_moisture that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081256 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, depth, lat, qc
Sensor: lightning | fields: ts, lon, reading, level
Task: Get level from uv_index where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081257 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: value, type, lon, lat
Sensor: rainfall | fields: qc, ts, reading, lon
Task: Retrieve reading from wind_speed with reading above the COUNT(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081258 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, ts, type, lat
Sensor: uv_index | fields: qc, unit, level, lon
Task: Retrieve lon from humidity that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081259 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: qc, value, depth, unit
Sensor: soil_moisture | fields: lat, ts, value, level
Task: Retrieve value from humidity with value above the COUNT(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081260 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: value, lon, type, qc
Sensor: rainfall | fields: depth, lat, ts, type
Task: Fetch lat from air_quality that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081261 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: lat, lon, ts, qc
Sensor: visibility | fields: level, type, lat, value
Task: Fetch lon from lightning where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081262 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: reading, unit, ts, lat
Sensor: cloud_cover | fields: depth, ts, lat, qc
Task: Get value from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081263 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: value, reading, qc, type
Sensor: temperature | fields: lat, ts, level, reading
Task: Get lon from uv_index where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081264 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, lat, ts, reading
Sensor: visibility | fields: level, depth, type, value
Task: Get level from evaporation where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081265 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, ts, reading, level
Sensor: wind_speed | fields: qc, level, lat, depth
Task: Retrieve value from uv_index whose ts is found in wind_speed records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081266 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, ts, unit, lon
Sensor: pressure | fields: reading, lat, type, value
Task: Get lon from soil_moisture where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081267 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, value, type, ts
Sensor: wind_speed | fields: level, lon, qc, type
Task: Get lon from humidity where reading exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081268 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: unit, reading, type, lon
Sensor: pressure | fields: qc, value, reading, ts
Task: Fetch level from air_quality where reading is greater than the average of reading in pressure for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081269 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, lon, lat, qc
Sensor: frost | fields: unit, reading, lon, ts
Task: Retrieve lat from dew_point with depth above the MAX(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081270 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: reading, level, ts, qc
Sensor: frost | fields: level, reading, lon, unit
Task: Retrieve level from turbidity whose unit is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081271 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: depth, lon, value, unit
Sensor: air_quality | fields: unit, ts, lat, lon
Task: Retrieve lon from evaporation with reading above the COUNT(value) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081272 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, reading, ts, value
Sensor: snow_depth | fields: qc, depth, value, lat
Task: Fetch lat from visibility that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081273 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: value, lat, reading, unit
Sensor: cloud_cover | fields: ts, unit, lat, qc
Task: Get value from pressure where depth exceeds the minimum depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081274 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lon, qc, ts
Sensor: snow_depth | fields: lon, reading, lat, qc
Task: Fetch value from turbidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081275 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: level, ts, type, qc
Sensor: uv_index | fields: lon, depth, level, unit
Task: Retrieve lon from drought_index that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081276 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, lat, lon, qc
Sensor: humidity | fields: level, depth, qc, value
Task: Fetch reading from sunlight where reading is greater than the count of of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081277 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: value, ts, type, qc
Sensor: frost | fields: unit, level, reading, ts
Task: Fetch reading from drought_index where value is greater than the minimum of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081278 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, lon, ts, reading
Sensor: cloud_cover | fields: value, lon, qc, type
Task: Fetch reading from dew_point that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081279 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, reading, qc, lat
Sensor: pressure | fields: lon, type, ts, depth
Task: Retrieve lat from cloud_cover with reading above the SUM(value) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081280 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, reading, value
Sensor: cloud_cover | fields: lat, type, reading, value
Task: Get lat from humidity where reading exceeds the count of depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081281 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: value, lon, unit, ts
Sensor: visibility | fields: reading, unit, depth, type
Task: Fetch depth from lightning where reading is greater than the average of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081282 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, type, depth, ts
Sensor: visibility | fields: type, depth, reading, unit
Task: Retrieve level from humidity whose unit is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081283 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, depth, lat, level
Sensor: air_quality | fields: depth, level, reading, value
Task: Get value from humidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081284 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lon, value, ts, reading
Sensor: dew_point | fields: value, depth, qc, lat
Task: Fetch depth from humidity that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081285 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lat, value, unit, ts
Sensor: pressure | fields: lat, type, level, value
Task: Get lat from humidity where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081286 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, unit, lon, type
Sensor: air_quality | fields: lon, depth, type, reading
Task: Fetch lon from cloud_cover where depth is greater than the maximum of reading in air_quality for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081287 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, ts, lat, lon
Sensor: snow_depth | fields: level, value, qc, unit
Task: Retrieve lat from cloud_cover that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081288 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, depth, ts
Sensor: temperature | fields: qc, ts, reading, unit
Task: Get value from pressure where depth exceeds the maximum depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081289 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, lon, qc, value
Sensor: cloud_cover | fields: depth, value, reading, type
Task: Fetch reading from visibility that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081290 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: type, qc, depth, reading
Sensor: rainfall | fields: unit, lon, lat, ts
Task: Fetch reading from humidity where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081291 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, type, qc, ts
Sensor: turbidity | fields: lon, level, qc, unit
Task: Fetch value from air_quality where depth is greater than the count of of reading in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081292 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: value, type, level, lat
Sensor: drought_index | fields: value, level, reading, unit
Task: Retrieve depth from humidity that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081293 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: value, lat, reading, unit
Sensor: frost | fields: value, unit, reading, qc
Task: Fetch value from sunlight where value is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081294 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, depth, qc, level
Sensor: evaporation | fields: type, lon, qc, level
Task: Get depth from visibility where value exceeds the average depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081295 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: reading, depth, value, lat
Sensor: evaporation | fields: value, reading, level, unit
Task: Retrieve value from dew_point that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081296 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: level, ts, unit, depth
Sensor: frost | fields: ts, depth, lon, qc
Task: Get lat from pressure where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081297 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, value, lon, lat
Sensor: soil_moisture | fields: lat, value, qc, depth
Task: Get reading from wind_speed where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081298 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, unit, level, value
Sensor: drought_index | fields: level, unit, ts, depth
Task: Get level from snow_depth where depth appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.