variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: sunlight | code: prt | fields: lat, type, unit, value
Sensor: cloud_cover | fields: reading, depth, ts, value
Task: Fetch depth from sunlight where qc exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004200 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, ts, lat, lon
Sensor: air_quality | fields: lat, lon, unit, depth
Task: Fetch depth from wind_speed that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004201 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: reading, qc, depth, lat
Sensor: snow_depth | fields: lat, type, value, depth
Task: Retrieve level from temperature that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004202 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: qc, type, lon, depth
Sensor: air_quality | fields: reading, depth, level, type
Task: Fetch level from humidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004203 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, reading, lat
Sensor: lightning | fields: level, value, lon, reading
Task: Get lon from drought_index where unit appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004204 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: unit, level, value, type
Sensor: evaporation | fields: unit, level, qc, value
Task: Retrieve lon from lightning whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004205 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, level, type, qc
Sensor: rainfall | fields: unit, ts, value, lon
Task: Fetch value from wind_speed that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004206 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, lon, lat, type
Sensor: air_quality | fields: type, reading, level, lat
Task: Get level from dew_point where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004207 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, lon, unit, level
Sensor: sunlight | fields: reading, lon, type, ts
Task: Get value from drought_index where qc appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004208 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: type, lat, level, qc
Sensor: soil_moisture | fields: qc, value, lon, reading
Task: Retrieve value from frost that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004209 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, depth, reading, lon
Sensor: turbidity | fields: type, ts, reading, unit
Task: Retrieve depth from snow_depth whose unit is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004210 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, reading, lon, unit
Sensor: sunlight | fields: unit, depth, type, value
Task: Get reading from drought_index where depth appears in sunlight readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004211 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lat, unit, qc, value
Sensor: temperature | fields: level, type, value, qc
Task: Fetch value from sunlight that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004212 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, ts, unit, depth
Sensor: pressure | fields: value, depth, ts, reading
Task: Fetch value from visibility where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004213 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, value, depth, qc
Sensor: cloud_cover | fields: depth, value, lon, unit
Task: Get depth from humidity where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004214 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, qc, type, lat
Sensor: visibility | fields: qc, type, level, unit
Task: Get depth from evaporation where reading exceeds the minimum depth from visibility for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004215 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, reading, lon, lat
Sensor: drought_index | fields: lat, reading, unit, depth
Task: Retrieve lat from turbidity whose type is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004216 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: ts, qc, unit, reading
Sensor: cloud_cover | fields: qc, level, unit, value
Task: Fetch depth from sunlight that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004217 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lon, qc, unit, value
Sensor: uv_index | fields: level, ts, value, lat
Task: Fetch level from humidity where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004218 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: qc, lon, ts, lat
Sensor: uv_index | fields: type, value, qc, depth
Task: Fetch level from lightning where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004219 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: qc, value, lat, lon
Sensor: lightning | fields: level, lat, reading, unit
Task: Fetch reading from air_quality where value is greater than the maximum of value in lightning for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004220 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: qc, reading, level, depth
Sensor: dew_point | fields: ts, qc, lat, value
Task: Retrieve lat from lightning that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004221 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, value, reading, type
Sensor: cloud_cover | fields: level, type, reading, ts
Task: Fetch level from soil_moisture where depth is greater than the minimum of depth in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004222 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lon, type, qc, lat
Sensor: cloud_cover | fields: lat, type, ts, unit
Task: Retrieve lat from pressure that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004223 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, depth, unit, lat
Sensor: turbidity | fields: type, ts, lon, depth
Task: Fetch value from pressure where reading is greater than the average of value in turbidity for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004224 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, type, unit, value
Sensor: lightning | fields: lon, depth, qc, value
Task: Fetch level from wind_speed where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004225 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, level, lon
Sensor: drought_index | fields: ts, lat, lon, qc
Task: Retrieve lat from temperature that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004226 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: lon, lat, qc, reading
Sensor: frost | fields: reading, value, unit, ts
Task: Fetch lat from humidity that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004227 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, lat, level, unit
Sensor: soil_moisture | fields: depth, ts, qc, reading
Task: Fetch lat from snow_depth where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004228 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: qc, level, type, depth
Sensor: rainfall | fields: type, level, unit, lat
Task: Get level from uv_index where reading exceeds the minimum value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004229 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: value, ts, qc, reading
Sensor: snow_depth | fields: lon, unit, reading, qc
Task: Get lat from sunlight where reading exceeds the minimum depth from snow_depth for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004230 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, level, lon, unit
Sensor: pressure | fields: lon, level, value, lat
Task: Get value from lightning where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004231 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: ts, value, qc, reading
Sensor: turbidity | fields: level, type, lon, ts
Task: Fetch level from dew_point where unit exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004232 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: lat, reading, ts, qc
Sensor: pressure | fields: value, reading, lon, qc
Task: Fetch reading from visibility that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004233 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lat, ts, qc
Sensor: drought_index | fields: ts, level, qc, lon
Task: Get reading from snow_depth where type appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004234 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: unit, level, qc, type
Sensor: temperature | fields: depth, ts, level, type
Task: Retrieve reading from frost whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004235 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, level, value, depth
Sensor: frost | fields: type, qc, unit, value
Task: Retrieve reading from turbidity whose ts is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004236 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, value, reading, type
Sensor: humidity | fields: depth, ts, lon, reading
Task: Retrieve lat from air_quality whose ts is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004237 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, reading, value, unit
Sensor: turbidity | fields: lat, ts, reading, unit
Task: Get reading from soil_moisture where reading exceeds the minimum value from turbidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004238 | train |
v1 | Sensor network script:
Node: sunlight | code: mst | fields: value, unit, depth, level
Sensor: temperature | fields: reading, level, qc, unit
Task: Fetch depth from sunlight where depth exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004239 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lat, lon, reading
Sensor: turbidity | fields: lon, value, depth, unit
Task: Retrieve level from snow_depth that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004240 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: qc, type, reading, level
Sensor: turbidity | fields: type, lon, reading, qc
Task: Retrieve level from sunlight whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004241 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: unit, value, lon, depth
Sensor: visibility | fields: qc, value, level, lon
Task: Retrieve reading from turbidity whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004242 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, level, reading, unit
Sensor: turbidity | fields: ts, depth, value, lat
Task: Fetch lat from wind_speed where value is greater than the average of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004243 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, qc, level, reading
Sensor: uv_index | fields: lon, qc, depth, unit
Task: Fetch level from pressure that have at least one corresponding uv_index measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004244 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, unit, value, depth
Sensor: humidity | fields: ts, depth, reading, lat
Task: Retrieve depth from dew_point that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004245 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, ts, depth
Sensor: sunlight | fields: lat, type, lon, ts
Task: Fetch depth from drought_index where reading is greater than the maximum of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004246 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: ts, value, depth, unit
Sensor: snow_depth | fields: level, qc, lat, type
Task: Fetch value from turbidity where reading is greater than the maximum of depth in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004247 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: reading, lat, value, unit
Sensor: snow_depth | fields: reading, lon, unit, qc
Task: Get lat from uv_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004248 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: unit, ts, lat, type
Sensor: lightning | fields: ts, qc, value, lat
Task: Fetch lon from turbidity where value is greater than the maximum of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004249 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: ts, reading, type, lon
Sensor: soil_moisture | fields: value, level, lon, reading
Task: Fetch reading 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="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004250 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lon, unit, lat
Sensor: turbidity | fields: reading, qc, value, depth
Task: Get lon from soil_moisture where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004251 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, ts, level, unit
Sensor: temperature | fields: lon, reading, value, level
Task: Fetch level from sunlight where qc exists in temperature sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004252 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: lat, depth, value, lon
Sensor: drought_index | fields: reading, ts, lat, level
Task: Retrieve lat from humidity that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004253 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, value, reading, type
Sensor: evaporation | fields: reading, lat, ts, qc
Task: Get lon from turbidity where reading exceeds the count of reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004254 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, value, qc, depth
Sensor: wind_speed | fields: ts, level, reading, qc
Task: Fetch lon from soil_moisture where unit exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004255 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: unit, reading, ts, level
Sensor: dew_point | fields: unit, lon, level, ts
Task: Retrieve depth from uv_index that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004256 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, level, type, reading
Sensor: lightning | fields: level, reading, lon, qc
Task: Get value from turbidity where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004257 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, reading, value, lon
Sensor: uv_index | fields: unit, value, lon, ts
Task: Get lat from humidity where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004258 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: depth, unit, lat, ts
Sensor: frost | fields: type, qc, reading, lat
Task: Fetch level from evaporation that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004259 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: unit, level, qc, lat
Sensor: frost | fields: depth, level, ts, lat
Task: Fetch lon from dew_point that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004260 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: level, reading, lat, lon
Sensor: turbidity | fields: value, lat, type, depth
Task: Fetch lon from evaporation that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004261 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: type, lat, ts, reading
Sensor: cloud_cover | fields: level, reading, qc, depth
Task: Retrieve reading from soil_moisture with depth above the SUM(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004262 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: type, reading, qc, depth
Sensor: sunlight | fields: reading, type, ts, level
Task: Fetch lat from dew_point where reading is greater than the count of of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004263 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: level, ts, unit, lon
Sensor: temperature | fields: lon, value, depth, lat
Task: Get lat from snow_depth where depth exceeds the minimum reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004264 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: lon, reading, qc, ts
Sensor: sunlight | fields: ts, level, lat, unit
Task: Get reading from turbidity where depth exceeds the count of depth from sunlight for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004265 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, lon, value, reading
Sensor: air_quality | fields: depth, lat, lon, level
Task: Get reading from wind_speed where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004266 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: unit, value, reading, lat
Sensor: sunlight | fields: depth, unit, lon, lat
Task: Get value from drought_index where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004267 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, qc, level, depth
Sensor: frost | fields: depth, lon, level, reading
Task: Fetch reading from soil_moisture where depth exists in frost sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004268 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: level, reading, ts, qc
Sensor: rainfall | fields: value, depth, qc, unit
Task: Retrieve lon from soil_moisture that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004269 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, ts, value, lat
Sensor: sunlight | fields: level, value, reading, depth
Task: Get depth from humidity where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004270 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: lat, value, depth, reading
Sensor: air_quality | fields: qc, lat, type, reading
Task: Retrieve reading from turbidity that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004271 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lat, qc, unit, lon
Sensor: rainfall | fields: level, unit, qc, value
Task: Fetch lon from pressure where unit exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004272 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, type, ts, qc
Sensor: pressure | fields: type, reading, lon, ts
Task: Get value from snow_depth where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004273 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: lat, reading, qc, type
Sensor: cloud_cover | fields: type, reading, unit, lat
Task: Get lon from visibility where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004274 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, type, depth, value
Sensor: soil_moisture | fields: type, lon, level, lat
Task: Fetch level from humidity where unit exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004275 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: qc, lat, level, lon
Sensor: uv_index | fields: lat, value, type, unit
Task: Fetch value from temperature that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004276 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, ts, type, depth
Sensor: sunlight | fields: ts, type, lat, unit
Task: Get value from soil_moisture where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004277 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: depth, unit, level, value
Sensor: sunlight | fields: lon, unit, depth, ts
Task: Fetch lon from dew_point where reading is greater than the average of value in sunlight for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004278 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: ts, qc, value, level
Sensor: visibility | fields: qc, lon, ts, lat
Task: Fetch reading from humidity where depth is greater than the minimum of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004279 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: qc, value, ts, type
Sensor: snow_depth | fields: unit, value, lon, depth
Task: Fetch lon from dew_point that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004280 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: ts, reading, qc, unit
Sensor: drought_index | fields: type, value, qc, level
Task: Fetch lon from lightning where ts exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004281 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, ts, value, reading
Sensor: sunlight | fields: lon, value, unit, reading
Task: Get level from visibility where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004282 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: value, lat, level, lon
Sensor: air_quality | fields: qc, type, lat, level
Task: Fetch lon from lightning where reading is greater than the average of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004283 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: qc, depth, ts, lon
Sensor: rainfall | fields: type, lat, qc, depth
Task: Retrieve lat from pressure whose type is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004284 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, type, level, value
Sensor: frost | fields: lat, value, depth, qc
Task: Fetch reading from drought_index where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004285 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, lon, reading, type
Sensor: cloud_cover | fields: lat, level, unit, type
Task: Fetch value from evaporation where depth is greater than the minimum of value in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004286 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, unit, value, qc
Sensor: humidity | fields: qc, type, depth, unit
Task: Fetch depth from lightning where qc exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004287 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, lat, reading, ts
Sensor: drought_index | fields: lat, depth, level, reading
Task: Retrieve lat from pressure with reading above the COUNT(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004288 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: qc, lat, ts, level
Sensor: drought_index | fields: ts, lon, lat, value
Task: Fetch lon from temperature where depth is greater than the average of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004289 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, reading, lat, ts
Sensor: air_quality | fields: reading, lon, value, unit
Task: Fetch lat from visibility where reading is greater than the maximum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004290 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lat, value, qc, level
Sensor: soil_moisture | fields: depth, reading, level, qc
Task: Fetch level from sunlight where value is greater than the count of of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004291 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, lat, qc, level
Sensor: sunlight | fields: ts, unit, level, type
Task: Retrieve value from lightning with depth above the COUNT(reading) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004292 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: ts, value, level, unit
Sensor: turbidity | fields: depth, ts, level, lon
Task: Get reading from frost where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004293 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, value, depth, lat
Sensor: dew_point | fields: type, depth, level, value
Task: Get reading from uv_index where qc appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004294 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: level, ts, depth, type
Sensor: sunlight | fields: ts, lon, lat, reading
Task: Get reading from pressure where depth exceeds the average reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004295 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: reading, unit, type, level
Sensor: soil_moisture | fields: level, type, depth, value
Task: Retrieve lon from drought_index that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004296 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, level, depth, value
Sensor: evaporation | fields: value, lon, lat, type
Task: Fetch level from dew_point that have at least one corresponding evaporation measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004297 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: lon, value, qc, reading
Sensor: wind_speed | fields: value, ts, depth, reading
Task: Retrieve reading from dew_point with depth above the AVG(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_004298 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, type, lat, unit
Sensor: snow_depth | fields: qc, reading, value, type
Task: Get level from uv_index where reading exceeds the average reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_004299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.