variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, type, level, ts
Sensor: sunlight | fields: ts, type, unit, lon
Task: Fetch lat from wind_speed where ts exists in sunlight sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060800 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: unit, value, lon, reading
Sensor: dew_point | fields: type, lat, reading, qc
Task: Retrieve value from pressure with value above the MAX(depth) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060801 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, value, unit, type
Sensor: wind_speed | fields: value, lat, depth, qc
Task: Fetch reading from cloud_cover that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060802 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: ts, value, level, lat
Sensor: dew_point | fields: lon, qc, type, unit
Task: Get lat from sunlight where ts appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060803 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, qc, depth, unit
Sensor: sunlight | fields: type, qc, depth, level
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060804 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: type, reading, lat, lon
Sensor: dew_point | fields: reading, depth, value, level
Task: Fetch lat from frost that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060805 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: depth, value, unit, type
Sensor: drought_index | fields: reading, level, type, ts
Task: Get lon from temperature where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060806 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lon, depth, value, level
Sensor: sunlight | fields: reading, type, unit, value
Task: Retrieve lon from temperature that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060807 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: type, lon, lat, depth
Sensor: cloud_cover | fields: qc, lat, lon, unit
Task: Get reading from frost where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060808 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, qc, value, lon
Sensor: temperature | fields: value, unit, level, qc
Task: Retrieve depth from lightning with depth above the MIN(depth) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060809 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, type, lat, value
Sensor: pressure | fields: unit, ts, lat, type
Task: Retrieve lat from air_quality whose depth is found in pressure records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060810 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lat, ts, depth, unit
Sensor: temperature | fields: depth, type, lat, lon
Task: Retrieve reading from wind_speed that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060811 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, qc, type, lat
Sensor: humidity | fields: unit, type, lat, level
Task: Retrieve lat from air_quality with reading above the COUNT(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060812 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, ts, lon, value
Sensor: evaporation | fields: depth, unit, level, type
Task: Fetch value from pressure where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060813 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: level, qc, ts, reading
Sensor: visibility | fields: qc, depth, ts, level
Task: Get level from air_quality where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060814 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: qc, level, unit, type
Sensor: drought_index | fields: value, type, lon, reading
Task: Retrieve lon from pressure whose unit is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060815 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, reading, lon
Sensor: rainfall | fields: value, lat, level, unit
Task: Fetch lon from sunlight where value is greater than the total of depth in rainfall for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060816 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, depth, reading, unit
Sensor: rainfall | fields: reading, ts, depth, qc
Task: Retrieve level from dew_point that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060817 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: qc, ts, lon, value
Sensor: frost | fields: lat, reading, level, type
Task: Get lat from humidity where depth appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060818 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, ts, lat, level
Sensor: cloud_cover | fields: ts, reading, unit, value
Task: Fetch level from evaporation where qc exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060819 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, lat, value, unit
Sensor: wind_speed | fields: qc, type, lon, unit
Task: Get level from humidity where reading exceeds the maximum reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060820 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, depth, ts, level
Sensor: drought_index | fields: lat, value, level, unit
Task: Fetch lat from frost where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060821 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lat, level, unit
Sensor: soil_moisture | fields: qc, lon, value, type
Task: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060822 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: value, ts, lon, level
Sensor: drought_index | fields: type, depth, ts, reading
Task: Retrieve depth from cloud_cover whose qc is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060823 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: value, unit, type, level
Sensor: dew_point | fields: depth, unit, value, qc
Task: Get lon from visibility where depth exceeds the average reading from dew_point for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060824 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, lat, unit, level
Sensor: wind_speed | fields: value, ts, depth, lat
Task: Get depth from sunlight where reading exceeds the total reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060825 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lat, type, reading
Sensor: sunlight | fields: type, qc, depth, value
Task: Get lon from rainfall where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060826 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: lat, depth, level, lon
Sensor: drought_index | fields: lat, reading, depth, type
Task: Retrieve reading from temperature with depth above the SUM(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060827 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, lat, unit, qc
Sensor: lightning | fields: depth, ts, lon, lat
Task: Retrieve level from humidity that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060828 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: depth, level, ts, unit
Sensor: drought_index | fields: lat, value, qc, reading
Task: Retrieve lat from dew_point whose qc is found in drought_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060829 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, level, reading, type
Sensor: wind_speed | fields: reading, ts, unit, lon
Task: Get lon from cloud_cover where type appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060830 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lat, reading, qc
Sensor: pressure | fields: qc, unit, reading, lat
Task: Get level from snow_depth where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060831 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, reading, ts, level
Sensor: dew_point | fields: depth, type, lon, reading
Task: Retrieve reading from humidity whose unit is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060832 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, depth, ts
Sensor: visibility | fields: value, qc, unit, lon
Task: Get lat from rainfall where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060833 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: qc, lon, reading, level
Sensor: pressure | fields: ts, type, level, value
Task: Fetch lon from lightning where type exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060834 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: ts, unit, lat, lon
Sensor: wind_speed | fields: level, depth, type, ts
Task: Retrieve value from uv_index with value above the SUM(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060835 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, ts, unit, lon
Sensor: wind_speed | fields: unit, qc, type, lat
Task: Retrieve value from temperature with depth above the COUNT(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060836 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, value, ts, lat
Sensor: evaporation | fields: qc, level, ts, unit
Task: Fetch lat from soil_moisture that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060837 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: type, unit, ts, value
Sensor: evaporation | fields: level, ts, lon, reading
Task: Fetch lat from lightning that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060838 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, lon, reading, type
Sensor: temperature | fields: value, lon, unit, level
Task: Retrieve depth from snow_depth whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060839 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: unit, type, lon, qc
Sensor: humidity | fields: qc, level, value, lon
Task: Retrieve level from lightning that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060840 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lat, lon, ts, unit
Sensor: cloud_cover | fields: qc, lon, type, ts
Task: Fetch lon from turbidity that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060841 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, depth, level, lat
Sensor: snow_depth | fields: qc, level, ts, reading
Task: Fetch level from evaporation where reading is greater than the minimum of depth in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060842 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lat, ts, qc, type
Sensor: air_quality | fields: lat, ts, depth, lon
Task: Fetch depth from temperature where depth is greater than the average of reading in air_quality for matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060843 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: depth, qc, unit, value
Sensor: rainfall | fields: type, reading, qc, level
Task: Retrieve depth from drought_index that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060844 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, unit, qc, ts
Sensor: cloud_cover | fields: reading, value, level, unit
Task: Get level from temperature where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060845 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, depth, ts
Sensor: dew_point | fields: lon, level, ts, depth
Task: Get value from visibility where value exceeds the minimum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060846 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, depth, level, qc
Sensor: evaporation | fields: qc, value, reading, lat
Task: Get value from humidity where depth exceeds the count of depth from evaporation for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060847 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: value, lat, ts, type
Sensor: temperature | fields: qc, unit, level, reading
Task: Get lat from snow_depth where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060848 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, ts, qc, type
Sensor: evaporation | fields: level, ts, lat, reading
Task: Get depth from soil_moisture where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060849 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, lat, unit, level
Sensor: soil_moisture | fields: depth, unit, level, ts
Task: Retrieve level from sunlight that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060850 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, level, qc, reading
Sensor: evaporation | fields: lon, lat, value, depth
Task: Get lat from turbidity where unit appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060851 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lat, unit, value, level
Sensor: uv_index | fields: ts, lat, level, lon
Task: Fetch lat from air_quality that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060852 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: level, lat, depth, ts
Sensor: temperature | fields: level, reading, value, type
Task: Retrieve reading from evaporation whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060853 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: type, unit, level, ts
Sensor: evaporation | fields: unit, lon, type, value
Task: Get depth from air_quality where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060854 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: level, type, reading, unit
Sensor: sunlight | fields: level, depth, value, type
Task: Get depth from evaporation where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060855 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: level, reading, unit, qc
Sensor: sunlight | fields: depth, qc, level, lat
Task: Retrieve reading from evaporation whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060856 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, ts, depth, value
Sensor: evaporation | fields: type, depth, level, reading
Task: Fetch level from soil_moisture that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060857 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, reading, level, lat
Sensor: rainfall | fields: type, unit, lat, depth
Task: Fetch value from snow_depth that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060858 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: reading, type, value, unit
Sensor: cloud_cover | fields: value, ts, unit, type
Task: Retrieve depth from evaporation whose ts is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060859 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: reading, qc, value, lat
Sensor: dew_point | fields: unit, depth, level, lon
Task: Fetch depth from frost that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060860 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: reading, lon, value, lat
Sensor: snow_depth | fields: lat, lon, value, qc
Task: Get depth from sunlight where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060861 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: level, qc, value, unit
Sensor: wind_speed | fields: depth, level, type, lat
Task: Fetch lon from visibility where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060862 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: lat, qc, reading, depth
Sensor: humidity | fields: qc, value, type, lon
Task: Get depth from snow_depth where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060863 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, qc, value, lon
Sensor: dew_point | fields: reading, type, level, ts
Task: Fetch depth from rainfall where unit exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060864 | train |
v2 | Sensor network script:
Node: soil_moisture | code: prt | fields: unit, level, value, lat
Sensor: dew_point | fields: type, unit, ts, depth
Task: Fetch level from soil_moisture that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060865 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: unit, value, qc, depth
Sensor: visibility | fields: level, reading, depth, type
Task: Fetch level from drought_index where type exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060866 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: ts, type, qc, depth
Sensor: air_quality | fields: lat, reading, level, qc
Task: Get depth from drought_index where depth exceeds the average depth from air_quality for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060867 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: ts, type, reading, level
Sensor: pressure | fields: lat, type, reading, value
Task: Retrieve lat from sunlight whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060868 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, value, lon, ts
Sensor: lightning | fields: qc, depth, reading, value
Task: Fetch value from soil_moisture that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060869 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, reading, lat, value
Sensor: frost | fields: reading, ts, qc, type
Task: Get reading from drought_index where depth exceeds the total depth from frost for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060870 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, qc, depth, lon
Sensor: humidity | fields: lat, qc, value, depth
Task: Fetch lon from visibility where depth is greater than the count of of value in humidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060871 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, level, depth, lat
Sensor: lightning | fields: lon, qc, value, type
Task: Retrieve reading from air_quality with reading above the AVG(reading) of lightning readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060872 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, qc, depth
Sensor: lightning | fields: unit, level, depth, reading
Task: Fetch reading from temperature where ts exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060873 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: level, value, depth, lon
Sensor: air_quality | fields: value, ts, unit, level
Task: Fetch level from evaporation where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060874 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: qc, level, ts, lon
Sensor: rainfall | fields: reading, depth, type, qc
Task: Retrieve level from temperature that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060875 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, lat, level, ts
Sensor: humidity | fields: level, lon, depth, lat
Task: Retrieve depth from cloud_cover whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060876 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, level, unit, reading
Sensor: temperature | fields: reading, lat, lon, depth
Task: Get level 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="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060877 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: value, unit, lat, ts
Sensor: pressure | fields: qc, ts, unit, depth
Task: Get depth from visibility where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060878 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, unit, type, qc
Sensor: turbidity | fields: lon, type, reading, unit
Task: Get level from pressure where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060879 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, depth, qc, lat
Sensor: soil_moisture | fields: level, lat, ts, depth
Task: Get level from wind_speed where unit appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060880 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, value, depth
Sensor: wind_speed | fields: ts, qc, value, lon
Task: Fetch level from humidity that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060881 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, depth, value, qc
Sensor: dew_point | fields: reading, type, level, depth
Task: Get depth from cloud_cover where reading exceeds the minimum depth from dew_point for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060882 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, reading, lon, type
Sensor: air_quality | fields: reading, unit, depth, ts
Task: Fetch reading from evaporation that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060883 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: reading, qc, lon, value
Sensor: dew_point | fields: unit, depth, reading, level
Task: Retrieve lon from turbidity with reading above the AVG(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060884 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lat, value, ts
Sensor: snow_depth | fields: qc, type, reading, level
Task: Get reading from wind_speed where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060885 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: value, ts, unit, lat
Sensor: uv_index | fields: depth, reading, value, lon
Task: Get reading from humidity where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060886 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, value, unit, depth
Sensor: evaporation | fields: qc, lon, value, lat
Task: Retrieve lon from snow_depth whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060887 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, lat, value, unit
Sensor: dew_point | fields: qc, ts, level, unit
Task: Retrieve level from snow_depth with value above the SUM(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060888 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, type, value, reading
Sensor: frost | fields: qc, reading, lon, ts
Task: Retrieve reading from sunlight whose ts is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060889 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: lon, reading, value, level
Sensor: turbidity | fields: unit, depth, ts, level
Task: Get level from visibility where ts appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060890 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: reading, lat, value, depth
Sensor: drought_index | fields: level, unit, ts, qc
Task: Get reading from snow_depth where reading exceeds the maximum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060891 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, ts, depth, reading
Sensor: pressure | fields: ts, depth, qc, lon
Task: Fetch lat from snow_depth that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060892 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: reading, lat, qc, unit
Sensor: turbidity | fields: level, lat, value, ts
Task: Get lon from uv_index where type appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060893 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: ts, type, lon, reading
Sensor: evaporation | fields: type, ts, qc, reading
Task: Fetch reading from pressure where ts exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060894 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: level, lat, type, ts
Sensor: temperature | fields: value, qc, lat, level
Task: Get lat from frost where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060895 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: depth, qc, type, ts
Sensor: dew_point | fields: type, lat, reading, ts
Task: Fetch depth from humidity that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060896 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, reading, unit, ts
Sensor: frost | fields: qc, lat, ts, type
Task: Get reading from turbidity where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060897 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: level, lat, lon, qc
Sensor: temperature | fields: reading, lat, depth, ts
Task: Fetch level from rainfall where ts exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060898 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: reading, type, lon, unit
Sensor: turbidity | fields: depth, type, unit, qc
Task: Retrieve level from frost with value above the MAX(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060899 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.