variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, qc, type, value
Sensor: frost | fields: reading, level, lon, type
Task: Retrieve reading from wind_speed that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001700 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, qc, unit, lat
Sensor: sunlight | fields: type, lat, depth, value
Task: Retrieve lon from temperature with value above the SUM(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001701 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, type, lat, reading
Sensor: visibility | fields: value, lon, ts, reading
Task: Fetch depth from lightning that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001702 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: reading, type, depth, ts
Sensor: pressure | fields: ts, lat, lon, reading
Task: Get level from rainfall where qc appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001703 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, ts, reading, depth
Sensor: pressure | fields: reading, type, lon, qc
Task: Retrieve depth from visibility whose ts is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001704 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: value, reading, lat, qc
Sensor: cloud_cover | fields: ts, type, lon, level
Task: Fetch level from air_quality where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001705 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, type, value, depth
Sensor: air_quality | fields: value, depth, unit, qc
Task: Get reading from drought_index where reading exceeds the maximum depth from air_quality for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001706 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: qc, value, reading, lat
Sensor: air_quality | fields: lon, type, reading, unit
Task: Fetch value from turbidity where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001707 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: type, lon, ts, level
Sensor: cloud_cover | fields: qc, depth, unit, ts
Task: Fetch depth from humidity that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001708 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: lat, reading, qc, lon
Sensor: temperature | fields: ts, reading, type, level
Task: Retrieve lat from rainfall that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001709 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, qc, ts, type
Sensor: uv_index | fields: level, qc, type, reading
Task: Get lat from visibility where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001710 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, type, lat, unit
Sensor: turbidity | fields: level, lat, qc, type
Task: Retrieve depth from uv_index with value above the COUNT(depth) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001711 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: unit, depth, qc, lon
Sensor: snow_depth | fields: qc, depth, value, type
Task: Retrieve reading from sunlight that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001712 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: value, lat, unit, level
Sensor: turbidity | fields: lat, lon, ts, depth
Task: Retrieve lat from temperature with reading above the SUM(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001713 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: ts, lat, value, reading
Sensor: air_quality | fields: value, depth, level, reading
Task: Retrieve lat from turbidity that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001714 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: lon, ts, reading, type
Sensor: sunlight | fields: value, unit, depth, lon
Task: Retrieve lat from pressure whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001715 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: level, unit, reading, qc
Sensor: temperature | fields: type, qc, level, value
Task: Fetch depth from humidity where value is greater than the maximum of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001716 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, ts, unit, reading
Sensor: turbidity | fields: lon, reading, depth, value
Task: Fetch reading from snow_depth where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001717 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, unit, reading, qc
Sensor: dew_point | fields: value, ts, unit, qc
Task: Retrieve lat from wind_speed that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001718 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, depth, ts, value
Sensor: cloud_cover | fields: value, lat, reading, qc
Task: Retrieve lon from uv_index whose depth is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001719 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, value, ts, type
Sensor: uv_index | fields: type, ts, unit, lat
Task: Get reading from soil_moisture where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001720 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: value, level, type, reading
Sensor: frost | fields: lon, qc, value, level
Task: Get lat from uv_index where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001721 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, unit, type, value
Sensor: lightning | fields: lat, ts, lon, reading
Task: Fetch reading from cloud_cover where depth is greater than the count of of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001722 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, reading, ts, depth
Sensor: pressure | fields: reading, qc, ts, lat
Task: Fetch lat from sunlight where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001723 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: type, lat, level, depth
Sensor: pressure | fields: lat, ts, reading, level
Task: Get lat from uv_index where reading exceeds the minimum reading from pressure for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001724 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: ts, qc, lon, unit
Sensor: rainfall | fields: depth, level, lat, ts
Task: Get value from humidity where ts appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001725 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, ts, qc, depth
Sensor: temperature | fields: value, unit, qc, level
Task: Get lon from sunlight where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001726 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, ts, qc, lon
Sensor: wind_speed | fields: lat, value, level, lon
Task: Get lat from turbidity where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001727 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: lon, unit, type, depth
Sensor: humidity | fields: qc, lon, lat, level
Task: Fetch level from dew_point where unit exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001728 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: qc, lat, ts, type
Sensor: pressure | fields: ts, lon, level, reading
Task: Fetch level from sunlight where depth is greater than the maximum of value in pressure for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001729 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, unit, value, depth
Sensor: temperature | fields: depth, unit, lon, reading
Task: Retrieve lon from cloud_cover whose depth is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001730 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, lon, qc, depth
Sensor: cloud_cover | fields: unit, ts, lat, type
Task: Retrieve lon from temperature with reading above the AVG(reading) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"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_001731 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, type, value, lat
Sensor: evaporation | fields: lat, type, unit, value
Task: Fetch value from air_quality where depth is greater than the count of of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001732 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, type, lat, qc
Sensor: rainfall | fields: unit, type, ts, value
Task: Retrieve depth from wind_speed whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001733 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: lon, ts, depth, level
Sensor: frost | fields: lon, depth, qc, reading
Task: Fetch reading from turbidity where ts exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001734 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, ts, value, lon
Sensor: rainfall | fields: lat, type, value, reading
Task: Retrieve level from cloud_cover with depth above the MIN(depth) of rainfall readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001735 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: type, depth, lat, unit
Sensor: sunlight | fields: level, lon, depth, ts
Task: Get lon from temperature where depth exceeds the minimum value from sunlight for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001736 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, type, depth
Sensor: air_quality | fields: lat, ts, qc, type
Task: Fetch depth from cloud_cover where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001737 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: value, level, lat, unit
Sensor: pressure | fields: type, qc, depth, unit
Task: Retrieve reading from humidity that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001738 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: type, value, ts, qc
Sensor: pressure | fields: type, reading, ts, lon
Task: Get value from humidity where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001739 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, unit, lon
Sensor: visibility | fields: ts, qc, unit, type
Task: Get reading from drought_index where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001740 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, type, lat
Sensor: pressure | fields: lat, qc, reading, ts
Task: Get value from humidity where depth appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001741 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, reading, value, unit
Sensor: evaporation | fields: ts, depth, qc, level
Task: Get level from lightning where ts appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001742 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lon, reading, qc, level
Sensor: turbidity | fields: ts, lon, depth, reading
Task: Fetch level from visibility where depth is greater than the total of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001743 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, lat, qc, value
Sensor: humidity | fields: level, lon, depth, lat
Task: Retrieve lon from rainfall with depth above the MAX(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001744 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, reading, unit, level
Sensor: snow_depth | fields: unit, type, level, qc
Task: Get lon from visibility where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001745 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, qc, depth, value
Sensor: rainfall | fields: type, lon, qc, reading
Task: Get depth from frost where unit appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001746 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, level, unit, reading
Sensor: humidity | fields: qc, lon, ts, type
Task: Get depth from sunlight where value exceeds the average reading from humidity for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001747 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: unit, reading, lon, depth
Sensor: uv_index | fields: qc, level, ts, lat
Task: Get value from dew_point where value exceeds the total reading from uv_index for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001748 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: value, reading, depth, ts
Sensor: soil_moisture | fields: lat, level, depth, value
Task: Retrieve lon from humidity whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001749 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, lat, lon, reading
Sensor: frost | fields: ts, qc, unit, depth
Task: Retrieve reading from drought_index with value above the SUM(reading) of frost readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001750 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, qc, depth, lon
Sensor: turbidity | fields: lat, depth, qc, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in turbidity sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001751 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, lat, unit, lon
Sensor: rainfall | fields: value, ts, reading, lat
Task: Get depth from uv_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001752 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lat, ts, level
Sensor: cloud_cover | fields: value, type, depth, reading
Task: Get value from turbidity where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001753 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, level, reading, lon
Sensor: frost | fields: qc, type, ts, level
Task: Fetch depth from snow_depth where value is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001754 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, value, type, level
Sensor: humidity | fields: depth, value, lat, level
Task: Retrieve lat from dew_point with depth above the COUNT(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001755 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: ts, unit, qc, value
Sensor: cloud_cover | fields: depth, reading, ts, lat
Task: Get reading from humidity where unit appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001756 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: depth, value, type, lat
Sensor: turbidity | fields: unit, lat, value, reading
Task: Get value from sunlight where depth exceeds the maximum value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001757 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, value, depth, lon
Sensor: frost | fields: reading, type, value, level
Task: Retrieve lon from cloud_cover that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001758 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, reading, depth, value
Sensor: drought_index | fields: type, level, lat, lon
Task: Fetch level from frost where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"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_001759 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, value, lat, type
Sensor: sunlight | fields: lat, ts, value, level
Task: Retrieve reading from soil_moisture whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001760 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, depth, qc, lat
Sensor: wind_speed | fields: reading, qc, type, depth
Task: Fetch value from evaporation where unit exists in wind_speed sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001761 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, ts, depth, lon
Sensor: lightning | fields: level, type, ts, lat
Task: Get lon from drought_index where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001762 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, level, value, ts
Sensor: cloud_cover | fields: reading, lon, qc, lat
Task: Get reading from soil_moisture where type appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001763 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: depth, lat, unit, lon
Sensor: sunlight | fields: unit, qc, reading, lon
Task: Retrieve level from pressure with value above the MIN(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001764 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, ts, lon, depth
Sensor: temperature | fields: type, lon, reading, value
Task: Retrieve level from humidity whose unit is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001765 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: lon, reading, ts, lat
Sensor: drought_index | fields: unit, value, type, lon
Task: Retrieve lat from cloud_cover with reading above the AVG(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001766 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, lat, qc, unit
Sensor: soil_moisture | fields: lat, value, level, unit
Task: Get value from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001767 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lat, reading, ts, level
Sensor: soil_moisture | fields: ts, unit, depth, reading
Task: Fetch reading from evaporation where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001768 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: unit, depth, qc, type
Sensor: turbidity | fields: lon, qc, lat, unit
Task: Retrieve lon from drought_index that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001769 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, lon, level, ts
Sensor: drought_index | fields: qc, type, reading, ts
Task: Get value from evaporation where reading exceeds the average value from drought_index for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001770 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: unit, type, value, depth
Sensor: air_quality | fields: lon, reading, unit, type
Task: Retrieve level from wind_speed whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001771 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lon, lat, reading, level
Sensor: cloud_cover | fields: qc, level, type, unit
Task: Retrieve depth from frost with reading above the MAX(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001772 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: type, reading, depth, qc
Sensor: pressure | fields: level, lon, lat, unit
Task: Retrieve depth from turbidity with depth above the AVG(value) of pressure readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001773 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, level, depth, unit
Sensor: air_quality | fields: lon, ts, reading, type
Task: Get lat from snow_depth where depth appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001774 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: reading, qc, lat, type
Sensor: dew_point | fields: level, value, depth, ts
Task: Retrieve reading from drought_index whose ts is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001775 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, value, level, ts
Sensor: uv_index | fields: lat, unit, depth, reading
Task: Fetch depth from temperature where reading is greater than the maximum of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001776 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lon, unit, depth
Sensor: evaporation | fields: lon, reading, type, ts
Task: Get lat from drought_index where value exceeds the maximum reading from evaporation for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001777 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: unit, reading, type, ts
Sensor: pressure | fields: lon, ts, value, unit
Task: Get level from humidity where reading exceeds the total reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001778 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: depth, reading, unit, level
Sensor: rainfall | fields: reading, lat, type, depth
Task: Retrieve value from dew_point whose unit is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001779 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, value, type, unit
Sensor: rainfall | fields: qc, lon, lat, unit
Task: Retrieve reading from uv_index with depth above the MAX(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001780 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, reading, lat, type
Sensor: frost | fields: type, lat, ts, level
Task: Fetch reading from snow_depth where value is greater than the maximum of value in frost for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001781 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: reading, level, type, depth
Sensor: uv_index | fields: ts, level, value, type
Task: Get depth from turbidity where value exceeds the count of depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001782 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, ts, level, type
Sensor: turbidity | fields: qc, lon, reading, unit
Task: Fetch lat from dew_point where type exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001783 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: ts, reading, unit, level
Sensor: frost | fields: unit, depth, lon, type
Task: Get reading from air_quality where type appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001784 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: unit, lat, lon, type
Sensor: cloud_cover | fields: qc, level, depth, reading
Task: Fetch level from visibility that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001785 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lat, qc, lon
Sensor: rainfall | fields: value, ts, reading, qc
Task: Retrieve reading from evaporation whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001786 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, depth, qc, lat
Sensor: temperature | fields: level, lat, qc, unit
Task: Retrieve lon from wind_speed whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001787 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, lat, level, qc
Sensor: wind_speed | fields: value, ts, depth, lat
Task: Fetch reading from visibility where value is greater than the count of of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001788 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, ts, lon, qc
Sensor: pressure | fields: ts, lat, lon, depth
Task: Get value from snow_depth where depth appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001789 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, value, depth, lon
Sensor: sunlight | fields: value, depth, qc, level
Task: Retrieve reading from temperature whose type is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001790 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: unit, depth, level, type
Sensor: wind_speed | fields: level, value, unit, depth
Task: Retrieve depth from rainfall with value above the COUNT(value) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001791 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: level, depth, qc, value
Sensor: dew_point | fields: ts, value, reading, unit
Task: Retrieve depth from temperature that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001792 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, lon, lat
Sensor: humidity | fields: type, lat, depth, reading
Task: Fetch depth from wind_speed that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001793 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, type, level, lat
Sensor: soil_moisture | fields: unit, reading, ts, lon
Task: Get depth from cloud_cover where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001794 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: lon, qc, value, type
Sensor: humidity | fields: ts, lon, depth, lat
Task: Get value from uv_index where value exceeds the total reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001795 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, depth, unit, value
Sensor: dew_point | fields: ts, qc, lon, level
Task: Get depth from lightning where reading exceeds the count of value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001796 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, ts, level, type
Sensor: air_quality | fields: type, lon, ts, reading
Task: Get level from evaporation where value exceeds the count of reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001797 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, reading, depth, type
Sensor: rainfall | fields: value, qc, lon, unit
Task: Fetch lat from soil_moisture that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001798 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, ts, depth, reading
Sensor: wind_speed | fields: depth, qc, unit, level
Task: Fetch depth from drought_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.