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: air_quality | code: clr | fields: type, ts, level, unit
Sensor: snow_depth | fields: type, unit, qc, level
Task: Retrieve level from air_quality that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034900 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, depth, reading, lon
Sensor: humidity | fields: qc, lon, lat, level
Task: Get lat from frost where value exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034901 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, qc, depth
Sensor: visibility | fields: unit, type, reading, lon
Task: Fetch level from dew_point where depth is greater than the maximum of depth in visibility for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034902 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, lon, qc, level
Sensor: visibility | fields: ts, depth, level, reading
Task: Get lat from sunlight where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034903 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, ts, depth, lat
Sensor: dew_point | fields: type, lat, unit, reading
Task: Fetch lon from air_quality that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034904 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: type, value, lon, depth
Sensor: snow_depth | fields: qc, ts, level, reading
Task: Get level from dew_point where reading exceeds the total value from snow_depth for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034905 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: value, level, lat, qc
Sensor: temperature | fields: value, ts, depth, lat
Task: Fetch reading from lightning where depth is greater than the total of value in temperature for matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034906 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: value, qc, type, level
Sensor: cloud_cover | fields: depth, level, ts, unit
Task: Get value from sunlight where value exceeds the average depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034907 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, lon, lat, ts
Sensor: snow_depth | fields: value, lon, ts, qc
Task: Retrieve lat from pressure whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034908 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: lat, type, level, reading
Sensor: turbidity | fields: unit, level, lat, qc
Task: Retrieve reading from lightning whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034909 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, unit, ts, lat
Sensor: sunlight | fields: depth, level, qc, type
Task: Get level from dew_point where value exceeds the count of value from sunlight for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034910 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: level, ts, type, reading
Sensor: temperature | fields: unit, value, ts, type
Task: Retrieve depth from snow_depth that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034911 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, unit, type, ts
Sensor: soil_moisture | fields: lat, qc, depth, ts
Task: Get value from cloud_cover where value exceeds the count of reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034912 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: lon, type, unit, value
Sensor: wind_speed | fields: reading, level, lon, depth
Task: Get depth from lightning where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034913 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: unit, qc, lon, lat
Sensor: turbidity | fields: ts, depth, unit, qc
Task: Get lon from rainfall where value exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034914 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, level, reading, qc
Sensor: pressure | fields: level, value, lon, qc
Task: Retrieve reading from soil_moisture that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034915 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, value, level, lat
Sensor: dew_point | fields: qc, ts, lat, value
Task: Get lat from cloud_cover where depth exceeds the average depth from dew_point for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034916 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lat, level, depth, type
Sensor: lightning | fields: reading, level, lon, lat
Task: Retrieve lon from cloud_cover whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034917 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lon, level, lat, depth
Sensor: pressure | fields: value, lat, lon, depth
Task: Retrieve depth from air_quality that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034918 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: level, value, depth, reading
Sensor: wind_speed | fields: lon, qc, level, type
Task: Fetch lon from air_quality where depth is greater than the average of depth in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034919 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: level, lat, depth, type
Sensor: soil_moisture | fields: depth, unit, reading, level
Task: Get value from temperature where depth exceeds the minimum reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034920 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: value, lat, ts, qc
Sensor: turbidity | fields: lat, lon, unit, depth
Task: Retrieve depth from dew_point with value above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034921 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: depth, ts, level, lat
Sensor: lightning | fields: ts, lon, lat, depth
Task: Get level from turbidity where value exceeds the maximum depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034922 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, depth, lon, reading
Sensor: lightning | fields: unit, depth, ts, lon
Task: Fetch value from snow_depth where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034923 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: unit, qc, ts, type
Sensor: air_quality | fields: level, lat, value, ts
Task: Fetch level from lightning where value is greater than the minimum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034924 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: unit, lat, type, ts
Sensor: humidity | fields: qc, depth, ts, lon
Task: Get value from visibility where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"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_034925 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: type, value, lon, qc
Sensor: visibility | fields: lon, type, qc, level
Task: Fetch value from pressure where depth exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034926 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: type, reading, unit, value
Sensor: temperature | fields: depth, unit, level, ts
Task: Get lon from snow_depth where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034927 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, depth, lat, lon
Sensor: sunlight | fields: value, ts, lat, lon
Task: Get reading from cloud_cover where depth appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034928 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: unit, lon, qc, lat
Sensor: drought_index | fields: depth, type, reading, lat
Task: Get value from turbidity where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034929 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, qc, depth, level
Sensor: soil_moisture | fields: lon, unit, level, value
Task: Retrieve level from air_quality whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034930 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, lat, ts, depth
Sensor: snow_depth | fields: reading, type, level, lon
Task: Fetch reading from wind_speed that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034931 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lon, level, lat, value
Sensor: dew_point | fields: value, unit, qc, type
Task: Fetch lat from drought_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034932 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: lat, ts, level, type
Sensor: rainfall | fields: ts, level, unit, reading
Task: Fetch depth from lightning where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034933 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: value, reading, ts, lat
Sensor: cloud_cover | fields: value, depth, reading, lat
Task: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034934 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, lon, reading, ts
Sensor: dew_point | fields: type, lon, lat, value
Task: Retrieve depth from cloud_cover with reading above the COUNT(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034935 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: lat, type, value, lon
Sensor: lightning | fields: ts, lon, reading, lat
Task: Fetch reading from frost that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034936 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, type, level
Sensor: humidity | fields: depth, qc, lat, reading
Task: Retrieve lon from lightning with depth above the COUNT(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034937 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: depth, reading, lat, qc
Sensor: temperature | fields: lat, value, type, lon
Task: Fetch depth from air_quality where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034938 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: reading, depth, type, unit
Sensor: soil_moisture | fields: level, reading, value, lon
Task: Get value from temperature where value exceeds the total value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034939 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lat, reading, ts, type
Sensor: wind_speed | fields: depth, level, ts, reading
Task: Get lat from frost where reading exceeds the total value from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034940 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: depth, level, lon, reading
Sensor: evaporation | fields: reading, level, type, qc
Task: Retrieve reading from rainfall that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034941 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, ts, type, unit
Sensor: uv_index | fields: lat, value, qc, unit
Task: Fetch reading from pressure where depth is greater than the average of reading in uv_index for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034942 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: reading, level, unit, type
Sensor: rainfall | fields: value, lat, depth, level
Task: Fetch reading from sunlight where unit exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034943 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, value, lat, qc
Sensor: rainfall | fields: qc, ts, reading, lon
Task: Get value from snow_depth where depth exceeds the average depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034944 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, qc, ts, type
Sensor: pressure | fields: lon, qc, value, lat
Task: Fetch depth from snow_depth where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034945 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: ts, lat, type, lon
Sensor: snow_depth | fields: reading, depth, unit, ts
Task: Get reading from frost where depth exceeds the count of value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034946 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, lat, value, reading
Sensor: cloud_cover | fields: level, unit, reading, qc
Task: Retrieve value from frost whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034947 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: lon, level, reading, qc
Sensor: cloud_cover | fields: qc, lat, depth, level
Task: Retrieve lat from humidity whose type is found in cloud_cover records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034948 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, level, type, lon
Sensor: rainfall | fields: value, unit, qc, level
Task: Get reading from dew_point where reading exceeds the total reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"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_034949 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, unit, lat, depth
Sensor: soil_moisture | fields: ts, value, qc, level
Task: Get level from uv_index where type appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034950 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: depth, lon, reading, unit
Sensor: visibility | fields: reading, value, unit, type
Task: Retrieve lat from pressure with reading above the SUM(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034951 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: value, qc, depth, level
Sensor: evaporation | fields: ts, value, reading, unit
Task: Retrieve lat from temperature with depth above the COUNT(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034952 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, lat, depth, lon
Sensor: visibility | fields: lat, depth, unit, reading
Task: Fetch reading from cloud_cover where value is greater than the count of of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034953 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, lat, type, ts
Sensor: dew_point | fields: depth, value, unit, ts
Task: Get lat from pressure where reading exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034954 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, unit, type, lat
Sensor: frost | fields: level, ts, lat, depth
Task: Retrieve lon from air_quality that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034955 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, type, qc, level
Sensor: cloud_cover | fields: reading, value, depth, qc
Task: Retrieve reading from pressure with reading above the MAX(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034956 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, value, reading, ts
Sensor: humidity | fields: lon, ts, reading, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034957 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, value, unit, level
Sensor: uv_index | fields: unit, value, lat, level
Task: Retrieve reading from wind_speed with depth above the MAX(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034958 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, value, lat, type
Sensor: evaporation | fields: lat, reading, value, depth
Task: Fetch depth from frost that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034959 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: level, reading, lat, type
Sensor: wind_speed | fields: unit, lon, qc, ts
Task: Retrieve depth from uv_index whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034960 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: reading, value, qc, depth
Sensor: frost | fields: depth, lon, type, value
Task: Get value from dew_point where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034961 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, type, value, lat
Sensor: snow_depth | fields: ts, lat, level, unit
Task: Fetch level from humidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034962 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, level, type, depth
Sensor: wind_speed | fields: type, depth, lat, level
Task: Get value from visibility where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034963 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: ts, value, lat, depth
Sensor: evaporation | fields: reading, ts, depth, unit
Task: Fetch level from drought_index where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034964 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lon, type, lat, value
Sensor: lightning | fields: level, type, qc, value
Task: Retrieve lon from humidity whose ts is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034965 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: value, level, ts, reading
Sensor: humidity | fields: lat, reading, qc, type
Task: Fetch reading from lightning where depth exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034966 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, qc, lon, reading
Sensor: snow_depth | fields: reading, type, level, ts
Task: Get reading from frost where depth appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034967 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: type, lon, reading, ts
Sensor: wind_speed | fields: unit, type, value, lat
Task: Retrieve lon from air_quality that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034968 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: ts, reading, lat, qc
Sensor: sunlight | fields: ts, lat, depth, value
Task: Retrieve value from turbidity with depth above the AVG(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034969 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, type, depth, lat
Sensor: rainfall | fields: type, reading, unit, value
Task: Fetch value from pressure where depth exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034970 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: depth, ts, reading, level
Sensor: cloud_cover | fields: reading, qc, type, lat
Task: Get level from temperature where depth exceeds the average depth from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034971 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: lat, reading, ts, type
Sensor: cloud_cover | fields: value, unit, ts, lon
Task: Retrieve lat from drought_index that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034972 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, level, lon, type
Sensor: uv_index | fields: ts, lat, reading, unit
Task: Fetch lat from sunlight where reading is greater than the average of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034973 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, unit, lat, depth
Sensor: pressure | fields: type, reading, value, level
Task: Fetch reading from soil_moisture that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034974 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, depth, qc, level
Sensor: snow_depth | fields: level, value, lon, reading
Task: Get lat from air_quality where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034975 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, value, unit, ts
Sensor: turbidity | fields: type, qc, level, ts
Task: Get lon from evaporation where type appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034976 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, value, lat, lon
Sensor: drought_index | fields: depth, type, value, ts
Task: Fetch reading from rainfall where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034977 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, level, depth, lat
Sensor: turbidity | fields: qc, lat, reading, depth
Task: Get value from evaporation where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034978 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, ts, lat, value
Sensor: air_quality | fields: lon, level, unit, type
Task: Retrieve reading from rainfall whose type is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034979 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, value, lon, type
Sensor: frost | fields: level, unit, value, type
Task: Get value from drought_index where value exceeds the average depth from frost for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034980 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, type, reading, lon
Sensor: pressure | fields: lon, lat, ts, depth
Task: Get depth from temperature where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034981 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: qc, type, level, depth
Sensor: temperature | fields: level, type, unit, lat
Task: Get lon from frost where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034982 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: value, qc, type, level
Sensor: air_quality | fields: lat, qc, level, value
Task: Get lon from snow_depth where type appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034983 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: value, ts, unit, reading
Sensor: turbidity | fields: ts, type, level, unit
Task: Get depth from frost where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034984 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: lon, unit, depth, lat
Sensor: humidity | fields: qc, depth, ts, type
Task: Fetch level from wind_speed where depth exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034985 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, value, lat
Sensor: snow_depth | fields: level, lat, type, depth
Task: Get lon from uv_index where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034986 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, lon, qc
Sensor: sunlight | fields: type, lat, ts, qc
Task: Get reading from visibility where ts appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034987 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, unit, level, depth
Sensor: turbidity | fields: type, lat, value, lon
Task: Fetch lat from cloud_cover where reading is greater than the average of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034988 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: value, level, unit, depth
Sensor: turbidity | fields: level, depth, lat, value
Task: Get reading from wind_speed where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034989 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, reading, ts, value
Sensor: air_quality | fields: level, depth, lat, value
Task: Fetch reading from turbidity where reading is greater than the total of value in air_quality for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034990 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, unit, lat, reading
Sensor: pressure | fields: qc, lat, value, level
Task: Fetch depth from snow_depth where ts exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034991 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: unit, value, level, reading
Sensor: drought_index | fields: qc, reading, depth, type
Task: Get lon from air_quality where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034992 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: type, depth, reading, value
Sensor: sunlight | fields: level, lat, depth, value
Task: Get value from turbidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034993 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: depth, lat, ts, level
Sensor: cloud_cover | fields: qc, reading, unit, lon
Task: Get lon from sunlight where type appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034994 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: value, lat, unit, type
Sensor: drought_index | fields: depth, level, type, value
Task: Retrieve level from turbidity with value above the MAX(reading) of drought_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034995 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: qc, level, lon, reading
Sensor: pressure | fields: lat, level, lon, type
Task: Fetch lat from air_quality that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034996 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: type, ts, reading, depth
Sensor: temperature | fields: unit, lat, ts, level
Task: Fetch lon from evaporation where value is greater than the minimum of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_034997 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, qc, reading, lat
Sensor: sunlight | fields: ts, reading, value, unit
Task: Retrieve level from air_quality whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034998 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lon, type, level, ts
Sensor: sunlight | fields: ts, reading, value, unit
Task: Get depth from frost where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_034999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.