variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: drought_index | code: ref | fields: reading, level, lat, lon
Sensor: rainfall | fields: reading, value, lat, unit
Task: Fetch lat from drought_index where value is greater than the total of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060900 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, type, qc, value
Sensor: frost | fields: qc, lat, unit, depth
Task: Fetch level from humidity where depth is greater than the average of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060901 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, unit, depth, qc
Sensor: snow_depth | fields: depth, qc, level, lon
Task: Retrieve reading from humidity with depth above the MIN(value) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060902 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, qc, lon, lat
Sensor: wind_speed | fields: lon, depth, unit, value
Task: Fetch lat from soil_moisture where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060903 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: depth, lon, type, value
Sensor: drought_index | fields: value, lat, depth, type
Task: Retrieve depth from temperature that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060904 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: level, qc, lat, lon
Sensor: dew_point | fields: depth, value, lon, lat
Task: Retrieve lat from uv_index with depth above the SUM(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060905 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, depth, ts, level
Sensor: soil_moisture | fields: depth, ts, value, qc
Task: Retrieve reading from dew_point with reading above the AVG(value) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060906 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: level, ts, lat, reading
Sensor: pressure | fields: type, lon, depth, level
Task: Retrieve lon from frost that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060907 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: lon, qc, lat, depth
Sensor: visibility | fields: value, qc, lat, depth
Task: Retrieve value from snow_depth that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060908 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, qc, ts
Sensor: pressure | fields: lon, value, level, unit
Task: Retrieve level from humidity whose qc is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060909 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, value, level, unit
Sensor: wind_speed | fields: reading, unit, depth, type
Task: Retrieve lon from snow_depth whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060910 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: value, lon, level, unit
Sensor: evaporation | fields: reading, lon, type, unit
Task: Get lon from drought_index where value exceeds the maximum value from evaporation for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060911 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, lat, type, reading
Sensor: wind_speed | fields: lat, qc, depth, ts
Task: Fetch level from drought_index that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060912 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: type, level, depth, reading
Sensor: sunlight | fields: ts, qc, value, type
Task: Retrieve level from visibility that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060913 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, level, reading
Sensor: dew_point | fields: type, level, reading, lat
Task: Fetch level from wind_speed where reading is greater than the minimum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060914 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, type, value, depth
Sensor: soil_moisture | fields: lat, qc, type, value
Task: Fetch reading from frost where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060915 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, value, lon, qc
Sensor: evaporation | fields: qc, depth, type, value
Task: Get depth from rainfall where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060916 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, lat, qc, type
Sensor: rainfall | fields: lon, ts, value, level
Task: Fetch lat from snow_depth where reading is greater than the average of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060917 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, lon, lat, unit
Sensor: snow_depth | fields: level, lon, reading, unit
Task: Get level from wind_speed where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"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_060918 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, value, level, type
Sensor: sunlight | fields: lon, type, unit, level
Task: Fetch value from air_quality that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060919 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: level, reading, ts, unit
Sensor: air_quality | fields: depth, lon, value, unit
Task: Retrieve depth from sunlight with value above the COUNT(value) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060920 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: type, lat, value, level
Sensor: temperature | fields: qc, level, reading, lat
Task: Fetch level from frost that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060921 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, qc, lat, unit
Sensor: pressure | fields: reading, depth, level, unit
Task: Retrieve lon from visibility with depth above the SUM(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060922 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, reading, lon, qc
Sensor: visibility | fields: level, lat, ts, reading
Task: Get depth from pressure where type appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060923 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, qc, type, value
Sensor: evaporation | fields: qc, lat, lon, depth
Task: Get lat from lightning where type appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060924 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: depth, lon, level, qc
Sensor: air_quality | fields: type, value, ts, qc
Task: Get lat from uv_index where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060925 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: qc, value, depth, lon
Sensor: wind_speed | fields: lon, qc, depth, reading
Task: Fetch depth from rainfall where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060926 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: unit, level, qc, lat
Sensor: turbidity | fields: unit, value, lon, ts
Task: Retrieve value from dew_point with depth above the SUM(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060927 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, depth, value, qc
Sensor: sunlight | fields: value, reading, level, depth
Task: Fetch depth from uv_index where depth exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060928 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, reading, unit, lon
Sensor: humidity | fields: reading, value, level, depth
Task: Fetch depth from visibility that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060929 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: qc, unit, value, level
Sensor: sunlight | fields: type, depth, lat, unit
Task: Retrieve value from frost whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060930 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: unit, depth, type, qc
Sensor: air_quality | fields: lon, reading, lat, depth
Task: Retrieve lat from visibility whose qc is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060931 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: unit, qc, reading, value
Sensor: snow_depth | fields: type, lat, value, lon
Task: Retrieve lon from drought_index whose depth is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060932 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: type, unit, lat, value
Sensor: evaporation | fields: depth, unit, qc, lon
Task: Retrieve level from turbidity that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060933 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: unit, ts, lat, lon
Sensor: soil_moisture | fields: value, level, type, qc
Task: Fetch lat from rainfall where value is greater than the count of of reading in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060934 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, depth, ts, lon
Sensor: humidity | fields: depth, unit, lon, ts
Task: Retrieve reading from soil_moisture with depth above the MAX(reading) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060935 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, reading, qc, lat
Sensor: air_quality | fields: level, ts, unit, depth
Task: Get lon from humidity where reading exceeds the total reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060936 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, reading, level, ts
Sensor: frost | fields: lat, ts, unit, depth
Task: Fetch value from humidity where depth is greater than the minimum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060937 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: reading, value, type, qc
Sensor: dew_point | fields: depth, qc, ts, reading
Task: Fetch reading from air_quality where depth exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060938 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: depth, value, type, lat
Sensor: uv_index | fields: depth, lon, level, unit
Task: Fetch lat from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060939 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, reading, type, level
Sensor: dew_point | fields: unit, lat, ts, reading
Task: Retrieve level from evaporation whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060940 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, unit, reading, depth
Sensor: wind_speed | fields: level, reading, lon, value
Task: Get lon from drought_index where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060941 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, ts, level, type
Sensor: dew_point | fields: ts, reading, lon, level
Task: Fetch lat from pressure that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060942 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: level, lon, ts, value
Sensor: rainfall | fields: unit, qc, reading, value
Task: Fetch lon from snow_depth that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060943 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, depth, lon, value
Sensor: frost | fields: value, level, ts, lat
Task: Fetch value from soil_moisture where reading is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060944 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: ts, unit, type, value
Sensor: visibility | fields: qc, lat, ts, depth
Task: Get lon from rainfall where value exceeds the total value from visibility for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060945 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: level, unit, reading, type
Sensor: frost | fields: reading, lat, type, qc
Task: Retrieve value from soil_moisture with depth above the MAX(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060946 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: type, reading, qc, value
Sensor: rainfall | fields: lat, qc, level, type
Task: Get lon from turbidity where ts appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060947 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, unit, type, value
Sensor: sunlight | fields: reading, level, depth, lat
Task: Fetch level from pressure that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060948 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, ts, depth, type
Sensor: pressure | fields: unit, value, qc, reading
Task: Fetch depth from snow_depth where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060949 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, ts, type, qc
Sensor: turbidity | fields: qc, level, unit, value
Task: Retrieve depth from soil_moisture with depth above the COUNT(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060950 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: depth, reading, ts, level
Sensor: rainfall | fields: unit, value, reading, level
Task: Fetch reading from dew_point that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060951 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: type, unit, ts, qc
Sensor: frost | fields: type, unit, level, lat
Task: Fetch value from uv_index where value is greater than the total of value in frost for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060952 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: value, ts, type, reading
Sensor: drought_index | fields: depth, ts, type, value
Task: Get level from air_quality where reading exceeds the maximum reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060953 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: qc, level, reading, type
Sensor: soil_moisture | fields: type, unit, value, level
Task: Retrieve value from air_quality that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060954 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: level, type, ts, lon
Sensor: uv_index | fields: qc, ts, depth, lon
Task: Get depth from temperature where reading exceeds the average reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060955 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: level, lat, depth, lon
Sensor: frost | fields: level, depth, lat, type
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_060956 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: reading, lon, lat, level
Sensor: soil_moisture | fields: reading, qc, lat, ts
Task: Get depth from frost where type appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060957 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, lon, ts, value
Sensor: frost | fields: unit, level, depth, value
Task: Get depth from uv_index where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060958 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: depth, level, reading, lon
Sensor: uv_index | fields: ts, unit, reading, qc
Task: Retrieve lat from frost with depth above the MIN(value) of uv_index readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060959 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: lat, lon, type, ts
Sensor: turbidity | fields: lat, unit, ts, qc
Task: Retrieve depth from temperature whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060960 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, lon, depth, unit
Sensor: pressure | fields: unit, reading, depth, qc
Task: Get reading from humidity where value exceeds the total value from pressure for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060961 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lat, value, lon
Sensor: air_quality | fields: depth, value, qc, ts
Task: Get value from evaporation where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060962 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: reading, qc, level, lat
Sensor: snow_depth | fields: reading, lat, depth, value
Task: Fetch value from evaporation where value is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060963 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: depth, reading, unit, qc
Sensor: sunlight | fields: reading, level, depth, qc
Task: Retrieve depth from drought_index that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060964 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: ts, value, lon, reading
Sensor: rainfall | fields: reading, type, qc, lat
Task: Retrieve lat from turbidity whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060965 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: reading, lat, value, level
Sensor: wind_speed | fields: value, ts, depth, type
Task: Fetch level from pressure where value is greater than the minimum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060966 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: lat, depth, unit, qc
Sensor: dew_point | fields: type, value, lon, reading
Task: Retrieve value from uv_index that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060967 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: level, depth, type, unit
Sensor: wind_speed | fields: qc, reading, level, ts
Task: Get value from air_quality where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060968 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: level, reading, type, unit
Sensor: lightning | fields: type, reading, value, lat
Task: Retrieve level from soil_moisture that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060969 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, reading, value, unit
Sensor: pressure | fields: reading, ts, depth, value
Task: Fetch level from snow_depth where reading is greater than the count of of value in pressure for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060970 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, reading, lon
Sensor: dew_point | fields: lon, ts, unit, qc
Task: Get value from air_quality where value exceeds the maximum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060971 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: reading, lon, level, ts
Sensor: snow_depth | fields: lat, depth, level, reading
Task: Fetch level from temperature that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060972 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: value, ts, type, lon
Sensor: snow_depth | fields: unit, lat, depth, level
Task: Retrieve level from rainfall that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060973 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: ts, level, qc, type
Sensor: cloud_cover | fields: type, lat, reading, level
Task: Fetch value from temperature where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060974 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, value, type, qc
Sensor: drought_index | fields: ts, depth, level, value
Task: Retrieve level from visibility with value above the AVG(depth) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060975 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: value, depth, type, lat
Sensor: drought_index | fields: lat, depth, reading, type
Task: Retrieve lat from temperature with depth above the AVG(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060976 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: level, reading, unit, lon
Sensor: evaporation | fields: lat, qc, value, depth
Task: Fetch lat from frost where depth exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060977 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: depth, type, lat, lon
Sensor: snow_depth | fields: value, lat, lon, reading
Task: Retrieve depth from frost that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060978 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, unit, qc, type
Sensor: pressure | fields: lat, ts, reading, type
Task: Retrieve lat from wind_speed whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060979 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: level, ts, qc, reading
Sensor: evaporation | fields: lon, level, lat, qc
Task: Get depth from dew_point where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060980 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: value, lon, lat, type
Sensor: soil_moisture | fields: qc, level, unit, ts
Task: Retrieve level from wind_speed whose unit is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060981 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, value, lon, type
Sensor: wind_speed | fields: lat, lon, value, qc
Task: Get lat from frost where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060982 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, lon, depth
Sensor: air_quality | fields: reading, qc, ts, type
Task: Fetch value from drought_index where qc exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060983 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, reading, lat, ts
Sensor: lightning | fields: reading, value, ts, depth
Task: Fetch lon from soil_moisture where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060984 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: unit, ts, qc, type
Sensor: temperature | fields: depth, reading, qc, lon
Task: Get depth from sunlight where depth exceeds the average depth from temperature for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060985 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: level, qc, lon, lat
Sensor: pressure | fields: unit, reading, ts, lat
Task: Get reading from rainfall where type appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060986 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, qc, level, reading
Sensor: dew_point | fields: qc, lat, depth, unit
Task: Get level from turbidity where reading exceeds the average depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060987 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: ts, value, unit, level
Sensor: wind_speed | fields: qc, lat, lon, unit
Task: Fetch lon from air_quality that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_060988 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: type, level, unit, lon
Sensor: evaporation | fields: reading, ts, depth, type
Task: Fetch lat from visibility that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060989 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, level, qc, ts
Sensor: sunlight | fields: type, depth, value, qc
Task: Retrieve value from visibility whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060990 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, type, level, ts
Sensor: snow_depth | fields: reading, unit, level, qc
Task: Retrieve value from lightning with reading above the AVG(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060991 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: unit, level, qc, depth
Sensor: sunlight | fields: ts, type, unit, level
Task: Get lat from drought_index where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060992 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, reading, unit, level
Sensor: snow_depth | fields: lon, reading, level, value
Task: Retrieve reading from visibility with reading above the AVG(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060993 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: type, ts, value, level
Sensor: rainfall | fields: type, qc, level, depth
Task: Fetch level from frost where value is greater than the total of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060994 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lat, lon, value
Sensor: sunlight | fields: depth, lon, level, qc
Task: Fetch value from soil_moisture where depth is greater than the total of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060995 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: qc, level, reading, lat
Sensor: turbidity | fields: ts, qc, value, lon
Task: Fetch value from humidity where reading is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060996 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: lon, ts, reading, unit
Sensor: uv_index | fields: lat, reading, unit, ts
Task: Retrieve level from rainfall with depth above the MIN(value) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060997 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: value, reading, ts, type
Sensor: uv_index | fields: value, reading, lat, qc
Task: Retrieve level from dew_point that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060998 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, qc, level, value
Sensor: soil_moisture | fields: ts, lat, type, value
Task: Fetch lat from cloud_cover where value is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_060999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.