variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, type, qc, level
Sensor: temperature | fields: level, type, ts, unit
Task: Retrieve level from drought_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077200 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: reading, value, ts, level
Sensor: air_quality | fields: type, reading, lon, qc
Task: Fetch lon from evaporation that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077201 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: reading, unit, type, lat
Sensor: soil_moisture | fields: unit, value, lat, level
Task: Fetch reading from temperature where depth is greater than the total of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077202 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: depth, reading, unit, type
Sensor: pressure | fields: ts, reading, qc, unit
Task: Fetch level from drought_index where unit exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077203 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: value, lat, ts, qc
Sensor: evaporation | fields: qc, depth, type, lon
Task: Get lon from turbidity where ts appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077204 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: level, ts, depth, reading
Sensor: visibility | fields: reading, type, depth, level
Task: Fetch lat from uv_index where reading is greater than the count of of value in visibility for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077205 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, depth, lon, reading
Sensor: soil_moisture | fields: qc, value, lon, ts
Task: Fetch level from frost where type exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077206 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, qc, value, unit
Sensor: dew_point | fields: depth, lon, value, reading
Task: Retrieve level from rainfall that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077207 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: qc, ts, lat, type
Sensor: temperature | fields: type, level, lon, value
Task: Get level from evaporation where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077208 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: depth, level, lat, ts
Sensor: lightning | fields: unit, ts, lon, lat
Task: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077209 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, value, unit, lat
Sensor: air_quality | fields: type, depth, ts, reading
Task: Fetch level from turbidity where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077210 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, type, qc, reading
Sensor: soil_moisture | fields: lon, depth, reading, lat
Task: Get depth from drought_index where value exceeds the total value from soil_moisture for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077211 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, unit, ts, lat
Sensor: snow_depth | fields: lat, level, value, qc
Task: Fetch depth from air_quality where value is greater than the total of value in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077212 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, lat, depth
Sensor: frost | fields: value, depth, lat, unit
Task: Retrieve reading from cloud_cover with reading above the SUM(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077213 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, ts, depth, lon
Sensor: air_quality | fields: ts, value, qc, depth
Task: Fetch level from evaporation where reading is greater than the average of depth in air_quality for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077214 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: reading, value, type, ts
Sensor: snow_depth | fields: level, ts, type, unit
Task: Get reading from sunlight where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077215 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: depth, reading, ts, level
Sensor: drought_index | fields: depth, level, value, type
Task: Get value from soil_moisture where value exceeds the maximum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077216 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, value, lon, qc
Sensor: turbidity | fields: unit, qc, type, value
Task: Get depth from air_quality where reading exceeds the average reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077217 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, ts, type, lat
Sensor: drought_index | fields: lon, reading, type, level
Task: Fetch depth from cloud_cover that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077218 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: level, value, depth, unit
Sensor: temperature | fields: depth, qc, ts, type
Task: Fetch level from evaporation where reading is greater than the count of of depth in temperature for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077219 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: value, lat, reading, level
Sensor: turbidity | fields: qc, lon, type, unit
Task: Get reading from air_quality where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077220 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, unit, lat, level
Sensor: snow_depth | fields: level, qc, depth, lat
Task: Retrieve level from evaporation whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077221 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, qc, lon, ts
Sensor: wind_speed | fields: lon, value, level, unit
Task: Get depth from rainfall where type appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077222 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, reading, level, unit
Sensor: wind_speed | fields: reading, depth, qc, unit
Task: Get reading from cloud_cover where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077223 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, lat, type, reading
Sensor: dew_point | fields: qc, unit, lon, depth
Task: Get value from drought_index where depth exceeds the minimum value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077224 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: ts, type, reading, lon
Sensor: temperature | fields: lat, ts, lon, reading
Task: Fetch depth from evaporation where depth exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077225 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: level, ts, unit, lat
Sensor: drought_index | fields: qc, unit, lon, value
Task: Fetch lat from air_quality where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077226 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: type, value, reading, ts
Sensor: rainfall | fields: reading, unit, type, ts
Task: Get value from lightning where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077227 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: value, qc, level, lat
Sensor: soil_moisture | fields: reading, type, lat, unit
Task: Retrieve reading from temperature whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077228 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, level, type
Sensor: drought_index | fields: depth, level, value, type
Task: Fetch lon from rainfall where type exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077229 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: depth, qc, level, value
Sensor: frost | fields: ts, unit, value, reading
Task: Fetch reading from pressure where qc exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077230 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: type, lat, qc, ts
Sensor: turbidity | fields: value, unit, ts, qc
Task: Retrieve depth from rainfall that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077231 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, depth, type, level
Sensor: soil_moisture | fields: type, lon, value, unit
Task: Get level from pressure where value exceeds the total reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"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_077232 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, lat, qc, value
Sensor: soil_moisture | fields: type, unit, qc, level
Task: Fetch lon from turbidity where depth is greater than the minimum of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077233 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: value, depth, reading, lat
Sensor: dew_point | fields: reading, unit, type, ts
Task: Retrieve reading from visibility with value above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077234 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, lon, level, qc
Sensor: temperature | fields: lat, type, value, lon
Task: Fetch lon from sunlight that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077235 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: qc, level, lon, unit
Sensor: sunlight | fields: depth, lon, unit, ts
Task: Fetch reading from turbidity where value is greater than the total of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077236 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: value, qc, reading, ts
Sensor: frost | fields: qc, unit, ts, lon
Task: Get value from uv_index where value exceeds the count of reading from frost for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077237 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, type, value, ts
Sensor: snow_depth | fields: value, qc, depth, reading
Task: Fetch lat from humidity where type exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077238 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lat, qc, depth, type
Sensor: soil_moisture | fields: level, lat, unit, lon
Task: Fetch lon from uv_index where qc exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077239 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, type, lat, value
Sensor: snow_depth | fields: lat, type, reading, value
Task: Fetch depth from sunlight where reading is greater than the total of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077240 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, reading, level, depth
Sensor: uv_index | fields: value, lon, reading, level
Task: Retrieve reading from wind_speed that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077241 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: type, ts, qc, lon
Sensor: dew_point | fields: depth, qc, level, ts
Task: Get lat from uv_index where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077242 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, unit, lat, depth
Sensor: air_quality | fields: depth, value, type, lat
Task: Get lon from cloud_cover where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077243 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: level, qc, value, unit
Sensor: soil_moisture | fields: lat, value, qc, lon
Task: Fetch value from cloud_cover that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077244 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, lon, qc, unit
Sensor: lightning | fields: reading, qc, ts, value
Task: Retrieve level from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077245 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: unit, level, lat, value
Sensor: drought_index | fields: unit, type, level, reading
Task: Retrieve level from uv_index whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077246 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, lat, qc, value
Sensor: rainfall | fields: unit, reading, value, ts
Task: Fetch depth from wind_speed where reading is greater than the average of reading in rainfall for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077247 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: lat, ts, type, lon
Sensor: rainfall | fields: value, depth, type, lat
Task: Get level from uv_index where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077248 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: reading, unit, level, ts
Sensor: pressure | fields: lon, qc, lat, value
Task: Fetch level from uv_index where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077249 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lat, lon, value
Sensor: soil_moisture | fields: unit, level, qc, reading
Task: Fetch depth from evaporation where depth exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077250 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, value, level, unit
Sensor: cloud_cover | fields: qc, type, depth, ts
Task: Get reading from sunlight where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077251 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: reading, unit, ts, qc
Sensor: turbidity | fields: value, lat, ts, unit
Task: Retrieve lat from temperature that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077252 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, qc, lat, ts
Sensor: dew_point | fields: qc, depth, value, reading
Task: Fetch reading from temperature where depth is greater than the maximum of depth in dew_point for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077253 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: qc, lat, reading, value
Sensor: frost | fields: level, lon, value, ts
Task: Fetch lat from turbidity where depth is greater than the count of of reading in frost for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077254 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, level, qc, type
Sensor: snow_depth | fields: value, qc, reading, level
Task: Retrieve reading from dew_point whose depth is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077255 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: type, value, reading, level
Sensor: visibility | fields: qc, value, level, unit
Task: Fetch level from dew_point where depth exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077256 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: level, qc, lon, depth
Sensor: visibility | fields: reading, level, ts, type
Task: Retrieve value from lightning with reading above the MIN(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077257 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lat, reading, unit
Sensor: sunlight | fields: level, value, reading, unit
Task: Retrieve depth from snow_depth with reading above the MAX(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077258 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, qc, type, lon
Sensor: wind_speed | fields: type, reading, unit, value
Task: Get reading from drought_index where value exceeds the maximum value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077259 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: unit, ts, level, lat
Sensor: lightning | fields: value, lon, qc, reading
Task: Get lon from dew_point where value exceeds the total value from lightning for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077260 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: level, unit, ts, value
Sensor: temperature | fields: type, lon, value, lat
Task: Retrieve lat from rainfall with depth above the MIN(reading) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077261 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lon, unit, level, reading
Sensor: visibility | fields: type, unit, lon, level
Task: Get value from uv_index where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077262 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: unit, ts, level, type
Sensor: cloud_cover | fields: value, ts, lat, reading
Task: Fetch depth from sunlight that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077263 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lat, lon, level, qc
Sensor: humidity | fields: unit, value, qc, type
Task: Get reading from lightning where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077264 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, reading, level, qc
Sensor: sunlight | fields: value, level, depth, unit
Task: Fetch lon from frost that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077265 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, unit, lon, reading
Sensor: evaporation | fields: lon, unit, value, lat
Task: Retrieve lat from cloud_cover whose depth is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077266 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, value, unit, lon
Sensor: humidity | fields: qc, unit, depth, level
Task: Retrieve lat from evaporation that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077267 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: lon, value, unit, qc
Sensor: frost | fields: level, depth, qc, ts
Task: Fetch lat from uv_index where depth is greater than the total of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077268 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, lat, reading, lon
Sensor: visibility | fields: depth, reading, lon, value
Task: Retrieve lat from cloud_cover with reading above the MAX(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077269 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, depth, type, lat
Sensor: evaporation | fields: depth, lat, qc, unit
Task: Retrieve depth from sunlight that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077270 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: type, ts, unit, lon
Sensor: evaporation | fields: ts, qc, reading, level
Task: Retrieve depth from snow_depth with reading above the AVG(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077271 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, unit, ts, lon
Sensor: rainfall | fields: level, lat, depth, value
Task: Get level from soil_moisture where value exceeds the minimum depth from rainfall for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077272 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: type, level, qc, unit
Sensor: frost | fields: reading, qc, depth, lat
Task: Fetch value from pressure where depth is greater than the minimum of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077273 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, lat, unit, depth
Sensor: soil_moisture | fields: type, depth, lat, reading
Task: Retrieve value from uv_index whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077274 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: value, lon, type, level
Sensor: rainfall | fields: unit, lon, qc, level
Task: Fetch depth from snow_depth where type exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077275 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: ts, unit, level, lat
Sensor: frost | fields: unit, level, depth, type
Task: Retrieve level from turbidity whose depth is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077276 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: ts, lon, unit, level
Sensor: wind_speed | fields: type, reading, lat, value
Task: Get depth from sunlight where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077277 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, depth, level, unit
Sensor: snow_depth | fields: lon, lat, type, ts
Task: Retrieve depth from wind_speed that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077278 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, lon, ts
Sensor: drought_index | fields: level, unit, value, depth
Task: Get reading from air_quality where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077279 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: level, lat, depth, qc
Sensor: snow_depth | fields: unit, reading, ts, depth
Task: Fetch lat from air_quality where unit exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077280 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: depth, lat, unit, ts
Sensor: turbidity | fields: depth, lon, unit, qc
Task: Fetch depth from evaporation that have at least one corresponding turbidity measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077281 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, lat, unit
Sensor: soil_moisture | fields: level, unit, reading, ts
Task: Get lat from turbidity where qc appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077282 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, ts, level, reading
Sensor: evaporation | fields: lat, unit, ts, qc
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077283 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: type, lat, reading, qc
Sensor: humidity | fields: type, reading, lon, depth
Task: Retrieve level from snow_depth that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077284 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, lon, type, unit
Sensor: dew_point | fields: type, depth, level, ts
Task: Retrieve level from temperature that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077285 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: level, reading, lat, ts
Sensor: soil_moisture | fields: unit, qc, level, value
Task: Fetch lat from dew_point that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077286 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: value, reading, lat, qc
Sensor: air_quality | fields: lon, lat, type, ts
Task: Fetch lon from evaporation where value is greater than the maximum of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077287 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: type, unit, value, reading
Sensor: soil_moisture | fields: lat, lon, value, qc
Task: Fetch lat from drought_index that have at least one corresponding soil_moisture measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077288 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: qc, depth, lon, reading
Sensor: turbidity | fields: level, lat, depth, type
Task: Retrieve value from frost whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077289 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: depth, level, lat, lon
Sensor: visibility | fields: lon, level, reading, depth
Task: Get value from soil_moisture where depth appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_077290 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: unit, ts, type, level
Sensor: soil_moisture | fields: level, type, value, reading
Task: Get value from air_quality where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077291 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: level, value, lon, depth
Sensor: cloud_cover | fields: lat, value, ts, reading
Task: Fetch lon from wind_speed where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077292 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: qc, lon, level, ts
Sensor: humidity | fields: level, qc, value, type
Task: Fetch lon from sunlight that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077293 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: level, depth, lon, qc
Sensor: dew_point | fields: ts, depth, value, type
Task: Get lon from snow_depth where depth exceeds the average value from dew_point for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077294 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: qc, reading, lat, lon
Sensor: cloud_cover | fields: ts, type, reading, level
Task: Get value from evaporation where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077295 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: lat, unit, level, value
Sensor: drought_index | fields: value, type, level, lon
Task: Fetch level from humidity where unit exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077296 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: depth, value, type, level
Sensor: frost | fields: unit, ts, qc, value
Task: Fetch lon from turbidity that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077297 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, level, ts, reading
Sensor: soil_moisture | fields: depth, ts, value, lon
Task: Fetch value from lightning that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"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_077298 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, value, ts, unit
Sensor: turbidity | fields: lat, qc, depth, type
Task: Fetch level from cloud_cover where depth is greater than the total of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_077299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.