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: rainfall | code: hub | fields: unit, depth, qc, value
Sensor: visibility | fields: depth, lon, reading, ts
Task: Get value from rainfall where ts appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076300 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, qc, type, value
Sensor: snow_depth | fields: lon, value, unit, lat
Task: Get level from sunlight where value exceeds the total depth from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076301 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, unit, value, level
Sensor: frost | fields: lat, qc, unit, ts
Task: Fetch reading from cloud_cover where depth is greater than the average of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076302 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, reading, level, lat
Sensor: frost | fields: qc, type, lon, lat
Task: Retrieve lat from sunlight whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076303 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: reading, unit, type, depth
Sensor: uv_index | fields: depth, unit, lat, reading
Task: Get lat from frost where depth exceeds the average depth from uv_index for the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076304 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, ts, unit, value
Sensor: temperature | fields: qc, unit, reading, value
Task: Fetch level from snow_depth that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076305 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, ts, depth, unit
Sensor: visibility | fields: qc, type, reading, lat
Task: Get reading from air_quality where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076306 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: qc, ts, depth, lat
Sensor: drought_index | fields: unit, lat, qc, depth
Task: Get reading from sunlight where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076307 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, type, reading, ts
Sensor: rainfall | fields: depth, value, qc, lon
Task: Retrieve level from drought_index with value above the COUNT(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076308 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, type, ts, value
Sensor: evaporation | fields: type, ts, level, lon
Task: Get level from soil_moisture where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076309 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, value, qc, ts
Sensor: air_quality | fields: unit, depth, qc, ts
Task: Retrieve value from dew_point that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"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_076310 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, lat, type, level
Sensor: rainfall | fields: reading, lat, depth, lon
Task: Retrieve lat from frost whose ts is found in rainfall records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076311 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, level, ts, unit
Sensor: turbidity | fields: qc, ts, lon, reading
Task: Get value from cloud_cover where reading exceeds the average value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076312 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, type, value, level
Sensor: frost | fields: value, type, ts, depth
Task: Get reading from cloud_cover where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076313 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: unit, value, ts, reading
Sensor: dew_point | fields: lon, level, qc, lat
Task: Fetch depth from wind_speed where depth exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076314 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, type, unit, ts
Sensor: wind_speed | fields: level, depth, value, reading
Task: Retrieve level from turbidity that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076315 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, unit, depth, type
Sensor: rainfall | fields: level, unit, reading, value
Task: Get depth from turbidity where value exceeds the count of value from rainfall for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076316 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, value, type, lon
Sensor: sunlight | fields: qc, level, reading, type
Task: Fetch lat from uv_index where depth exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076317 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, level, type, value
Sensor: humidity | fields: depth, unit, type, reading
Task: Get depth from wind_speed where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076318 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: depth, type, value, lat
Sensor: frost | fields: reading, value, ts, qc
Task: Get reading from pressure where depth exceeds the total depth from frost for the same type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076319 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: qc, unit, ts, lat
Sensor: air_quality | fields: type, depth, value, level
Task: Fetch lon from evaporation that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076320 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: reading, unit, ts, qc
Sensor: soil_moisture | fields: level, qc, value, lat
Task: Retrieve value from drought_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076321 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lat, qc, depth, value
Sensor: lightning | fields: value, qc, type, unit
Task: Get lat from humidity where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076322 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lat, level, type, reading
Sensor: temperature | fields: value, ts, level, lat
Task: Fetch lon from lightning that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076323 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lat, reading, value, qc
Sensor: temperature | fields: lat, depth, ts, unit
Task: Retrieve lat from air_quality that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076324 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: type, level, lon, value
Sensor: soil_moisture | fields: unit, type, depth, ts
Task: Get depth from visibility where depth appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076325 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: ts, reading, lon, unit
Sensor: lightning | fields: unit, level, lon, qc
Task: Retrieve value from sunlight with value above the MAX(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076326 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, type, level, ts
Sensor: evaporation | fields: unit, reading, value, lat
Task: Retrieve depth from dew_point that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076327 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: ts, value, level, qc
Sensor: dew_point | fields: type, lon, ts, qc
Task: Get value from air_quality where qc appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076328 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: reading, lon, value, lat
Sensor: humidity | fields: depth, level, type, lon
Task: Fetch value from sunlight where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076329 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, lat, qc, type
Sensor: evaporation | fields: value, ts, reading, type
Task: Retrieve reading from soil_moisture whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076330 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: qc, ts, type, value
Sensor: dew_point | fields: depth, value, reading, level
Task: Fetch lat from lightning that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076331 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, ts, qc, unit
Sensor: drought_index | fields: type, lat, lon, ts
Task: Fetch value from cloud_cover that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076332 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: reading, level, lon, depth
Sensor: humidity | fields: depth, ts, level, value
Task: Retrieve lat from evaporation that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076333 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: type, ts, value, level
Sensor: sunlight | fields: unit, level, value, type
Task: Retrieve level from wind_speed with depth above the SUM(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076334 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, unit, level, value
Sensor: cloud_cover | fields: lat, qc, lon, value
Task: Retrieve value from pressure whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076335 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: unit, value, depth, level
Sensor: rainfall | fields: reading, value, qc, ts
Task: Retrieve reading from drought_index with depth above the SUM(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076336 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, unit, reading, lat
Sensor: sunlight | fields: qc, type, value, reading
Task: Retrieve lat from temperature whose depth is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076337 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, qc, reading, lon
Sensor: turbidity | fields: lat, value, depth, level
Task: Retrieve reading from lightning whose unit is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076338 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, lon, type, lat
Sensor: snow_depth | fields: value, reading, type, lat
Task: Retrieve level from cloud_cover that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076339 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: depth, value, unit, lat
Sensor: turbidity | fields: reading, level, type, ts
Task: Fetch depth from temperature where depth is greater than the count of of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076340 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, qc, reading, ts
Sensor: pressure | fields: unit, lat, value, type
Task: Get level from cloud_cover where reading exceeds the count of reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076341 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: reading, ts, lat, unit
Sensor: dew_point | fields: value, unit, ts, lon
Task: Retrieve value from lightning that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076342 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: value, lat, level, type
Sensor: visibility | fields: level, qc, type, ts
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="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076343 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, value, unit, lon
Sensor: drought_index | fields: ts, depth, unit, type
Task: Retrieve depth from sunlight with depth above the COUNT(depth) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076344 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: depth, qc, value, unit
Sensor: soil_moisture | fields: level, reading, ts, depth
Task: Fetch depth from pressure where reading is greater than the average of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076345 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: lat, ts, lon, type
Sensor: rainfall | fields: reading, level, qc, type
Task: Get level from drought_index where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076346 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: ts, unit, depth, type
Sensor: visibility | fields: lon, ts, value, level
Task: Get depth from humidity where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"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_076347 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, ts, level, value
Sensor: air_quality | fields: value, lon, reading, level
Task: Get reading from cloud_cover where depth appears in air_quality readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076348 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lon, ts, reading
Sensor: drought_index | fields: qc, lon, unit, lat
Task: Fetch lon from wind_speed where type exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076349 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: lon, ts, lat, value
Sensor: pressure | fields: reading, ts, qc, level
Task: Retrieve level from turbidity with depth above the MAX(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076350 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: level, lon, type, unit
Sensor: pressure | fields: ts, value, reading, type
Task: Retrieve value from sunlight that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076351 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: ts, qc, type, unit
Sensor: drought_index | fields: value, qc, ts, unit
Task: Fetch lon from air_quality that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076352 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, ts, lon, depth
Sensor: dew_point | fields: qc, level, type, ts
Task: Get value from rainfall where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076353 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, lat, unit
Sensor: temperature | fields: unit, type, ts, lat
Task: Get value from turbidity where ts appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076354 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, type, lon
Sensor: visibility | fields: qc, value, depth, type
Task: Retrieve lon from dew_point with depth above the MAX(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076355 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, qc, unit, reading
Sensor: frost | fields: level, value, ts, depth
Task: Retrieve lat from air_quality that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076356 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, lon, value, type
Sensor: humidity | fields: qc, level, value, reading
Task: Fetch lat from frost where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076357 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: lon, qc, level, unit
Sensor: wind_speed | fields: reading, depth, unit, value
Task: Get level from sunlight where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076358 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: unit, level, lat, reading
Sensor: drought_index | fields: depth, unit, reading, level
Task: Retrieve value from humidity with value above the MAX(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076359 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, unit, ts, reading
Sensor: frost | fields: unit, type, ts, qc
Task: Get value from cloud_cover where depth exceeds the maximum reading from frost for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076360 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: depth, ts, level, type
Sensor: cloud_cover | fields: reading, level, lat, type
Task: Retrieve lon from air_quality whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076361 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: qc, depth, lon, level
Sensor: lightning | fields: depth, reading, level, value
Task: Fetch lon from drought_index that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076362 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, type, qc, lat
Sensor: turbidity | fields: value, reading, type, depth
Task: Retrieve value from drought_index whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076363 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, type, reading, ts
Sensor: cloud_cover | fields: unit, ts, level, reading
Task: Fetch level from soil_moisture where reading is greater than the minimum of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076364 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: qc, ts, type, lon
Sensor: wind_speed | fields: type, value, unit, ts
Task: Fetch lon from temperature where depth is greater than the total of reading in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076365 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, lat, ts, reading
Sensor: uv_index | fields: lat, value, ts, depth
Task: Fetch value from temperature where depth exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076366 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: unit, lat, type, lon
Sensor: sunlight | fields: level, unit, reading, qc
Task: Fetch reading from turbidity where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076367 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, reading, type, depth
Sensor: drought_index | fields: reading, depth, lat, qc
Task: Retrieve lat from evaporation with value above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076368 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, reading, value, type
Sensor: air_quality | fields: qc, depth, level, value
Task: Fetch lon from turbidity where reading is greater than the average of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076369 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, ts, lat, reading
Sensor: dew_point | fields: qc, lat, reading, ts
Task: Get value from soil_moisture where depth exceeds the total depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076370 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: unit, depth, lon, ts
Sensor: cloud_cover | fields: value, lon, qc, lat
Task: Get depth from dew_point where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076371 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, ts, depth, value
Sensor: turbidity | fields: type, unit, lon, ts
Task: Retrieve level from soil_moisture that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076372 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, lat, depth, unit
Sensor: snow_depth | fields: ts, lat, type, level
Task: Fetch depth from uv_index where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076373 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, value, lat, level
Sensor: snow_depth | fields: ts, level, reading, type
Task: Retrieve depth from air_quality with reading above the MAX(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076374 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, lon, level, ts
Sensor: air_quality | fields: unit, value, level, type
Task: Get value from cloud_cover where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076375 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lon, value, depth
Sensor: sunlight | fields: value, lon, ts, depth
Task: Fetch level from frost where depth is greater than the total of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076376 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, value, ts
Sensor: temperature | fields: ts, depth, lat, reading
Task: Fetch depth from lightning where reading is greater than the minimum of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076377 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: depth, unit, type, lon
Sensor: dew_point | fields: depth, value, unit, reading
Task: Retrieve depth from temperature that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076378 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: lon, qc, reading, ts
Sensor: pressure | fields: reading, unit, type, lat
Task: Get lat from sunlight where reading exceeds the minimum reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076379 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, reading, unit, ts
Sensor: frost | fields: type, level, unit, reading
Task: Get level from visibility where depth appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076380 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: reading, qc, depth, unit
Sensor: rainfall | fields: lon, lat, depth, type
Task: Get lon from soil_moisture where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076381 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: ts, qc, lon, depth
Sensor: humidity | fields: reading, depth, type, lon
Task: Get reading from uv_index where reading exceeds the average reading from humidity for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076382 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, level, value, ts
Sensor: pressure | fields: lon, reading, level, ts
Task: Retrieve lat from snow_depth whose depth is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076383 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, depth, level, reading
Sensor: soil_moisture | fields: level, ts, type, unit
Task: Get level from drought_index where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076384 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: level, reading, unit, lon
Sensor: drought_index | fields: unit, ts, lat, reading
Task: Retrieve lat from air_quality whose ts is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076385 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, type, reading, lat
Sensor: pressure | fields: unit, depth, lon, type
Task: Get lon from evaporation where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076386 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, depth, ts, unit
Sensor: sunlight | fields: value, unit, level, qc
Task: Fetch depth from air_quality where unit exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076387 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, ts, lon, unit
Sensor: dew_point | fields: value, lon, ts, level
Task: Fetch value from wind_speed where unit exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076388 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: ts, reading, lat, level
Sensor: temperature | fields: ts, unit, lat, type
Task: Fetch level from turbidity where depth exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076389 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, level, value, lat
Sensor: evaporation | fields: value, lat, ts, type
Task: Fetch reading from lightning where depth is greater than the average of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076390 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, level, type
Sensor: frost | fields: lat, value, unit, depth
Task: Retrieve lon from soil_moisture that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"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_076391 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, unit, qc
Sensor: soil_moisture | fields: unit, type, lat, qc
Task: Get depth from air_quality where a corresponding entry exists in soil_moisture with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076392 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, lat, unit, value
Sensor: uv_index | fields: value, unit, type, level
Task: Retrieve lat from frost with depth above the COUNT(depth) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076393 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: lat, level, depth, type
Sensor: visibility | fields: depth, value, qc, unit
Task: Retrieve depth from sunlight that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_076394 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: unit, type, lat, lon
Sensor: evaporation | fields: ts, lat, lon, value
Task: Retrieve depth from snow_depth whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076395 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: value, lat, lon, level
Sensor: pressure | fields: reading, level, lat, qc
Task: Get value from temperature where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076396 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, lon, qc, type
Sensor: turbidity | fields: lon, depth, level, unit
Task: Get lat from sunlight where depth exceeds the total depth from turbidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076397 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: ts, depth, reading, qc
Sensor: lightning | fields: ts, depth, level, unit
Task: Retrieve value from air_quality that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076398 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, reading, qc, unit
Sensor: sunlight | fields: unit, lon, lat, qc
Task: Get reading from snow_depth where depth appears in sunlight readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_076399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.