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: drought_index | code: prt | fields: lat, depth, ts, value
Sensor: temperature | fields: level, unit, qc, depth
Task: Fetch value from drought_index that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081900 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: depth, ts, lat, qc
Sensor: humidity | fields: value, unit, ts, depth
Task: Fetch lon from sunlight where type exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081901 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, qc, reading, level
Sensor: sunlight | fields: qc, level, type, reading
Task: Fetch lat from evaporation where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081902 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: level, qc, reading, value
Sensor: frost | fields: reading, qc, unit, ts
Task: Get reading from humidity where depth exceeds the minimum reading from frost for the same type.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081903 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: ts, depth, level, reading
Sensor: rainfall | fields: reading, qc, type, ts
Task: Get lon from dew_point where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081904 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, lon, value, ts
Sensor: cloud_cover | fields: ts, qc, value, lat
Task: Fetch lon from visibility where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081905 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lat, lon, unit, depth
Sensor: visibility | fields: unit, value, lat, reading
Task: Get lon from humidity where depth appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081906 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, depth, lat, lon
Sensor: humidity | fields: ts, reading, level, depth
Task: Retrieve lat from temperature that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081907 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: reading, type, level, lat
Sensor: sunlight | fields: unit, qc, ts, type
Task: Fetch lon from air_quality that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081908 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, lat, depth, type
Sensor: snow_depth | fields: value, level, lon, type
Task: Retrieve level from soil_moisture whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081909 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: depth, value, lat, level
Sensor: uv_index | fields: type, value, lon, depth
Task: Get reading from evaporation where depth appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081910 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, ts, level, type
Sensor: visibility | fields: ts, depth, unit, qc
Task: Fetch lat from air_quality where reading is greater than the count of of reading in visibility for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081911 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: depth, ts, lat, level
Sensor: snow_depth | fields: depth, unit, level, ts
Task: Get depth from lightning where value exceeds the total reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081912 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, ts, depth, lon
Sensor: uv_index | fields: unit, reading, ts, level
Task: Retrieve value from soil_moisture with reading above the AVG(depth) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081913 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: reading, lon, level, lat
Sensor: lightning | fields: unit, value, type, lat
Task: Fetch depth from frost where ts exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081914 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: level, ts, lon, value
Sensor: frost | fields: type, qc, lon, unit
Task: Retrieve lat from wind_speed with depth above the MIN(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081915 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, ts, depth, type
Sensor: sunlight | fields: reading, depth, lat, type
Task: Retrieve lat from soil_moisture with reading above the AVG(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081916 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: type, depth, reading, unit
Sensor: cloud_cover | fields: qc, depth, value, level
Task: Get value from wind_speed where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081917 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, type, depth, reading
Sensor: visibility | fields: reading, unit, value, level
Task: Get reading from air_quality where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081918 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, qc, level, unit
Sensor: drought_index | fields: type, reading, ts, unit
Task: Fetch lat from cloud_cover where reading is greater than the count of of depth in drought_index for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081919 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: type, reading, unit, depth
Sensor: lightning | fields: value, type, unit, reading
Task: Fetch level from pressure where depth is greater than the total of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081920 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, lat, type, level
Sensor: pressure | fields: level, depth, type, unit
Task: Retrieve level from lightning that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081921 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, lon, ts, level
Sensor: temperature | fields: unit, ts, value, reading
Task: Fetch level from frost where qc exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081922 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: level, unit, type, value
Sensor: wind_speed | fields: type, lon, qc, lat
Task: Retrieve reading 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="clr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081923 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: type, qc, depth, ts
Sensor: pressure | fields: qc, lon, unit, ts
Task: Fetch reading from lightning where ts exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081924 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, value, reading, depth
Sensor: humidity | fields: value, level, lat, unit
Task: Fetch depth from drought_index where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081925 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, reading, lat, type
Sensor: snow_depth | fields: lat, type, lon, unit
Task: Retrieve lat from wind_speed with reading above the SUM(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081926 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, depth, type, lon
Sensor: dew_point | fields: lon, value, lat, depth
Task: Get reading from turbidity where qc appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081927 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, value, depth, type
Sensor: wind_speed | fields: unit, level, value, qc
Task: Get level from cloud_cover where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081928 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, unit, lat, reading
Sensor: rainfall | fields: lon, value, lat, depth
Task: Fetch value from snow_depth where reading is greater than the total of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"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_081929 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: ts, qc, depth, lat
Sensor: dew_point | fields: depth, qc, ts, type
Task: Retrieve lat from air_quality with value above the AVG(value) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081930 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: reading, level, lat, lon
Sensor: turbidity | fields: level, type, qc, unit
Task: Retrieve depth from temperature with value above the AVG(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081931 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: reading, ts, qc, type
Sensor: wind_speed | fields: qc, ts, type, level
Task: Get lat from sunlight where ts appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081932 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, lat, type, unit
Sensor: uv_index | fields: lon, reading, value, depth
Task: Get reading from snow_depth where depth exceeds the total depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081933 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: reading, value, depth, unit
Sensor: soil_moisture | fields: qc, depth, lat, reading
Task: Retrieve lat from visibility that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081934 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: ts, depth, qc, lat
Sensor: drought_index | fields: ts, lat, qc, unit
Task: Retrieve lon from humidity whose unit is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081935 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, ts, lat, unit
Sensor: air_quality | fields: depth, ts, reading, unit
Task: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081936 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: reading, ts, level, qc
Sensor: wind_speed | fields: qc, lat, type, unit
Task: Fetch level from turbidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081937 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: unit, depth, qc, lon
Sensor: sunlight | fields: level, lat, type, depth
Task: Get reading from visibility where depth exceeds the maximum depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081938 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, qc, value, lat
Sensor: pressure | fields: unit, lat, level, lon
Task: Get reading from soil_moisture where value exceeds the maximum reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081939 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, unit, lon, qc
Sensor: pressure | fields: unit, value, lat, level
Task: Retrieve value from drought_index whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081940 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, lon, depth, reading
Sensor: humidity | fields: level, depth, lat, lon
Task: Get lon from visibility where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081941 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: level, type, lat, ts
Sensor: snow_depth | fields: type, depth, unit, reading
Task: Get level from evaporation where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081942 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: unit, lon, reading, ts
Sensor: snow_depth | fields: ts, depth, qc, lat
Task: Retrieve value from evaporation whose ts is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081943 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: ts, value, qc, reading
Sensor: dew_point | fields: qc, value, depth, unit
Task: Get value from drought_index where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081944 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: unit, level, value, qc
Sensor: rainfall | fields: qc, unit, depth, value
Task: Fetch lat from humidity that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081945 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lat, ts, reading, lon
Sensor: lightning | fields: ts, qc, type, depth
Task: Fetch value from cloud_cover that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081946 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: qc, depth, ts, lat
Sensor: temperature | fields: reading, unit, type, level
Task: Fetch lat from rainfall where ts exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081947 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: depth, level, unit, lon
Sensor: visibility | fields: ts, type, depth, lon
Task: Get depth from rainfall where depth exceeds the maximum depth from visibility for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081948 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: qc, unit, ts, type
Sensor: air_quality | fields: qc, depth, ts, unit
Task: Fetch depth from temperature where depth is greater than the minimum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081949 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, lon, depth, level
Sensor: snow_depth | fields: qc, lon, reading, level
Task: Retrieve depth from uv_index whose type is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081950 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, value, type, unit
Sensor: cloud_cover | fields: lon, ts, type, unit
Task: Retrieve level from soil_moisture whose unit is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081951 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, value, qc, unit
Sensor: dew_point | fields: value, unit, reading, lat
Task: Retrieve depth from snow_depth that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081952 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: type, ts, value, qc
Sensor: air_quality | fields: level, value, ts, unit
Task: Get lon from humidity where reading exceeds the minimum reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081953 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: qc, level, lat, depth
Sensor: wind_speed | fields: value, level, ts, depth
Task: Retrieve lat from humidity that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081954 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: qc, ts, type, value
Sensor: soil_moisture | fields: value, lat, reading, qc
Task: Get lat from temperature where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081955 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: value, level, ts, unit
Sensor: soil_moisture | fields: ts, lat, value, unit
Task: Get depth from evaporation where qc appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081956 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: depth, value, reading, qc
Sensor: uv_index | fields: lon, value, qc, level
Task: Fetch lon from evaporation where value is greater than the minimum of reading in uv_index for matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081957 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: type, level, ts, reading
Sensor: wind_speed | fields: depth, lat, value, type
Task: Retrieve level from turbidity that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081958 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, level, lon, ts
Sensor: soil_moisture | fields: depth, lat, level, qc
Task: Retrieve depth from snow_depth with value above the AVG(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081959 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, lon, ts, unit
Sensor: soil_moisture | fields: qc, ts, unit, value
Task: Retrieve reading from pressure with depth above the MAX(value) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081960 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lon, lat, value, qc
Sensor: drought_index | fields: unit, depth, qc, lon
Task: Fetch lat from cloud_cover that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081961 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: lon, value, unit, qc
Sensor: turbidity | fields: depth, unit, level, qc
Task: Fetch value from dew_point where ts exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081962 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, qc, unit, type
Sensor: visibility | fields: lat, ts, type, unit
Task: Retrieve level from humidity whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081963 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: ts, qc, value, type
Sensor: visibility | fields: level, unit, reading, qc
Task: Get reading from sunlight where value exceeds the maximum reading from visibility for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081964 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: type, depth, unit, level
Sensor: sunlight | fields: ts, depth, level, unit
Task: Retrieve value from evaporation that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081965 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, type, ts, reading
Sensor: lightning | fields: value, type, lon, lat
Task: Fetch depth from visibility where reading is greater than the average of value in lightning for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081966 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, unit, type, lat
Sensor: sunlight | fields: lon, depth, unit, level
Task: Fetch lon from snow_depth that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081967 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lon, unit, lat, qc
Sensor: turbidity | fields: lon, ts, qc, depth
Task: Retrieve value from humidity with depth above the COUNT(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081968 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lon, type, reading, depth
Sensor: humidity | fields: unit, level, qc, type
Task: Get reading from uv_index where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081969 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, unit, reading, ts
Sensor: humidity | fields: lon, qc, unit, depth
Task: Get depth from wind_speed where depth exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081970 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, unit, lat, value
Sensor: snow_depth | fields: lon, unit, depth, reading
Task: Fetch lon from cloud_cover that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081971 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, qc, level, type
Sensor: sunlight | fields: unit, lat, qc, level
Task: Fetch lat from soil_moisture where qc exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081972 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, type, depth, reading
Sensor: frost | fields: type, lon, qc, value
Task: Get depth from dew_point where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081973 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: lon, level, depth, ts
Sensor: cloud_cover | fields: lon, reading, ts, depth
Task: Get value from dew_point where value exceeds the minimum value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081974 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, depth, reading, lat
Sensor: air_quality | fields: reading, level, lon, value
Task: Retrieve level from temperature whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081975 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, reading, type, lon
Sensor: turbidity | fields: depth, reading, level, qc
Task: Retrieve reading from snow_depth with depth above the MIN(depth) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081976 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, qc, lon, depth
Sensor: wind_speed | fields: type, ts, depth, unit
Task: Get lon from drought_index where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081977 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, qc, reading, value
Sensor: pressure | fields: reading, depth, unit, qc
Task: Get depth from uv_index where ts appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081978 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, type, ts, value
Sensor: rainfall | fields: ts, depth, type, qc
Task: Get level from evaporation where qc appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081979 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: unit, lon, value, ts
Sensor: cloud_cover | fields: depth, level, type, qc
Task: Get value from humidity where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081980 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: qc, type, lat, unit
Sensor: dew_point | fields: ts, value, qc, lat
Task: Fetch reading from sunlight where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081981 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: type, unit, depth, value
Sensor: evaporation | fields: reading, level, unit, qc
Task: Get depth from pressure where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081982 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, qc, unit, lon
Sensor: lightning | fields: level, qc, unit, value
Task: Get lon from pressure where depth appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081983 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, type, lat, qc
Sensor: drought_index | fields: reading, depth, lon, value
Task: Fetch lon from cloud_cover where unit exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081984 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, lat, unit, lon
Sensor: visibility | fields: value, lon, type, level
Task: Fetch lat from snow_depth that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081985 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, lon, depth, qc
Sensor: pressure | fields: reading, lon, type, ts
Task: Get value from dew_point where depth appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081986 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lon, ts, depth, reading
Sensor: sunlight | fields: type, depth, ts, value
Task: Retrieve level from turbidity that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081987 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: value, type, unit, qc
Sensor: lightning | fields: level, reading, lat, qc
Task: Fetch lon from rainfall where value is greater than the average of reading in lightning for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081988 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lat, level, qc, ts
Sensor: cloud_cover | fields: qc, level, lat, ts
Task: Retrieve value from rainfall with value above the MAX(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081989 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, lat, reading, value
Sensor: snow_depth | fields: value, lat, level, qc
Task: Fetch level from evaporation that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081990 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, lat, reading, depth
Sensor: pressure | fields: ts, level, lon, unit
Task: Retrieve lat from soil_moisture with depth above the MAX(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081991 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, qc, unit, lat
Sensor: snow_depth | fields: unit, lat, level, lon
Task: Retrieve lat from cloud_cover with depth above the MAX(value) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081992 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, lon, value, ts
Sensor: humidity | fields: ts, level, lon, reading
Task: Retrieve depth from dew_point with value above the MAX(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081993 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lon, lat, value
Sensor: pressure | fields: ts, depth, lon, reading
Task: Retrieve lat from soil_moisture whose unit is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081994 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, lat, reading, lon
Sensor: pressure | fields: type, unit, reading, qc
Task: Fetch reading from dew_point that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081995 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, type, qc, ts
Sensor: soil_moisture | fields: depth, ts, type, value
Task: Fetch level from drought_index where unit exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081996 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: unit, lat, level, value
Sensor: pressure | fields: depth, level, reading, ts
Task: Retrieve level from rainfall that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081997 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: reading, unit, qc, lon
Sensor: lightning | fields: type, unit, ts, lat
Task: Retrieve lon from drought_index that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081998 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, depth, value, level
Sensor: sunlight | fields: unit, lon, lat, type
Task: Fetch depth from soil_moisture where value is greater than the average of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.