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: turbidity | code: gst | fields: level, lon, ts, reading
Sensor: uv_index | fields: reading, lon, depth, unit
Task: Fetch lon from turbidity that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043500 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, type, ts, reading
Sensor: soil_moisture | fields: lon, qc, type, ts
Task: Get value from cloud_cover where depth exceeds the minimum value from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043501 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: qc, lat, value, lon
Sensor: sunlight | fields: level, unit, reading, qc
Task: Get lon from drought_index where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043502 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: reading, ts, depth, value
Sensor: turbidity | fields: type, depth, qc, value
Task: Fetch depth from air_quality where reading is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043503 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, depth, ts, value
Sensor: humidity | fields: qc, type, lon, value
Task: Fetch reading from lightning where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043504 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, unit, value, lon
Sensor: snow_depth | fields: type, level, ts, depth
Task: Get level from soil_moisture where reading exceeds the minimum value from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043505 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, level, qc, reading
Sensor: air_quality | fields: reading, lon, ts, lat
Task: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043506 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, value, lon, unit
Sensor: temperature | fields: unit, type, depth, value
Task: Retrieve level from evaporation with depth above the MAX(reading) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043507 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, value, ts, unit
Sensor: air_quality | fields: reading, ts, lat, value
Task: Retrieve lat from uv_index with depth above the MAX(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043508 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: ts, lon, lat, qc
Sensor: drought_index | fields: qc, lon, reading, type
Task: Get lon from cloud_cover where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043509 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: lat, lon, depth, value
Sensor: pressure | fields: value, reading, type, qc
Task: Get level from temperature where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043510 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lat, depth, lon, value
Sensor: pressure | fields: ts, level, reading, qc
Task: Fetch reading from visibility that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043511 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: lon, unit, lat, reading
Sensor: snow_depth | fields: lat, lon, value, reading
Task: Fetch reading from rainfall where depth is greater than the average of reading in snow_depth for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043512 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, ts, qc, value
Sensor: cloud_cover | fields: lon, depth, lat, type
Task: Retrieve lat from wind_speed whose type is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043513 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: level, qc, ts, value
Sensor: wind_speed | fields: ts, depth, qc, value
Task: Fetch reading from snow_depth where value is greater than the average of value in wind_speed for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043514 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: reading, qc, level, lon
Sensor: evaporation | fields: value, unit, depth, level
Task: Fetch level from turbidity where depth exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043515 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lat, lon, level, ts
Sensor: wind_speed | fields: ts, lat, level, type
Task: Retrieve lat from temperature whose qc is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043516 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: value, ts, qc, depth
Sensor: snow_depth | fields: value, depth, unit, type
Task: Get depth from evaporation where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043517 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, level, unit, lat
Sensor: drought_index | fields: value, lat, type, reading
Task: Get value from frost where value exceeds the maximum depth from drought_index for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043518 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: level, reading, depth, value
Sensor: turbidity | fields: type, level, lat, qc
Task: Get reading from humidity where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043519 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: unit, qc, lat, type
Sensor: dew_point | fields: unit, ts, type, depth
Task: Fetch lat from humidity where value is greater than the count of of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043520 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, ts, level, unit
Sensor: drought_index | fields: lat, value, lon, qc
Task: Get depth from evaporation where reading exceeds the maximum value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043521 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, lat, type, qc
Sensor: uv_index | fields: type, lat, unit, value
Task: Fetch level from wind_speed where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043522 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, lon, unit, level
Sensor: wind_speed | fields: type, qc, lon, unit
Task: Get depth from temperature where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043523 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, ts, reading, lat
Sensor: wind_speed | fields: lat, level, depth, reading
Task: Get lat from soil_moisture where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043524 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: depth, lon, type, lat
Sensor: uv_index | fields: value, depth, type, ts
Task: Retrieve lat from frost whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043525 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, unit, lon, depth
Sensor: wind_speed | fields: qc, lat, value, unit
Task: Retrieve lat from uv_index whose ts is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043526 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, level, reading, type
Sensor: soil_moisture | fields: qc, unit, ts, value
Task: Get lat from evaporation where reading exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043527 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: type, lat, unit, depth
Sensor: rainfall | fields: unit, type, depth, ts
Task: Fetch lat from temperature that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043528 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, lon, value, level
Sensor: soil_moisture | fields: depth, type, reading, level
Task: Get value from turbidity where depth appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043529 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, lon, qc, depth
Sensor: frost | fields: ts, unit, qc, level
Task: Get lon from snow_depth where ts appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043530 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, level, reading, type
Sensor: humidity | fields: lat, ts, reading, type
Task: Retrieve reading from soil_moisture whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043531 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: qc, depth, unit, lat
Sensor: evaporation | fields: value, type, unit, reading
Task: Fetch reading from visibility where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043532 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, qc, level, lon
Sensor: humidity | fields: value, lon, depth, reading
Task: Get value from soil_moisture where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043533 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, level, type, value
Sensor: temperature | fields: level, type, qc, depth
Task: Get level from soil_moisture where reading exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043534 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, reading, qc, lat
Sensor: turbidity | fields: depth, value, unit, type
Task: Fetch level from drought_index where depth is greater than the average of value in turbidity for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043535 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: lon, lat, qc, reading
Sensor: cloud_cover | fields: type, value, qc, reading
Task: Retrieve lat from evaporation whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043536 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: reading, unit, value, level
Sensor: snow_depth | fields: qc, depth, type, lon
Task: Retrieve lat from evaporation with value above the AVG(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043537 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, ts, level, qc
Sensor: wind_speed | fields: level, value, reading, qc
Task: Retrieve value from pressure with value above the MAX(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043538 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, lat, reading, lon
Sensor: uv_index | fields: level, lon, ts, unit
Task: Fetch depth from visibility where value is greater than the minimum of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043539 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, lat, depth, unit
Sensor: air_quality | fields: depth, qc, type, value
Task: Fetch reading from frost that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043540 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: type, qc, ts, reading
Sensor: temperature | fields: value, lat, reading, level
Task: Fetch depth from lightning where reading is greater than the maximum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043541 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: value, qc, lat, lon
Sensor: wind_speed | fields: unit, depth, type, reading
Task: Fetch depth from turbidity that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043542 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, lat, level, depth
Sensor: humidity | fields: lat, qc, ts, type
Task: Retrieve lat from visibility that have at least one matching reading in humidity sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043543 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: unit, value, lat, level
Sensor: uv_index | fields: lat, value, lon, ts
Task: Get lon from rainfall where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043544 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: value, lat, unit, level
Sensor: cloud_cover | fields: qc, value, type, reading
Task: Fetch depth from rainfall that have at least one corresponding cloud_cover measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043545 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: ts, lon, unit, qc
Sensor: sunlight | fields: qc, ts, lon, value
Task: Get depth from rainfall where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043546 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, depth, reading, lat
Sensor: frost | fields: unit, value, reading, level
Task: Retrieve level from dew_point with depth above the MAX(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043547 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lat, qc, lon, type
Sensor: drought_index | fields: level, depth, reading, value
Task: Fetch lat from cloud_cover where unit exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043548 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: unit, level, qc, lat
Sensor: air_quality | fields: reading, lat, value, qc
Task: Retrieve level from visibility whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043549 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, level, lon, reading
Sensor: humidity | fields: unit, reading, qc, lon
Task: Fetch value from uv_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043550 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: reading, unit, lat, level
Sensor: rainfall | fields: lon, reading, lat, qc
Task: Retrieve value from air_quality with depth above the MIN(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043551 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, type, unit, depth
Sensor: dew_point | fields: depth, lat, lon, qc
Task: Retrieve level from air_quality that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043552 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: level, lat, reading, unit
Sensor: sunlight | fields: value, lat, lon, depth
Task: Retrieve level from pressure whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043553 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, lat, lon, reading
Sensor: drought_index | fields: qc, type, unit, lat
Task: Retrieve reading from air_quality with depth above the MAX(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043554 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lat, level, type
Sensor: soil_moisture | fields: level, value, ts, type
Task: Get value from wind_speed where reading exceeds the total reading from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043555 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, level, qc, reading
Sensor: evaporation | fields: type, reading, value, lat
Task: Retrieve level from visibility with depth above the COUNT(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043556 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, qc, depth, lon
Sensor: wind_speed | fields: unit, depth, level, lon
Task: Get value from air_quality where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043557 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: qc, type, unit, value
Sensor: soil_moisture | fields: lon, qc, reading, type
Task: Retrieve level from wind_speed with value above the COUNT(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043558 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, lat, reading, level
Sensor: snow_depth | fields: lat, unit, ts, depth
Task: Fetch reading from wind_speed that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043559 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, value, reading, depth
Sensor: drought_index | fields: level, type, unit, ts
Task: Retrieve level from cloud_cover with depth above the COUNT(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043560 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: lon, level, lat, qc
Sensor: temperature | fields: unit, reading, type, depth
Task: Get reading from turbidity where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043561 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: reading, type, ts, depth
Sensor: visibility | fields: lat, depth, value, lon
Task: Fetch lon from dew_point where depth is greater than the total of reading in visibility for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043562 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, value, lon, depth
Sensor: sunlight | fields: lat, qc, ts, type
Task: Retrieve reading from uv_index with depth above the COUNT(value) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043563 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: qc, depth, ts, unit
Sensor: turbidity | fields: value, level, lon, unit
Task: Retrieve lon from humidity whose qc is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043564 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, lon, unit
Sensor: wind_speed | fields: reading, qc, type, depth
Task: Fetch reading from drought_index where depth is greater than the maximum of value in wind_speed for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043565 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: lat, value, reading, ts
Sensor: air_quality | fields: lon, value, depth, level
Task: Fetch level from rainfall where type exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043566 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, depth, qc, reading
Sensor: rainfall | fields: level, depth, unit, reading
Task: Retrieve depth from cloud_cover with reading above the COUNT(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043567 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, type, ts, reading
Sensor: uv_index | fields: qc, value, type, unit
Task: Fetch level from humidity that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043568 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: value, depth, qc, lon
Sensor: snow_depth | fields: ts, level, type, lon
Task: Fetch reading from lightning that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043569 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, lon, unit, qc
Sensor: dew_point | fields: value, reading, lat, lon
Task: Fetch reading from wind_speed where value is greater than the minimum of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043570 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: depth, lat, reading, ts
Sensor: wind_speed | fields: lon, type, value, unit
Task: Get reading from snow_depth where qc appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043571 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, depth, lat, lon
Sensor: wind_speed | fields: lon, depth, level, reading
Task: Retrieve reading from cloud_cover with reading above the AVG(reading) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043572 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: level, lon, qc, type
Sensor: dew_point | fields: unit, type, ts, lon
Task: Get value from frost where reading exceeds the average value from dew_point for the same unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043573 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: depth, value, lat, lon
Sensor: snow_depth | fields: ts, reading, qc, level
Task: Retrieve value from dew_point that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043574 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, qc, ts, lon
Sensor: frost | fields: ts, qc, level, value
Task: Get value from wind_speed where unit appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043575 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, lon, reading, lat
Sensor: evaporation | fields: value, depth, type, lon
Task: Retrieve depth from air_quality whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043576 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, qc, lat, unit
Sensor: wind_speed | fields: type, lat, unit, depth
Task: Get value from soil_moisture where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043577 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, unit, lon, ts
Sensor: cloud_cover | fields: type, lon, ts, lat
Task: Retrieve reading from air_quality that have at least one matching reading in cloud_cover sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043578 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, level, lat, type
Sensor: pressure | fields: qc, lat, type, depth
Task: Retrieve depth from rainfall that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043579 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, ts, type, lat
Sensor: snow_depth | fields: type, reading, lat, lon
Task: Get level from pressure where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043580 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: unit, type, lat, qc
Sensor: soil_moisture | fields: value, lon, reading, ts
Task: Retrieve reading from pressure with reading above the AVG(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043581 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: level, lat, reading, ts
Sensor: drought_index | fields: depth, level, lon, type
Task: Retrieve reading from humidity whose ts is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043582 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: level, qc, lat, lon
Sensor: drought_index | fields: level, unit, lat, ts
Task: Fetch reading from pressure where value is greater than the maximum of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043583 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: value, unit, qc, reading
Sensor: uv_index | fields: value, depth, type, lat
Task: Get depth from cloud_cover where unit appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043584 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, ts, unit, lon
Sensor: air_quality | fields: type, level, unit, depth
Task: Retrieve level from humidity whose qc is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
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",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043585 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, level, lon, qc
Sensor: air_quality | fields: lat, ts, qc, reading
Task: Retrieve reading from rainfall with value above the AVG(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043586 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: depth, ts, unit, qc
Sensor: drought_index | fields: qc, unit, type, lon
Task: Get depth from dew_point where type appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043587 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: value, lat, depth, reading
Sensor: air_quality | fields: reading, value, ts, depth
Task: Retrieve lon from wind_speed whose depth is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043588 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, ts, lon, reading
Sensor: pressure | fields: level, qc, lon, value
Task: Get depth from dew_point where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043589 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, level, ts, lat
Sensor: cloud_cover | fields: value, depth, ts, type
Task: Fetch reading from drought_index that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043590 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: qc, unit, lon, value
Sensor: dew_point | fields: ts, lat, type, depth
Task: Get lat from visibility where qc appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043591 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lat, lon, depth, value
Sensor: temperature | fields: qc, ts, value, reading
Task: Get reading from soil_moisture where type appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043592 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, lon, lat, reading
Sensor: sunlight | fields: level, value, depth, type
Task: Fetch level from snow_depth that have at least one corresponding sunlight measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043593 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, unit, qc, lon
Sensor: temperature | fields: qc, depth, lon, lat
Task: Retrieve lon from sunlight whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043594 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: qc, value, lat, type
Sensor: soil_moisture | fields: depth, lat, unit, value
Task: Fetch reading from air_quality where depth is greater than the minimum of value in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043595 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, value, lat, lon
Sensor: evaporation | fields: reading, type, lon, unit
Task: Retrieve reading from visibility whose type is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043596 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: type, qc, lat, reading
Sensor: soil_moisture | fields: value, qc, unit, lat
Task: Fetch value from cloud_cover where reading is greater than the minimum of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043597 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, reading, type, depth
Sensor: cloud_cover | fields: level, lon, lat, reading
Task: Get value from wind_speed where qc appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043598 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, unit, lat, value
Sensor: soil_moisture | fields: reading, ts, unit, level
Task: Fetch level from rainfall where unit exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.