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: dew_point | code: ref | fields: level, value, type, lat
Sensor: snow_depth | fields: lat, value, unit, lon
Task: Fetch depth from dew_point that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021700 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, lat, level, qc
Sensor: lightning | fields: value, reading, level, ts
Task: Fetch level from snow_depth where depth is greater than the count of of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021701 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, lat, lon, reading
Sensor: air_quality | fields: depth, qc, lon, ts
Task: Retrieve reading from rainfall with reading above the COUNT(reading) of air_quality readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021702 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: value, lon, depth, qc
Sensor: dew_point | fields: value, lon, lat, level
Task: Fetch reading from pressure where depth is greater than the count of of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021703 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lon, depth, value, level
Sensor: snow_depth | fields: depth, type, unit, level
Task: Retrieve level from sunlight that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021704 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, lat, value, depth
Sensor: frost | fields: reading, lat, level, type
Task: Get lat from air_quality where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021705 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, ts, depth, level
Sensor: evaporation | fields: qc, unit, lon, ts
Task: Retrieve lat from turbidity that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021706 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: type, lat, reading, unit
Sensor: visibility | fields: level, value, qc, reading
Task: Get level from rainfall where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021707 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: depth, type, level, reading
Sensor: frost | fields: unit, qc, level, lat
Task: Fetch lon from cloud_cover where value is greater than the average of value in frost for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021708 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, ts, depth, level
Sensor: turbidity | fields: type, level, lon, unit
Task: Retrieve level from cloud_cover whose ts is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021709 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, level, lat, depth
Sensor: air_quality | fields: reading, level, qc, value
Task: Fetch lat from uv_index that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021710 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: value, qc, unit, level
Sensor: dew_point | fields: reading, lat, lon, qc
Task: Retrieve reading from rainfall that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021711 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: reading, lon, type, unit
Sensor: humidity | fields: lat, lon, unit, ts
Task: Retrieve value from frost with depth above the COUNT(reading) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021712 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: unit, ts, lon, level
Sensor: drought_index | fields: level, ts, lon, value
Task: Retrieve level from temperature whose qc is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021713 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, unit, type
Sensor: humidity | fields: type, unit, ts, depth
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021714 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, lon, depth, ts
Sensor: soil_moisture | fields: depth, reading, lon, type
Task: Retrieve lat from wind_speed that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021715 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, lat, level, unit
Sensor: air_quality | fields: reading, level, qc, lon
Task: Fetch value from drought_index where depth is greater than the total of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021716 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, type, lat, level
Sensor: humidity | fields: reading, lat, type, depth
Task: Fetch value from cloud_cover where type exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021717 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: value, lat, qc, unit
Sensor: air_quality | fields: type, value, unit, level
Task: Fetch lon from frost that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021718 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, reading, lon, ts
Sensor: visibility | fields: reading, ts, lat, value
Task: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021719 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: ts, qc, lon, type
Sensor: lightning | fields: ts, depth, qc, level
Task: Fetch level from dew_point that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021720 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: qc, level, unit, reading
Sensor: lightning | fields: level, value, unit, type
Task: Fetch lat from soil_moisture where ts exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021721 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, level, ts, type
Sensor: air_quality | fields: unit, level, value, reading
Task: Retrieve reading from soil_moisture that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021722 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, value, lat, level
Sensor: lightning | fields: value, level, unit, ts
Task: Get reading from rainfall where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021723 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, ts, depth, level
Sensor: visibility | fields: lon, qc, level, type
Task: Get value from frost where value exceeds the total value from visibility for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021724 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, type, lon, depth
Sensor: frost | fields: lon, lat, reading, level
Task: Get lon from humidity where reading exceeds the count of depth from frost for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021725 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: level, type, value, unit
Sensor: wind_speed | fields: type, depth, reading, lon
Task: Retrieve level from evaporation that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021726 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: qc, lat, unit, level
Sensor: turbidity | fields: value, lon, type, qc
Task: Retrieve level from sunlight that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021727 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, ts, reading, type
Sensor: evaporation | fields: level, lon, reading, ts
Task: Fetch reading from sunlight that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021728 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: value, reading, lat, unit
Sensor: turbidity | fields: reading, depth, lon, lat
Task: Retrieve reading from snow_depth with depth above the AVG(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021729 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, qc, reading, unit
Sensor: snow_depth | fields: reading, value, depth, ts
Task: Fetch value from soil_moisture where value is greater than the count of of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021730 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: qc, lon, level, lat
Sensor: visibility | fields: depth, type, unit, reading
Task: Retrieve value from drought_index that have at least one matching reading in visibility sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021731 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: reading, qc, ts, depth
Sensor: drought_index | fields: depth, lat, ts, reading
Task: Retrieve reading from frost whose unit is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021732 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: ts, reading, qc, unit
Sensor: snow_depth | fields: depth, value, lat, qc
Task: Retrieve lon from frost that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021733 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, level, ts, qc
Sensor: dew_point | fields: unit, lon, qc, reading
Task: Fetch lat from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021734 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, lat, type, unit
Sensor: air_quality | fields: lat, ts, value, unit
Task: Get value from wind_speed where type appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021735 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, depth, value, reading
Sensor: lightning | fields: ts, lat, reading, lon
Task: Get depth from dew_point where depth exceeds the count of depth from lightning for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021736 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, unit, ts, type
Sensor: cloud_cover | fields: type, lat, value, unit
Task: Fetch reading from frost where value is greater than the average of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021737 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: reading, depth, type, lon
Sensor: rainfall | fields: reading, value, ts, qc
Task: Fetch depth from drought_index where reading is greater than the total of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021738 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, reading, unit, lat
Sensor: drought_index | fields: lat, unit, lon, ts
Task: Get lon from snow_depth where depth exceeds the total reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021739 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: level, value, depth, unit
Sensor: pressure | fields: unit, value, ts, level
Task: Get reading from rainfall where qc appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021740 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: level, qc, lat, lon
Sensor: rainfall | fields: lon, reading, unit, lat
Task: Fetch reading from wind_speed where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021741 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: level, qc, unit, value
Sensor: pressure | fields: level, unit, ts, lon
Task: Fetch lat from dew_point where value is greater than the minimum of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021742 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: unit, reading, value, ts
Sensor: rainfall | fields: level, qc, type, ts
Task: Retrieve value from frost whose ts is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021743 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: value, ts, level, reading
Sensor: temperature | fields: qc, ts, reading, type
Task: Fetch depth from frost that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021744 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: type, unit, value, ts
Sensor: snow_depth | fields: unit, lon, depth, lat
Task: Retrieve lon from temperature that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021745 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, ts, type, value
Sensor: turbidity | fields: lon, type, unit, depth
Task: Fetch depth from dew_point where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021746 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, reading, depth, value
Sensor: lightning | fields: reading, ts, lat, depth
Task: Get lon from wind_speed where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021747 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: reading, qc, ts, lon
Sensor: lightning | fields: reading, type, qc, ts
Task: Get value from humidity where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021748 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, value, depth, level
Sensor: humidity | fields: depth, level, qc, ts
Task: Fetch value from lightning where unit exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021749 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, type, lat, ts
Sensor: humidity | fields: lat, type, depth, level
Task: Retrieve level from pressure whose depth is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021750 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: lon, depth, qc, type
Sensor: dew_point | fields: ts, qc, value, reading
Task: Retrieve value from drought_index with value above the MAX(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021751 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: ts, unit, lon, value
Sensor: lightning | fields: reading, ts, unit, lon
Task: Retrieve lon from cloud_cover with depth above the AVG(reading) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021752 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: value, lat, level, lon
Sensor: soil_moisture | fields: reading, value, depth, level
Task: Fetch depth from humidity where reading is greater than the count of of value in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021753 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, reading, lat, lon
Sensor: turbidity | fields: unit, qc, type, level
Task: Fetch reading from uv_index where reading is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "reading",
"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_021754 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lon, depth, reading
Sensor: dew_point | fields: qc, lat, level, unit
Task: Retrieve lat from snow_depth with value above the AVG(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021755 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, reading, level, depth
Sensor: lightning | fields: lat, qc, depth, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021756 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: qc, level, depth, type
Sensor: snow_depth | fields: depth, ts, unit, level
Task: Retrieve lon from sunlight whose ts is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021757 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: reading, value, depth, lon
Sensor: wind_speed | fields: lon, ts, lat, reading
Task: Fetch lat from lightning that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021758 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, value, depth, qc
Sensor: wind_speed | fields: ts, qc, level, type
Task: Fetch reading from frost that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021759 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: level, unit, lat, qc
Sensor: drought_index | fields: qc, value, type, reading
Task: Fetch value from evaporation where value is greater than the minimum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021760 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, unit, level, reading
Sensor: wind_speed | fields: level, depth, lat, unit
Task: Retrieve lon from snow_depth whose depth is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021761 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, ts, level, qc
Sensor: air_quality | fields: qc, depth, type, lat
Task: Fetch depth from soil_moisture where value is greater than the maximum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021762 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: type, value, lon, ts
Sensor: drought_index | fields: unit, lat, qc, reading
Task: Fetch value from humidity where depth exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021763 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: level, lon, depth, unit
Sensor: cloud_cover | fields: lat, type, lon, level
Task: Retrieve level from air_quality with value above the SUM(value) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021764 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, lon, lat, depth
Sensor: sunlight | fields: depth, type, qc, level
Task: Retrieve level from rainfall with reading above the MAX(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021765 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, level, ts, lat
Sensor: uv_index | fields: depth, type, value, unit
Task: Fetch value from dew_point that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021766 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, lat, depth, reading
Sensor: frost | fields: value, lat, level, unit
Task: Fetch value from temperature that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021767 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, type, reading, unit
Sensor: humidity | fields: ts, type, depth, lon
Task: Get lat from sunlight where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021768 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: reading, type, qc, value
Sensor: rainfall | fields: lat, level, reading, type
Task: Retrieve value from sunlight with depth above the MIN(reading) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021769 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lat, reading, value, lon
Sensor: humidity | fields: ts, depth, lon, lat
Task: Get depth from evaporation where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021770 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, type, lon, reading
Sensor: uv_index | fields: level, lat, qc, value
Task: Retrieve reading from lightning that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021771 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, unit, value, depth
Sensor: visibility | fields: qc, lat, depth, type
Task: Fetch reading from drought_index where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021772 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, value, reading, qc
Sensor: air_quality | fields: lat, lon, unit, depth
Task: Fetch reading from cloud_cover where reading is greater than the maximum of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021773 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: type, qc, level, lat
Sensor: visibility | fields: ts, lat, depth, reading
Task: Get value from uv_index where type appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021774 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: ts, qc, depth, value
Sensor: pressure | fields: qc, type, unit, ts
Task: Fetch value from turbidity where value is greater than the total of depth in pressure for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021775 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, reading, qc, level
Sensor: turbidity | fields: lat, unit, depth, ts
Task: Fetch value from visibility where depth exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021776 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: lon, unit, reading, level
Sensor: snow_depth | fields: depth, type, reading, lon
Task: Get depth from wind_speed where ts appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021777 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, reading, level, lat
Sensor: evaporation | fields: reading, ts, lon, lat
Task: Get lat from wind_speed where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021778 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: unit, ts, lat, value
Sensor: turbidity | fields: unit, reading, ts, lat
Task: Retrieve lon from humidity that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021779 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: unit, qc, reading, value
Sensor: snow_depth | fields: type, depth, reading, ts
Task: Retrieve level from sunlight whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021780 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: qc, level, lat, depth
Sensor: drought_index | fields: type, lon, value, reading
Task: Retrieve reading from soil_moisture with depth above the COUNT(value) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021781 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: level, lon, reading, value
Sensor: soil_moisture | fields: qc, lat, value, type
Task: Get lon from frost where depth exceeds the count of value from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021782 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: qc, ts, lon, type
Sensor: snow_depth | fields: value, depth, lon, type
Task: Get level from visibility where qc appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021783 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: unit, value, type, level
Sensor: rainfall | fields: type, qc, reading, lat
Task: Fetch depth from air_quality where unit exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021784 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, reading, qc
Sensor: lightning | fields: lon, unit, depth, ts
Task: Fetch reading from uv_index where depth exists in lightning sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021785 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: value, lon, reading, ts
Sensor: pressure | fields: type, depth, value, ts
Task: Get level from lightning where value exceeds the total depth from pressure for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021786 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: unit, depth, lon, reading
Sensor: rainfall | fields: reading, depth, level, ts
Task: Fetch value from visibility that have at least one corresponding rainfall measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021787 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, depth, lat, level
Sensor: temperature | fields: lat, value, type, reading
Task: Retrieve lon from uv_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021788 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: ts, type, value, qc
Sensor: cloud_cover | fields: type, lat, unit, reading
Task: Fetch lon from drought_index where value is greater than the average of reading in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021789 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, type, unit, lat
Sensor: sunlight | fields: level, lon, qc, ts
Task: Retrieve reading from wind_speed that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021790 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: lat, lon, unit, qc
Sensor: humidity | fields: unit, value, type, lon
Task: Retrieve value from lightning whose depth is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021791 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, ts, level, reading
Sensor: uv_index | fields: lon, reading, depth, type
Task: Fetch reading from lightning that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021792 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: depth, level, ts, value
Sensor: pressure | fields: ts, level, type, lon
Task: Get lon from uv_index where depth exceeds the minimum reading from pressure for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"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_021793 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, depth, value, qc
Sensor: turbidity | fields: level, value, lon, depth
Task: Retrieve depth from soil_moisture whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021794 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: lon, value, qc, reading
Sensor: soil_moisture | fields: lat, unit, qc, type
Task: Retrieve value from temperature with reading above the SUM(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021795 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, depth, ts, qc
Sensor: dew_point | fields: value, lon, qc, depth
Task: Retrieve lon from visibility whose qc is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021796 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: value, unit, qc, reading
Sensor: air_quality | fields: qc, unit, lat, value
Task: Retrieve value from visibility that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021797 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: qc, level, ts, unit
Sensor: cloud_cover | fields: type, value, unit, qc
Task: Get lon from drought_index where reading exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021798 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, value, lon, qc
Sensor: snow_depth | fields: qc, ts, level, value
Task: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.