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: thr | fields: depth, type, level, lat
Sensor: air_quality | fields: value, unit, type, depth
Task: Retrieve value from drought_index that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037200 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: ts, lat, qc, lon
Sensor: temperature | fields: ts, level, value, reading
Task: Fetch depth from dew_point where depth is greater than the minimum of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037201 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: unit, reading, lon, value
Sensor: drought_index | fields: level, qc, depth, value
Task: Get level from sunlight where value exceeds the average reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037202 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, type, ts, value
Sensor: pressure | fields: qc, ts, lat, value
Task: Fetch depth from lightning that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037203 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: type, ts, qc, lat
Sensor: sunlight | fields: level, type, depth, reading
Task: Get lat from dew_point where reading exceeds the maximum reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037204 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: type, depth, value, qc
Sensor: temperature | fields: depth, level, unit, lon
Task: Get lat from wind_speed where type appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037205 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: value, depth, lat, ts
Sensor: rainfall | fields: lat, depth, type, lon
Task: Retrieve depth from sunlight whose qc is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037206 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: unit, depth, ts, reading
Sensor: rainfall | fields: depth, reading, lat, lon
Task: Get lon from dew_point where reading exceeds the count of value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037207 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, reading, lon, lat
Sensor: pressure | fields: depth, lat, level, qc
Task: Get value from turbidity where depth exceeds the total value from pressure for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037208 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: type, ts, unit, level
Sensor: dew_point | fields: lat, unit, reading, lon
Task: Retrieve depth from wind_speed whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037209 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: depth, value, reading, unit
Sensor: wind_speed | fields: lat, reading, type, value
Task: Fetch depth from frost where type exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037210 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: lon, level, ts, value
Sensor: drought_index | fields: type, value, ts, reading
Task: Retrieve depth from rainfall whose depth is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037211 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, ts, type, level
Sensor: drought_index | fields: type, lon, value, ts
Task: Retrieve level from turbidity whose qc is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037212 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lon, type, value, level
Sensor: snow_depth | fields: unit, depth, ts, reading
Task: Retrieve value from humidity whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037213 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, lon, value, qc
Sensor: evaporation | fields: ts, depth, level, unit
Task: Get level from soil_moisture where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037214 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lon, reading, type, ts
Sensor: dew_point | fields: depth, reading, qc, lat
Task: Get lon from pressure where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037215 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: qc, level, lat, type
Sensor: sunlight | fields: unit, level, reading, ts
Task: Get value from turbidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037216 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: lon, value, level, depth
Sensor: wind_speed | fields: lon, level, lat, type
Task: Fetch value from temperature where value is greater than the minimum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037217 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: depth, lon, reading, level
Sensor: lightning | fields: value, level, depth, lon
Task: Retrieve depth from sunlight that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037218 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: depth, unit, level, lat
Sensor: rainfall | fields: type, reading, unit, value
Task: Get depth from visibility where value exceeds the minimum value from rainfall for the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037219 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: type, unit, depth, lat
Sensor: dew_point | fields: depth, lon, ts, value
Task: Fetch reading from temperature where depth is greater than the average of depth in dew_point for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037220 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: type, depth, value, lon
Sensor: air_quality | fields: type, reading, depth, lat
Task: Fetch lat from wind_speed where reading is greater than the maximum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037221 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, qc, reading, ts
Sensor: pressure | fields: type, lat, lon, depth
Task: Get reading from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037222 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, ts, value, lon
Sensor: snow_depth | fields: depth, level, unit, lon
Task: Fetch depth from air_quality where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037223 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, reading, qc, depth
Sensor: snow_depth | fields: level, qc, lat, lon
Task: Retrieve lon from lightning with value above the MAX(value) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037224 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: ts, lat, value, lon
Sensor: sunlight | fields: level, type, ts, depth
Task: Get value from turbidity where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037225 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, type, level, lon
Sensor: turbidity | fields: value, lon, unit, ts
Task: Get level from temperature where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037226 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: reading, value, type, level
Sensor: soil_moisture | fields: reading, qc, value, lon
Task: Get lat from lightning where value exceeds the minimum value from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037227 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, depth, qc, unit
Sensor: dew_point | fields: lat, reading, type, lon
Task: Retrieve depth from temperature with depth above the AVG(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037228 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: level, depth, unit, reading
Sensor: turbidity | fields: value, lat, lon, depth
Task: Retrieve lat from dew_point whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037229 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: value, level, lon, reading
Sensor: sunlight | fields: type, unit, lat, lon
Task: Retrieve lon from turbidity that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037230 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: qc, unit, ts, level
Sensor: wind_speed | fields: type, depth, lat, qc
Task: Fetch lat from temperature that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037231 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lat, reading, value, unit
Sensor: air_quality | fields: lat, type, ts, unit
Task: Get reading from evaporation where reading exceeds the total value from air_quality for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037232 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: reading, depth, lon, level
Sensor: evaporation | fields: lon, lat, unit, qc
Task: Retrieve value from turbidity with value above the MIN(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037233 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: type, value, reading, qc
Sensor: dew_point | fields: level, lat, reading, lon
Task: Get lat from drought_index where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037234 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: depth, ts, lat, unit
Sensor: sunlight | fields: ts, lon, unit, type
Task: Retrieve lon from uv_index with reading above the AVG(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037235 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: depth, level, ts, type
Sensor: uv_index | fields: ts, lat, value, reading
Task: Retrieve value from air_quality whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037236 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, qc, level, reading
Sensor: turbidity | fields: ts, unit, lat, depth
Task: Retrieve depth from cloud_cover whose ts is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037237 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: unit, reading, lon, qc
Sensor: lightning | fields: type, depth, unit, ts
Task: Retrieve value from turbidity with reading above the MIN(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037238 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, unit, depth, level
Sensor: visibility | fields: unit, ts, value, level
Task: Retrieve depth from frost that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037239 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, reading, unit, lon
Sensor: cloud_cover | fields: unit, depth, ts, lon
Task: Fetch level from rainfall where unit exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037240 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: unit, ts, level, lat
Sensor: soil_moisture | fields: level, type, qc, lat
Task: Get lon from uv_index where depth exceeds the average value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037241 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, depth, type, unit
Sensor: lightning | fields: type, qc, lat, lon
Task: Get value from temperature where value exceeds the minimum reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037242 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, level, type
Sensor: visibility | fields: level, value, reading, depth
Task: Get lon from evaporation where unit appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037243 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: value, depth, type, unit
Sensor: turbidity | fields: reading, depth, unit, level
Task: Get lon from air_quality where depth exceeds the maximum depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037244 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, lat, qc, value
Sensor: humidity | fields: ts, lon, value, type
Task: Fetch reading from pressure that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037245 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: value, reading, lon, unit
Sensor: lightning | fields: ts, value, unit, depth
Task: Get reading from uv_index where reading exceeds the count of depth from lightning for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037246 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: qc, type, lon, depth
Sensor: cloud_cover | fields: type, qc, reading, unit
Task: Retrieve lon from rainfall with value above the AVG(value) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037247 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, type, ts, unit
Sensor: sunlight | fields: ts, reading, value, qc
Task: Get level from visibility where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037248 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, level, ts, lat
Sensor: cloud_cover | fields: lon, value, lat, type
Task: Retrieve lat from evaporation with value above the MAX(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037249 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, lat, lon, depth
Sensor: air_quality | fields: type, lat, value, reading
Task: Fetch value from wind_speed where value is greater than the average of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037250 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, depth, lon, ts
Sensor: soil_moisture | fields: qc, reading, depth, unit
Task: Get level from frost where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037251 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lat, reading, unit
Sensor: snow_depth | fields: type, ts, qc, unit
Task: Get lon from soil_moisture where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037252 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: value, unit, lat, lon
Sensor: evaporation | fields: depth, qc, level, ts
Task: Fetch reading from uv_index where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037253 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: ts, lat, unit, level
Sensor: pressure | fields: unit, level, value, ts
Task: Get level from visibility where value exceeds the minimum depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037254 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, reading, lon, unit
Sensor: pressure | fields: depth, level, unit, value
Task: Fetch level from evaporation where depth exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037255 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, reading, qc, value
Sensor: snow_depth | fields: type, unit, depth, value
Task: Get reading from pressure where type appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037256 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: reading, depth, unit, ts
Sensor: cloud_cover | fields: lat, qc, type, reading
Task: Fetch depth from lightning where qc exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037257 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, level, lon, reading
Sensor: turbidity | fields: qc, lat, type, value
Task: Retrieve value from rainfall with reading above the AVG(depth) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037258 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: value, level, qc, lon
Sensor: rainfall | fields: type, value, unit, lat
Task: Retrieve level from evaporation that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037259 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: depth, lat, value, unit
Sensor: wind_speed | fields: ts, depth, value, reading
Task: Get lat from pressure where value exceeds the average reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037260 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lon, level, unit, lat
Sensor: humidity | fields: qc, lon, depth, lat
Task: Get reading from evaporation where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037261 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, ts, reading, value
Sensor: rainfall | fields: type, ts, value, lat
Task: Get depth from cloud_cover where type appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037262 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, value, depth, qc
Sensor: wind_speed | fields: value, lat, level, ts
Task: Fetch level from drought_index where unit exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037263 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: ts, value, unit, lat
Sensor: dew_point | fields: reading, level, ts, value
Task: Retrieve lat from air_quality whose depth is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037264 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lon, type, lat
Sensor: evaporation | fields: level, lon, unit, lat
Task: Fetch depth from snow_depth where depth is greater than the total of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037265 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: unit, ts, reading, depth
Sensor: temperature | fields: depth, value, level, ts
Task: Retrieve reading from rainfall with value above the MAX(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037266 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: level, lon, unit, ts
Sensor: dew_point | fields: qc, type, depth, lat
Task: Get depth from sunlight where depth exceeds the count of value from dew_point for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037267 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: ts, unit, lon, qc
Sensor: dew_point | fields: lon, reading, unit, ts
Task: Fetch depth from air_quality where value is greater than the minimum of value in dew_point for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037268 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, lat, qc, reading
Sensor: pressure | fields: reading, qc, ts, level
Task: Retrieve level from evaporation that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037269 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: qc, type, ts, value
Sensor: evaporation | fields: depth, value, type, lon
Task: Fetch level from visibility that have at least one corresponding evaporation measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"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_037270 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: depth, lon, ts, unit
Sensor: temperature | fields: lat, type, level, lon
Task: Get level from turbidity where depth exceeds the count of depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037271 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, lon, unit, ts
Sensor: cloud_cover | fields: reading, type, unit, value
Task: Get lon from lightning where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037272 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: unit, qc, lon, lat
Sensor: turbidity | fields: reading, lat, type, qc
Task: Fetch value from rainfall where reading is greater than the count of of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037273 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: type, reading, ts, qc
Sensor: evaporation | fields: lat, reading, qc, depth
Task: Retrieve value from temperature that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037274 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, value, lon, lat
Sensor: rainfall | fields: type, qc, depth, lat
Task: Fetch value from evaporation that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037275 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: qc, value, level, reading
Sensor: frost | fields: unit, type, level, depth
Task: Retrieve level from rainfall with depth above the AVG(reading) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037276 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, unit, reading, qc
Sensor: humidity | fields: unit, reading, qc, lat
Task: Retrieve value from air_quality with depth above the MAX(reading) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037277 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, ts, unit, qc
Sensor: humidity | fields: reading, level, unit, value
Task: Get level from air_quality where reading exceeds the minimum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037278 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, reading, ts, value
Sensor: evaporation | fields: lon, type, value, ts
Task: Fetch level from dew_point where ts exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037279 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: ts, lon, depth, qc
Sensor: wind_speed | fields: depth, level, lat, ts
Task: Retrieve level from uv_index with value above the MIN(depth) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037280 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, lon, type, ts
Sensor: wind_speed | fields: unit, depth, qc, value
Task: Fetch reading from temperature where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037281 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, level, depth, lon
Sensor: air_quality | fields: lon, qc, depth, lat
Task: Retrieve level from cloud_cover with depth above the MAX(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037282 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, type, reading, ts
Sensor: uv_index | fields: unit, lat, lon, type
Task: Get value from snow_depth where value exceeds the maximum value from uv_index for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037283 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, lon, value, reading
Sensor: air_quality | fields: qc, value, lat, unit
Task: Fetch lat from snow_depth where ts exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037284 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lat, reading, ts, depth
Sensor: pressure | fields: depth, value, lon, level
Task: Fetch lat from humidity where reading is greater than the average of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037285 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: depth, value, unit, lon
Sensor: wind_speed | fields: unit, lon, reading, ts
Task: Get reading from pressure where reading exceeds the total reading from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037286 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: qc, lat, depth, lon
Sensor: snow_depth | fields: reading, unit, ts, value
Task: Get depth from humidity where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037287 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, reading, depth, lat
Sensor: snow_depth | fields: value, level, type, reading
Task: Fetch depth from humidity where reading is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037288 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: depth, value, reading, ts
Sensor: sunlight | fields: level, depth, value, lon
Task: Retrieve lat from temperature whose unit is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037289 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: value, ts, reading, lat
Sensor: turbidity | fields: unit, lat, ts, type
Task: Get lon from visibility where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037290 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: ts, value, reading, type
Sensor: rainfall | fields: depth, reading, qc, level
Task: Get depth from uv_index where value exceeds the minimum depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037291 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: level, depth, unit, lon
Sensor: snow_depth | fields: reading, unit, type, ts
Task: Fetch lat from sunlight that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037292 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, value, type, level
Sensor: drought_index | fields: type, lon, level, qc
Task: Get reading from soil_moisture where value exceeds the total depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037293 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, qc, reading, level
Sensor: cloud_cover | fields: unit, reading, value, level
Task: Retrieve lat from temperature whose type is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037294 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, reading, qc, type
Sensor: sunlight | fields: ts, value, reading, unit
Task: Get depth from rainfall where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037295 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, value, ts, qc
Sensor: sunlight | fields: type, reading, lon, unit
Task: Retrieve depth from dew_point with value above the MIN(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037296 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, depth, lat, lon
Sensor: uv_index | fields: unit, depth, value, lon
Task: Get lat from turbidity where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037297 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, qc, depth, lon
Sensor: visibility | fields: value, lon, ts, qc
Task: Fetch reading from cloud_cover where reading is greater than the count of of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_037298 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: reading, lon, lat, depth
Sensor: lightning | fields: level, type, qc, lon
Task: Get lat from temperature where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_037299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.