variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: humidity | code: clr | fields: depth, reading, qc, lat
Sensor: air_quality | fields: lat, level, value, ts
Task: Fetch depth from humidity where depth is greater than the count of of depth in air_quality for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084000 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: ts, reading, lon, lat
Sensor: wind_speed | fields: type, reading, level, lon
Task: Retrieve lon from cloud_cover that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084001 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, lat, unit, qc
Sensor: snow_depth | fields: value, type, level, ts
Task: Fetch lat from temperature where qc exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084002 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, lon, qc, lat
Sensor: dew_point | fields: ts, reading, unit, lat
Task: Fetch value from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084003 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: value, depth, lon, unit
Sensor: dew_point | fields: ts, qc, depth, level
Task: Retrieve reading from snow_depth with value above the SUM(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084004 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, level, type, lat
Sensor: cloud_cover | fields: lat, type, lon, ts
Task: Retrieve value from rainfall with depth above the MIN(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084005 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, type, depth, lat
Sensor: frost | fields: type, ts, reading, lat
Task: Get reading from cloud_cover where qc appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084006 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, level, depth, type
Sensor: air_quality | fields: depth, value, ts, reading
Task: Get level from humidity where depth exceeds the count of depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084007 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: depth, type, value, ts
Sensor: air_quality | fields: depth, ts, value, unit
Task: Get lat from visibility where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084008 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: qc, reading, ts, type
Sensor: humidity | fields: value, lon, type, reading
Task: Retrieve lon from drought_index whose depth is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084009 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: lon, reading, ts, level
Sensor: dew_point | fields: reading, value, qc, depth
Task: Retrieve lon from temperature that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084010 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lon, ts, level, unit
Sensor: snow_depth | fields: reading, lon, value, depth
Task: Retrieve lon from air_quality whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084011 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, type, depth, qc
Sensor: soil_moisture | fields: qc, unit, type, level
Task: Fetch depth from cloud_cover where depth is greater than the minimum of reading in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084012 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, qc, reading, depth
Sensor: snow_depth | fields: reading, value, type, lon
Task: Fetch depth from uv_index where unit exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084013 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, value, lat, level
Sensor: drought_index | fields: lon, ts, type, qc
Task: Retrieve depth from snow_depth whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084014 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lon, level, lat, depth
Sensor: lightning | fields: depth, lat, type, lon
Task: Retrieve reading from temperature with depth above the MAX(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084015 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: reading, value, qc, depth
Sensor: visibility | fields: type, lon, lat, reading
Task: Get level from dew_point where value exceeds the total depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084016 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, value, lon, type
Sensor: lightning | fields: lat, level, depth, value
Task: Fetch value from uv_index where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084017 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: ts, reading, lat, lon
Sensor: soil_moisture | fields: level, lat, value, lon
Task: Retrieve reading from temperature whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084018 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, value, reading, type
Sensor: snow_depth | fields: level, ts, lon, unit
Task: Get reading from visibility where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084019 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, unit, lat, level
Sensor: sunlight | fields: ts, level, depth, lat
Task: Get depth from soil_moisture where reading exceeds the total value from sunlight for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084020 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, depth, level, qc
Sensor: soil_moisture | fields: type, lat, level, reading
Task: Retrieve value from snow_depth that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084021 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, unit, type, reading
Sensor: uv_index | fields: qc, type, reading, lat
Task: Fetch lat from temperature that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084022 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: type, lon, value, lat
Sensor: wind_speed | fields: unit, lat, level, reading
Task: Retrieve level from uv_index with reading above the MIN(reading) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084023 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: type, unit, reading, value
Sensor: cloud_cover | fields: value, lon, type, level
Task: Get lat from evaporation where ts appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084024 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: qc, reading, depth, lat
Sensor: temperature | fields: ts, reading, type, value
Task: Fetch lat from uv_index where depth is greater than the average of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084025 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: unit, value, lat, level
Sensor: wind_speed | fields: qc, type, ts, value
Task: Fetch depth from drought_index where depth is greater than the total of value in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084026 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: level, value, unit, lon
Sensor: soil_moisture | fields: value, lon, unit, ts
Task: Get reading from temperature where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084027 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, type, qc, depth
Sensor: wind_speed | fields: qc, unit, level, lon
Task: Retrieve lat from temperature that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084028 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: type, lat, ts, level
Sensor: turbidity | fields: type, ts, level, lon
Task: Retrieve value from cloud_cover with value above the SUM(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084029 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, lat, reading, ts
Sensor: wind_speed | fields: ts, reading, depth, value
Task: Retrieve level from turbidity with depth above the MAX(depth) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084030 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, depth, reading
Sensor: temperature | fields: unit, depth, level, ts
Task: Get level from sunlight where depth appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084031 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, qc, value, depth
Sensor: soil_moisture | fields: unit, lon, reading, depth
Task: Retrieve lon from visibility whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084032 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, lat, lon, ts
Sensor: drought_index | fields: ts, type, lon, level
Task: Get level from temperature where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084033 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, type, lon, unit
Sensor: soil_moisture | fields: unit, value, qc, type
Task: Retrieve lat from cloud_cover that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084034 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, qc, depth, unit
Sensor: lightning | fields: lat, lon, unit, reading
Task: Fetch level from air_quality that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084035 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: value, level, qc, type
Sensor: drought_index | fields: ts, reading, lat, level
Task: Fetch reading from sunlight that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084036 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, level, value, unit
Sensor: temperature | fields: lat, level, unit, value
Task: Retrieve reading from cloud_cover that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084037 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, type, depth, ts
Sensor: cloud_cover | fields: value, lon, ts, type
Task: Get value from evaporation where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084038 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, unit, value, reading
Sensor: wind_speed | fields: qc, type, ts, unit
Task: Retrieve reading from uv_index with depth above the SUM(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084039 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, qc, value, ts
Sensor: soil_moisture | fields: ts, reading, type, unit
Task: Get level from turbidity where qc appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084040 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lat, unit, lon, depth
Sensor: soil_moisture | fields: depth, reading, qc, lon
Task: Fetch level from visibility where reading is greater than the average of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084041 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: level, depth, reading, unit
Sensor: visibility | fields: level, unit, qc, reading
Task: Retrieve value from pressure that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084042 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, depth, ts, lon
Sensor: frost | fields: reading, unit, value, type
Task: Get reading from snow_depth where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084043 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, ts, depth, level
Sensor: uv_index | fields: depth, lon, level, ts
Task: Retrieve value from dew_point that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084044 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, level, unit, depth
Sensor: frost | fields: depth, lat, unit, type
Task: Get lat from sunlight where depth appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084045 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: unit, value, lon, type
Sensor: evaporation | fields: value, unit, depth, type
Task: Retrieve depth from temperature that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084046 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: reading, unit, depth, ts
Sensor: dew_point | fields: unit, level, type, depth
Task: Fetch lat from uv_index where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084047 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lat, reading, lon
Sensor: pressure | fields: qc, reading, unit, type
Task: Retrieve value from uv_index with reading above the SUM(depth) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084048 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: depth, type, lon, unit
Sensor: humidity | fields: value, level, depth, qc
Task: Fetch depth from air_quality that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084049 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, level, value, depth
Sensor: lightning | fields: reading, lon, depth, qc
Task: Fetch lon from cloud_cover where depth exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084050 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: lon, value, level, reading
Sensor: humidity | fields: ts, reading, type, qc
Task: Get depth from snow_depth where value exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084051 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, lat, type, value
Sensor: dew_point | fields: lon, lat, value, qc
Task: Get level from wind_speed where value exceeds the average reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084052 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: unit, ts, lat, depth
Sensor: drought_index | fields: level, depth, value, ts
Task: Retrieve lon from visibility with value above the MIN(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084053 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: level, unit, ts, value
Sensor: uv_index | fields: lat, depth, reading, unit
Task: Get reading from frost where depth exceeds the count of reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084054 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, qc, unit, ts
Sensor: sunlight | fields: ts, qc, lon, type
Task: Retrieve lon from frost that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084055 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lat, lon, ts, type
Sensor: rainfall | fields: lat, level, unit, lon
Task: Get reading from frost where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084056 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, lon, type, depth
Sensor: lightning | fields: reading, depth, type, unit
Task: Retrieve value from pressure that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084057 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: unit, reading, qc, level
Sensor: snow_depth | fields: ts, reading, depth, value
Task: Get level from sunlight where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084058 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, ts, type, qc
Sensor: visibility | fields: type, depth, lon, reading
Task: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084059 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, type, reading, level
Sensor: visibility | fields: ts, qc, lon, level
Task: Fetch lat from evaporation that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084060 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, ts, reading, depth
Sensor: uv_index | fields: ts, lon, depth, reading
Task: Retrieve lon from air_quality with reading above the COUNT(depth) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084061 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, lat, type, level
Sensor: wind_speed | fields: level, lon, value, depth
Task: Fetch value from frost where value is greater than the minimum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084062 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: lat, unit, lon, ts
Sensor: snow_depth | fields: depth, level, lat, qc
Task: Retrieve lat from cloud_cover that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084063 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, reading, value, level
Sensor: air_quality | fields: lat, lon, level, unit
Task: Fetch level from humidity that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084064 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, qc, reading, lon
Sensor: air_quality | fields: type, lat, level, depth
Task: Fetch reading from pressure where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084065 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, lat, value, depth
Sensor: lightning | fields: ts, lat, lon, depth
Task: Retrieve lon from temperature with value above the SUM(value) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084066 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: reading, unit, depth, type
Sensor: soil_moisture | fields: lat, value, ts, unit
Task: Retrieve depth from lightning with reading above the SUM(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084067 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lon, unit, ts
Sensor: wind_speed | fields: level, lat, ts, qc
Task: Retrieve lat from evaporation that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084068 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, type, value, level
Sensor: soil_moisture | fields: unit, ts, lat, lon
Task: Get value from pressure where depth exceeds the minimum value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084069 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, level, lon, ts
Sensor: pressure | fields: unit, qc, value, type
Task: Retrieve value from temperature that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084070 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, qc, reading, unit
Sensor: evaporation | fields: unit, qc, lat, lon
Task: Fetch depth from wind_speed where depth exists in evaporation sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084071 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, lon, ts, qc
Sensor: visibility | fields: value, reading, unit, qc
Task: Fetch depth from soil_moisture where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084072 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, value, qc, ts
Sensor: temperature | fields: type, unit, value, level
Task: Fetch reading from sunlight that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084073 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, level, lat, type
Sensor: snow_depth | fields: lat, qc, type, value
Task: Get value from cloud_cover where reading exceeds the total reading from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084074 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: value, lon, ts, qc
Sensor: cloud_cover | fields: level, lon, unit, qc
Task: Retrieve reading from evaporation whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084075 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lon, level, ts, unit
Sensor: drought_index | fields: unit, level, ts, lon
Task: Get lat from visibility where depth exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084076 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, depth, lon, type
Sensor: temperature | fields: unit, lon, type, level
Task: Fetch depth from visibility where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084077 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, type, depth, qc
Sensor: uv_index | fields: ts, lat, depth, type
Task: Retrieve level from snow_depth with depth above the MIN(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084078 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, level, type, reading
Sensor: lightning | fields: value, unit, level, lon
Task: Get reading from soil_moisture where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084079 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: value, lat, reading, depth
Sensor: rainfall | fields: ts, unit, level, lon
Task: Fetch lon from visibility that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084080 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, qc, value, level
Sensor: evaporation | fields: reading, lat, value, unit
Task: Retrieve reading from wind_speed that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084081 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: ts, lat, value, type
Sensor: rainfall | fields: lat, lon, type, unit
Task: Retrieve lon from sunlight whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084082 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, type, lon, unit
Sensor: humidity | fields: qc, ts, lon, reading
Task: Fetch value from dew_point that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084083 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: reading, lon, level, lat
Sensor: turbidity | fields: value, ts, lat, type
Task: Retrieve level from drought_index whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084084 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lon, qc, unit, level
Sensor: uv_index | fields: ts, qc, depth, value
Task: Retrieve depth from visibility whose type is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084085 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, qc, type, reading
Sensor: turbidity | fields: qc, lon, unit, ts
Task: Fetch depth from cloud_cover where reading is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084086 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, level, lon
Sensor: pressure | fields: level, reading, value, unit
Task: Fetch reading from sunlight that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084087 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, reading, ts, value
Sensor: turbidity | fields: qc, unit, level, depth
Task: Get depth from cloud_cover where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084088 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: reading, ts, lon, unit
Sensor: air_quality | fields: reading, unit, qc, depth
Task: Fetch reading from sunlight where depth is greater than the count of of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084089 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: type, qc, lat, depth
Sensor: uv_index | fields: level, unit, lon, type
Task: Get value from sunlight where qc appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084090 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, value, unit, reading
Sensor: humidity | fields: depth, lon, reading, level
Task: Get value from air_quality where qc appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084091 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, qc, lon, ts
Sensor: uv_index | fields: qc, lat, level, unit
Task: Get level from frost where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084092 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, depth, lat, ts
Sensor: sunlight | fields: unit, ts, lon, reading
Task: Fetch value from humidity that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084093 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, value, depth, lat
Sensor: temperature | fields: value, depth, qc, level
Task: Get level from evaporation where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084094 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: lat, qc, unit, value
Sensor: frost | fields: reading, unit, value, lon
Task: Get lat from rainfall where depth exceeds the minimum value from frost for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084095 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, ts, reading, depth
Sensor: rainfall | fields: qc, reading, level, ts
Task: Fetch lat from air_quality that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084096 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, ts, type, lat
Sensor: frost | fields: qc, depth, lat, type
Task: Retrieve depth from cloud_cover whose unit is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084097 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: ts, lat, depth, lon
Sensor: pressure | fields: qc, lat, lon, depth
Task: Get reading from rainfall where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_084098 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: reading, depth, value, type
Sensor: visibility | fields: type, lat, reading, unit
Task: Fetch reading from air_quality where unit exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_084099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.