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: soil_moisture | code: ref | fields: type, depth, unit, level
Sensor: visibility | fields: lat, value, qc, level
Task: Retrieve value from soil_moisture that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073400 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, type, level, ts
Sensor: dew_point | fields: lon, type, qc, ts
Task: Fetch lat from evaporation that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073401 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: qc, level, unit, ts
Sensor: dew_point | fields: ts, lon, qc, unit
Task: Retrieve depth from humidity whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073402 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: qc, type, ts, lon
Sensor: pressure | fields: lat, type, unit, lon
Task: Get reading from drought_index where qc appears in pressure readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073403 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: type, value, qc, reading
Sensor: evaporation | fields: reading, lon, level, type
Task: Retrieve depth from snow_depth whose unit is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073404 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: unit, value, qc, lon
Sensor: wind_speed | fields: lat, depth, qc, reading
Task: Retrieve level from humidity whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073405 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: unit, depth, lon, lat
Sensor: snow_depth | fields: level, lat, ts, depth
Task: Get value from visibility where value exceeds the maximum reading from snow_depth for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073406 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: depth, level, lat, lon
Sensor: visibility | fields: lon, value, depth, unit
Task: Retrieve value from sunlight that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073407 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, qc, type, ts
Sensor: turbidity | fields: value, lat, level, lon
Task: Fetch lon from temperature where reading is greater than the maximum of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073408 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: lon, ts, unit, reading
Sensor: turbidity | fields: lon, unit, type, lat
Task: Fetch lon from humidity where reading is greater than the count of of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073409 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: lon, ts, lat, type
Sensor: sunlight | fields: depth, unit, reading, lat
Task: Fetch lon from pressure where ts exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073410 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lat, value, ts, qc
Sensor: turbidity | fields: qc, unit, value, ts
Task: Fetch depth from visibility where reading is greater than the count of of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073411 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, reading, ts, qc
Sensor: sunlight | fields: depth, level, lat, value
Task: Get reading from soil_moisture where qc appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073412 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: lon, type, depth, level
Sensor: frost | fields: reading, ts, qc, depth
Task: Retrieve reading from visibility with reading above the MAX(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073413 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: level, type, ts, lon
Sensor: humidity | fields: unit, level, reading, ts
Task: Retrieve depth from turbidity whose unit is found in humidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073414 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: ts, value, level, depth
Sensor: wind_speed | fields: depth, unit, lat, ts
Task: Retrieve depth from rainfall with value above the COUNT(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073415 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, qc, reading, lon
Sensor: air_quality | fields: lat, unit, lon, ts
Task: Fetch depth from wind_speed that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073416 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, depth, reading, value
Sensor: cloud_cover | fields: unit, type, lat, level
Task: Get depth from humidity where reading exceeds the average reading from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073417 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, lat, lon
Sensor: drought_index | fields: value, reading, unit, lat
Task: Retrieve lat from sunlight that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073418 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, qc, reading, ts
Sensor: sunlight | fields: value, level, lon, reading
Task: Retrieve value from drought_index with value above the COUNT(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073419 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: lat, level, ts, unit
Sensor: wind_speed | fields: lat, ts, value, depth
Task: Get lat from uv_index where depth exceeds the average depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073420 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, lon, qc
Sensor: rainfall | fields: lon, qc, depth, ts
Task: Get level from cloud_cover where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073421 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, level, unit, type
Sensor: turbidity | fields: level, unit, ts, lon
Task: Retrieve lat from pressure whose depth is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073422 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: lat, reading, depth, lon
Sensor: rainfall | fields: depth, level, type, reading
Task: Retrieve lon from sunlight with reading above the MAX(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073423 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, depth, reading, qc
Sensor: pressure | fields: level, ts, type, unit
Task: Fetch lat from soil_moisture where depth is greater than the average of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073424 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, lon, reading, value
Sensor: frost | fields: ts, level, unit, type
Task: Retrieve lat from visibility with reading above the COUNT(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073425 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, ts, level, type
Sensor: air_quality | fields: depth, reading, qc, lon
Task: Fetch value from evaporation that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073426 | train |
v3 | Sensor network script:
Node: temperature | code: clr | fields: reading, lat, value, level
Sensor: snow_depth | fields: value, qc, unit, ts
Task: Retrieve reading from temperature with value above the COUNT(depth) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073427 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: unit, ts, lat, reading
Sensor: air_quality | fields: reading, value, depth, unit
Task: Retrieve reading from snow_depth that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073428 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, depth, lat, level
Sensor: lightning | fields: depth, type, reading, ts
Task: Get lat from soil_moisture where qc appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073429 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: unit, level, type, ts
Sensor: pressure | fields: value, depth, type, lat
Task: Retrieve level from snow_depth with depth above the MIN(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073430 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, depth, ts, lon
Sensor: visibility | fields: ts, lon, type, unit
Task: Get level from soil_moisture where depth exceeds the total reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073431 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: type, value, lon, level
Sensor: temperature | fields: unit, type, depth, level
Task: Get lon from rainfall where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073432 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: reading, lon, ts, value
Sensor: air_quality | fields: depth, type, ts, qc
Task: Get reading from humidity where reading exceeds the average reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073433 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lon, depth, ts, qc
Sensor: turbidity | fields: ts, lon, level, lat
Task: Fetch reading from humidity that have at least one corresponding turbidity measurement for 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_073434 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: ts, type, lat, qc
Sensor: rainfall | fields: ts, unit, value, reading
Task: Retrieve level from sunlight whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073435 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: reading, ts, qc, lon
Sensor: turbidity | fields: lat, value, unit, level
Task: Get level from humidity where depth appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073436 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lon, qc, unit, ts
Sensor: humidity | fields: type, value, lon, ts
Task: Get depth from temperature where value exceeds the minimum reading from humidity for the same type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073437 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, reading, lat, type
Sensor: soil_moisture | fields: qc, ts, level, value
Task: Retrieve depth from snow_depth with reading above the MIN(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073438 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: lon, unit, level, depth
Sensor: evaporation | fields: depth, lat, unit, reading
Task: Retrieve level from cloud_cover with reading above the MAX(reading) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073439 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: value, depth, qc, ts
Sensor: wind_speed | fields: qc, level, type, depth
Task: Get value from frost where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073440 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: depth, level, type, value
Sensor: lightning | fields: level, type, ts, lat
Task: Get level from turbidity where depth exceeds the minimum value from lightning for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073441 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, reading, qc, level
Sensor: evaporation | fields: lat, reading, value, ts
Task: Fetch depth from pressure where type exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073442 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lon, type, level, depth
Sensor: pressure | fields: depth, level, unit, ts
Task: Retrieve level from evaporation whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073443 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, type, level, ts
Sensor: cloud_cover | fields: lon, value, qc, level
Task: Get depth from lightning where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073444 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, lon, type, ts
Sensor: visibility | fields: ts, level, qc, unit
Task: Fetch lon from sunlight where value is greater than the maximum of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073445 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: value, ts, type, qc
Sensor: frost | fields: value, ts, unit, depth
Task: Retrieve depth from evaporation that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073446 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: ts, level, lon, unit
Sensor: cloud_cover | fields: type, depth, qc, level
Task: Fetch value from rainfall that have at least one corresponding cloud_cover measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073447 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, ts, type, value
Sensor: uv_index | fields: lon, depth, level, value
Task: Retrieve lon from soil_moisture that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073448 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: reading, qc, lat, value
Sensor: uv_index | fields: lon, depth, level, type
Task: Fetch value from drought_index that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073449 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: reading, lon, qc, ts
Sensor: uv_index | fields: value, qc, unit, lat
Task: Fetch reading from wind_speed where qc exists in uv_index sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073450 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: type, reading, value, lat
Sensor: rainfall | fields: value, lat, type, level
Task: Get value from evaporation where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073451 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, value, ts, type
Sensor: visibility | fields: level, unit, type, lon
Task: Get value from snow_depth where reading exceeds the average value from visibility for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073452 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: unit, depth, qc, lat
Sensor: soil_moisture | fields: qc, ts, lat, reading
Task: Retrieve lon from snow_depth whose ts is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073453 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: unit, ts, lat, qc
Sensor: soil_moisture | fields: ts, lat, unit, level
Task: Fetch lat from turbidity that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073454 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, unit, lon, level
Sensor: air_quality | fields: type, depth, qc, value
Task: Retrieve lon from temperature that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073455 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: type, reading, unit, lat
Sensor: turbidity | fields: lat, level, qc, ts
Task: Retrieve reading from visibility with value above the MAX(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073456 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, unit, value, lon
Sensor: frost | fields: ts, value, level, unit
Task: Fetch level from wind_speed where depth is greater than the minimum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"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_073457 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: reading, depth, unit, value
Sensor: rainfall | fields: depth, qc, unit, value
Task: Get lon from soil_moisture where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073458 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: qc, value, lat, reading
Sensor: rainfall | fields: lat, lon, ts, reading
Task: Fetch value from drought_index that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073459 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lat, type, level, lon
Sensor: pressure | fields: unit, type, lat, ts
Task: Fetch reading from air_quality where qc exists in pressure sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073460 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, reading, qc, level
Sensor: wind_speed | fields: unit, reading, depth, qc
Task: Fetch lon from drought_index where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073461 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lon, type, level, reading
Sensor: snow_depth | fields: value, reading, ts, type
Task: Get reading from dew_point where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"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_073462 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: depth, ts, lon, lat
Sensor: evaporation | fields: lon, value, ts, depth
Task: Retrieve reading from air_quality with value above the AVG(value) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073463 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, unit, level, ts
Sensor: temperature | fields: unit, lon, level, value
Task: Get depth from soil_moisture where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073464 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, level, qc, reading
Sensor: rainfall | fields: unit, ts, level, lon
Task: Get depth from uv_index where unit appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073465 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: unit, reading, ts, value
Sensor: uv_index | fields: lon, depth, type, value
Task: Get depth from drought_index where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073466 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: ts, type, value, qc
Sensor: turbidity | fields: lon, type, level, value
Task: Retrieve depth from dew_point with reading above the COUNT(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"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_073467 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, reading, qc
Sensor: uv_index | fields: lon, level, value, unit
Task: Fetch lat from lightning where ts exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073468 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: reading, value, ts, lon
Sensor: drought_index | fields: value, type, depth, ts
Task: Fetch lon from temperature that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073469 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: type, ts, lat, lon
Sensor: turbidity | fields: lon, type, depth, reading
Task: Fetch reading from frost where ts exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073470 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: ts, qc, lon, unit
Sensor: air_quality | fields: type, qc, lon, depth
Task: Retrieve lat from drought_index with value above the MIN(depth) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073471 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lat, level, depth, qc
Sensor: visibility | fields: lat, level, depth, type
Task: Get lon from dew_point where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073472 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, reading, type, level
Sensor: cloud_cover | fields: level, lon, lat, unit
Task: Retrieve lon from wind_speed with value above the SUM(reading) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073473 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: level, ts, unit, type
Sensor: evaporation | fields: depth, value, lon, qc
Task: Fetch depth from lightning where depth is greater than the minimum of depth in evaporation for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073474 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, type, depth, reading
Sensor: pressure | fields: qc, depth, ts, value
Task: Get reading from visibility where reading exceeds the count of depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073475 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: type, qc, unit, level
Sensor: humidity | fields: unit, value, ts, qc
Task: Get lat from uv_index where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073476 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: lon, unit, depth, lat
Sensor: uv_index | fields: type, level, unit, reading
Task: Get level from cloud_cover where ts appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073477 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, lon, lat
Sensor: turbidity | fields: unit, lon, depth, qc
Task: Get depth from drought_index where value exceeds the total value from turbidity for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073478 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: reading, depth, unit, value
Sensor: sunlight | fields: level, type, reading, lat
Task: Fetch lon from rainfall where depth is greater than the minimum of value in sunlight for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073479 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: level, value, depth, lon
Sensor: cloud_cover | fields: unit, depth, lon, reading
Task: Get lat from snow_depth where reading exceeds the average depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073480 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: unit, depth, qc, ts
Sensor: temperature | fields: value, lon, reading, qc
Task: Retrieve level from lightning whose qc is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073481 | train |
v2 | Sensor network script:
Node: sunlight | code: stn | fields: ts, level, reading, lat
Sensor: pressure | fields: unit, depth, lon, value
Task: Retrieve lon from sunlight that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073482 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, value, type, unit
Sensor: turbidity | fields: lat, reading, lon, type
Task: Get depth from cloud_cover where depth exceeds the total value from turbidity for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073483 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, depth, reading, lon
Sensor: turbidity | fields: level, depth, reading, lat
Task: Retrieve level from drought_index that have at least one matching reading in turbidity sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073484 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, level, qc, type
Sensor: wind_speed | fields: lat, depth, level, lon
Task: Fetch lat from pressure that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073485 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: level, lat, type, lon
Sensor: wind_speed | fields: level, lon, ts, depth
Task: Get level from uv_index where type appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073486 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lon, qc, lat, type
Sensor: snow_depth | fields: unit, lat, ts, depth
Task: Fetch lon from frost that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073487 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, reading, type
Sensor: wind_speed | fields: ts, lat, type, qc
Task: Retrieve reading from cloud_cover whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073488 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: qc, lat, level, value
Sensor: air_quality | fields: value, lat, reading, depth
Task: Fetch level from frost that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073489 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lon, qc, value
Sensor: sunlight | fields: ts, lon, lat, type
Task: Fetch value from soil_moisture that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073490 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: lon, level, value, ts
Sensor: soil_moisture | fields: unit, lon, type, qc
Task: Fetch depth from temperature where depth is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073491 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: ts, reading, lon, value
Sensor: temperature | fields: unit, value, ts, level
Task: Fetch lat from dew_point where depth is greater than the count of of depth in temperature for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073492 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: depth, qc, type, lon
Sensor: humidity | fields: qc, reading, value, depth
Task: Get depth from pressure where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073493 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: depth, lat, qc, level
Sensor: lightning | fields: qc, level, value, reading
Task: Retrieve level from sunlight that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073494 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: depth, unit, ts, lon
Sensor: humidity | fields: lon, lat, value, type
Task: Fetch lon from turbidity where ts exists in humidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073495 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: depth, level, unit, value
Sensor: pressure | fields: depth, unit, value, level
Task: Retrieve reading from lightning that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073496 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, value, reading, level
Sensor: temperature | fields: reading, value, ts, lon
Task: Retrieve value from drought_index whose qc is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073497 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, depth, reading, ts
Sensor: humidity | fields: value, unit, lon, depth
Task: Fetch lon from snow_depth where depth is greater than the count of of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_073498 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, value, depth, ts
Sensor: wind_speed | fields: depth, qc, reading, ts
Task: Get lat from evaporation where value exceeds the minimum value from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_073499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.