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: humidity | code: clr | fields: type, lat, level, ts
Sensor: sunlight | fields: lat, qc, value, lon
Task: Retrieve value from humidity that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001200 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, qc, lat, lon
Sensor: visibility | fields: lon, unit, reading, type
Task: Get depth from soil_moisture where value exceeds the total reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001201 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lon, lat, value, type
Sensor: turbidity | fields: depth, reading, value, ts
Task: Fetch level from air_quality where unit exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001202 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: value, lon, level, lat
Sensor: frost | fields: level, lon, depth, value
Task: Fetch lon from rainfall that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001203 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, reading, ts, value
Sensor: uv_index | fields: lat, unit, level, type
Task: Fetch reading from humidity where type exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001204 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, reading, lat, value
Sensor: frost | fields: lon, lat, type, qc
Task: Retrieve depth from air_quality with reading above the MIN(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001205 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: ts, type, qc, lon
Sensor: humidity | fields: lon, ts, depth, lat
Task: Retrieve value from rainfall that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001206 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: ts, depth, unit, lat
Sensor: uv_index | fields: ts, level, type, lat
Task: Fetch depth from cloud_cover where type exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001207 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, value, lon, type
Sensor: dew_point | fields: type, depth, unit, reading
Task: Fetch reading from cloud_cover where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001208 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: lon, reading, level, unit
Sensor: temperature | fields: lat, level, qc, reading
Task: Retrieve value from humidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001209 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, value, ts, level
Sensor: snow_depth | fields: value, ts, qc, lat
Task: Get depth from sunlight where unit appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001210 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, lon, ts, unit
Sensor: sunlight | fields: qc, value, unit, level
Task: Fetch reading from humidity where reading is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"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_001211 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, reading, type, depth
Sensor: pressure | fields: value, lon, type, reading
Task: Fetch level from wind_speed where qc exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001212 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, value, lat, unit
Sensor: rainfall | fields: reading, lat, lon, unit
Task: Get level from snow_depth where reading exceeds the minimum reading from rainfall for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001213 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: reading, depth, ts, level
Sensor: uv_index | fields: ts, level, unit, reading
Task: Get lon from drought_index where unit appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001214 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: qc, lon, depth, value
Sensor: pressure | fields: reading, lon, lat, ts
Task: Fetch depth from visibility that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001215 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, unit, level, lon
Sensor: dew_point | fields: value, reading, lat, qc
Task: Get lat from air_quality where reading exceeds the average depth from dew_point for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001216 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, value, lat, lon
Sensor: evaporation | fields: qc, ts, lat, level
Task: Get value from wind_speed where depth exceeds the total reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001217 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lat, depth, reading, unit
Sensor: wind_speed | fields: reading, depth, type, lon
Task: Get lat from humidity where depth exceeds the count of depth from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001218 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: ts, lon, lat, reading
Sensor: evaporation | fields: level, lat, value, ts
Task: Retrieve value from pressure that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001219 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, reading, level, value
Sensor: evaporation | fields: reading, depth, type, level
Task: Fetch level from air_quality that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001220 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, type, depth, lon
Sensor: turbidity | fields: unit, value, level, depth
Task: Get reading from drought_index where value exceeds the total depth from turbidity for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001221 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, lon, qc, type
Sensor: cloud_cover | fields: reading, lat, type, value
Task: Retrieve value from wind_speed with depth above the AVG(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001222 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, ts, lon, value
Sensor: pressure | fields: depth, value, lat, level
Task: Get lat from evaporation where ts appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001223 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: depth, qc, ts, type
Sensor: snow_depth | fields: value, qc, lat, reading
Task: Fetch reading from dew_point where qc exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001224 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: reading, level, depth, unit
Sensor: temperature | fields: level, unit, type, qc
Task: Get depth from drought_index where value exceeds the minimum reading from temperature for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001225 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: depth, type, unit, lat
Sensor: lightning | fields: ts, reading, level, lon
Task: Get lon from air_quality where value exceeds the total value from lightning for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001226 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, value, level, type
Sensor: lightning | fields: lat, depth, type, ts
Task: Get depth from rainfall where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001227 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, unit, qc, depth
Sensor: snow_depth | fields: level, type, reading, lat
Task: Get depth from wind_speed where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001228 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: unit, reading, level, ts
Sensor: humidity | fields: ts, depth, qc, type
Task: Retrieve value from frost whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001229 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, depth, qc, lat
Sensor: air_quality | fields: ts, value, depth, reading
Task: Fetch value from pressure that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001230 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, unit, depth, level
Sensor: soil_moisture | fields: level, lon, lat, depth
Task: Fetch value from drought_index that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001231 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: type, lat, level, unit
Sensor: pressure | fields: unit, value, lon, lat
Task: Fetch value from drought_index where value is greater than the count of of value in pressure for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001232 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: ts, depth, level, reading
Sensor: snow_depth | fields: ts, lat, qc, value
Task: Fetch lat from dew_point that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001233 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: value, level, reading, qc
Sensor: drought_index | fields: level, ts, unit, reading
Task: Retrieve lon from frost with depth above the SUM(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001234 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lat, qc, type, lon
Sensor: soil_moisture | fields: unit, depth, value, level
Task: Retrieve lat from dew_point that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001235 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: type, qc, unit, lon
Sensor: sunlight | fields: depth, level, ts, type
Task: Fetch reading from air_quality where qc exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001236 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lat, qc, type
Sensor: lightning | fields: unit, type, lon, reading
Task: Retrieve depth from uv_index whose ts is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001237 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, value, unit, ts
Sensor: sunlight | fields: value, type, reading, ts
Task: Retrieve lat from rainfall whose qc is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001238 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: value, lat, depth, lon
Sensor: pressure | fields: ts, level, unit, qc
Task: Get value from cloud_cover where reading exceeds the maximum value from pressure for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001239 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: lat, qc, ts, reading
Sensor: turbidity | fields: lat, depth, unit, reading
Task: Fetch reading from pressure that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001240 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, depth, reading, ts
Sensor: rainfall | fields: unit, qc, value, lat
Task: Fetch lat from visibility where depth is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001241 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, type, depth, value
Sensor: sunlight | fields: lon, level, type, ts
Task: Get lat from snow_depth where value exceeds the maximum reading from sunlight for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001242 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, qc, lat, value
Sensor: frost | fields: depth, reading, unit, qc
Task: Retrieve depth from snow_depth whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001243 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: level, ts, unit, qc
Sensor: pressure | fields: lon, type, depth, reading
Task: Retrieve value from rainfall that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001244 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, type, reading, level
Sensor: evaporation | fields: value, depth, lon, type
Task: Retrieve lon from lightning whose qc is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001245 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: unit, lat, value, level
Sensor: rainfall | fields: lon, depth, ts, level
Task: Fetch lon from evaporation where value is greater than the minimum of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001246 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: value, unit, lat, qc
Sensor: temperature | fields: value, reading, depth, lon
Task: Get lon from turbidity where reading exceeds the total depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001247 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, type, qc, lon
Sensor: dew_point | fields: level, lat, lon, type
Task: Fetch value from snow_depth where depth exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001248 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: qc, ts, depth, lat
Sensor: cloud_cover | fields: reading, type, unit, level
Task: Get value from air_quality where value exceeds the average reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001249 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: reading, lat, type, level
Sensor: temperature | fields: unit, lon, type, ts
Task: Retrieve reading from rainfall whose unit is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001250 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, qc, reading
Sensor: rainfall | fields: depth, type, level, unit
Task: Fetch level from turbidity where qc exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001251 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: lat, type, value, qc
Sensor: soil_moisture | fields: lon, qc, reading, type
Task: Retrieve lon from lightning with reading above the MIN(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001252 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: depth, ts, lon, type
Sensor: snow_depth | fields: reading, lat, value, depth
Task: Get reading from dew_point where value exceeds the count of depth from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001253 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: depth, unit, lon, level
Sensor: drought_index | fields: lon, reading, lat, type
Task: Fetch reading from air_quality where depth is greater than the maximum of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
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": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001254 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, qc, lat, unit
Sensor: evaporation | fields: lon, ts, value, unit
Task: Fetch level from frost where depth exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001255 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: level, lon, type, lat
Sensor: lightning | fields: lat, value, lon, ts
Task: Get level from turbidity where value exceeds the maximum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001256 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: depth, lon, ts, level
Sensor: cloud_cover | fields: type, qc, level, lon
Task: Retrieve depth from rainfall that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001257 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, type, qc, depth
Sensor: humidity | fields: unit, value, qc, type
Task: Fetch lat from temperature that have at least one corresponding humidity measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001258 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lat, unit, lon, ts
Sensor: lightning | fields: lat, ts, qc, depth
Task: Fetch reading from drought_index where value is greater than the average of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001259 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: lat, reading, lon, value
Sensor: air_quality | fields: type, unit, ts, qc
Task: Retrieve value from pressure whose ts is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001260 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: unit, lon, qc, lat
Sensor: wind_speed | fields: depth, ts, lon, level
Task: Retrieve reading from lightning whose type is found in wind_speed records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001261 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, lat, qc, ts
Sensor: soil_moisture | fields: depth, unit, ts, lat
Task: Fetch value from uv_index where qc exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001262 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, value, depth, type
Sensor: wind_speed | fields: lat, type, qc, depth
Task: Get lat from air_quality where depth appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001263 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lat, type, ts, unit
Sensor: drought_index | fields: lon, ts, level, qc
Task: Retrieve value from air_quality that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001264 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: value, reading, unit, lon
Sensor: dew_point | fields: ts, lat, type, depth
Task: Fetch level from lightning that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001265 | train |
v2 | Sensor network script:
Node: turbidity | code: prt | fields: depth, lon, type, value
Sensor: snow_depth | fields: unit, lon, lat, qc
Task: Fetch lon from turbidity that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001266 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: unit, type, depth, lon
Sensor: drought_index | fields: level, qc, unit, ts
Task: Get reading from rainfall where ts appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001267 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: reading, ts, lat, level
Sensor: visibility | fields: reading, value, unit, lon
Task: Get reading from uv_index where a corresponding entry exists in visibility with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001268 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, unit, lat, type
Sensor: temperature | fields: qc, lat, depth, reading
Task: Fetch lon from evaporation where value is greater than the count of of value in temperature for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001269 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lat, lon, unit, depth
Sensor: visibility | fields: depth, lat, value, ts
Task: Retrieve depth from evaporation with value above the AVG(reading) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001270 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: unit, type, level, lon
Sensor: temperature | fields: depth, type, lon, lat
Task: Retrieve reading from air_quality whose ts is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001271 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: unit, lat, level, ts
Sensor: air_quality | fields: value, level, unit, qc
Task: Get value from dew_point where value exceeds the average reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001272 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lon, depth, unit, value
Sensor: dew_point | fields: lon, unit, value, lat
Task: Fetch value from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001273 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, level, reading, depth
Sensor: pressure | fields: level, lon, lat, ts
Task: Fetch level from evaporation where qc exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001274 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: value, type, level, ts
Sensor: snow_depth | fields: lon, depth, qc, value
Task: Retrieve level from visibility that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001275 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: level, type, lon, ts
Sensor: lightning | fields: unit, type, ts, qc
Task: Fetch reading from drought_index where value is greater than the total of depth in lightning for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001276 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, reading, level, lat
Sensor: turbidity | fields: qc, type, level, reading
Task: Get depth from dew_point where a corresponding entry exists in turbidity with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001277 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, depth, qc, type
Sensor: evaporation | fields: level, lat, lon, value
Task: Get value from wind_speed where a corresponding entry exists in evaporation with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001278 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: type, lon, reading, unit
Sensor: cloud_cover | fields: reading, depth, level, lon
Task: Get lon from turbidity where a corresponding entry exists in cloud_cover with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001279 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: depth, lat, type, level
Sensor: wind_speed | fields: ts, type, reading, value
Task: Fetch reading from drought_index where depth is greater than the minimum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001280 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: level, type, ts, unit
Sensor: pressure | fields: lat, ts, level, lon
Task: Fetch value from lightning where depth exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001281 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: qc, reading, level, unit
Sensor: sunlight | fields: qc, lat, reading, ts
Task: Fetch value from uv_index where type exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001282 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: level, value, reading, lat
Sensor: snow_depth | fields: unit, value, level, reading
Task: Fetch reading from humidity where value is greater than the average of depth in snow_depth for matching type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001283 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: reading, lat, unit, type
Sensor: turbidity | fields: reading, ts, lon, qc
Task: Get lat from humidity where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001284 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, depth, type, unit
Sensor: uv_index | fields: lon, level, depth, reading
Task: Retrieve reading from sunlight with value above the MAX(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001285 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, ts, value, unit
Sensor: air_quality | fields: reading, unit, lon, value
Task: Get reading from lightning where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001286 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: type, lat, lon, level
Sensor: lightning | fields: reading, qc, unit, lat
Task: Retrieve lat from air_quality with value above the MIN(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001287 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, qc, depth, lon
Sensor: dew_point | fields: depth, ts, lon, unit
Task: Get lat from cloud_cover where unit appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001288 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, lon, ts, unit
Sensor: drought_index | fields: value, unit, qc, lat
Task: Retrieve reading from frost that have at least one matching reading in drought_index sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001289 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, value, ts, lon
Sensor: rainfall | fields: lon, lat, value, type
Task: Get depth from humidity where a corresponding entry exists in rainfall with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001290 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: type, reading, lat, lon
Sensor: humidity | fields: value, level, type, reading
Task: Get value from temperature where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001291 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: reading, qc, unit, level
Sensor: sunlight | fields: type, lat, value, ts
Task: Retrieve reading from turbidity that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001292 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: type, ts, unit, lat
Sensor: turbidity | fields: lat, type, value, ts
Task: Fetch lon from frost where depth is greater than the maximum of value in turbidity for matching ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001293 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: qc, level, unit, value
Sensor: turbidity | fields: reading, type, level, value
Task: Retrieve level from visibility whose type is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001294 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, qc, lon, level
Sensor: soil_moisture | fields: qc, unit, lat, value
Task: Get reading from wind_speed where unit appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001295 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: reading, lon, lat, unit
Sensor: wind_speed | fields: depth, ts, lon, unit
Task: Get level from cloud_cover where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001296 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: value, unit, qc, lon
Sensor: pressure | fields: lon, value, qc, ts
Task: Retrieve lat from sunlight whose depth is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001297 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: qc, lon, value, level
Sensor: cloud_cover | fields: reading, depth, qc, type
Task: Retrieve level from frost that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001298 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, unit, depth, qc
Sensor: cloud_cover | fields: type, level, lon, lat
Task: Retrieve value from lightning that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.