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: sunlight | code: clr | fields: qc, value, level, unit
Sensor: snow_depth | fields: qc, type, lat, reading
Task: Fetch lat from sunlight that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070900 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: level, type, lon, ts
Sensor: frost | fields: reading, depth, lon, level
Task: Get lon from lightning where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070901 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: qc, unit, depth, reading
Sensor: temperature | fields: lat, lon, level, ts
Task: Retrieve value from frost that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070902 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: level, reading, qc, ts
Sensor: uv_index | fields: lon, qc, depth, level
Task: Retrieve reading from dew_point with reading above the MAX(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070903 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: ts, qc, unit, reading
Sensor: visibility | fields: lat, type, ts, unit
Task: Retrieve lon from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070904 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: lon, unit, qc, lat
Sensor: lightning | fields: depth, qc, reading, level
Task: Retrieve level from pressure whose unit is found in lightning records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070905 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, depth, unit, lat
Sensor: sunlight | fields: depth, value, unit, reading
Task: Get lon from rainfall where type appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070906 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: type, unit, level, lon
Sensor: dew_point | fields: depth, lat, level, qc
Task: Retrieve reading from uv_index with value above the COUNT(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070907 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: qc, type, reading, depth
Sensor: wind_speed | fields: lat, level, depth, type
Task: Fetch lon from snow_depth where depth is greater than the minimum of value in wind_speed for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070908 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: lon, qc, lat, type
Sensor: evaporation | fields: qc, reading, lat, level
Task: Fetch lat from drought_index where depth is greater than the total of value in evaporation for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070909 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, lon, depth, unit
Sensor: snow_depth | fields: depth, level, lat, reading
Task: Fetch lat from dew_point where ts exists in snow_depth sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070910 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: value, lon, depth, type
Sensor: drought_index | fields: depth, unit, level, value
Task: Get reading from uv_index where reading exceeds the maximum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070911 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: level, lon, ts, value
Sensor: dew_point | fields: depth, value, lat, qc
Task: Get depth from drought_index where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070912 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: ts, unit, qc, type
Sensor: temperature | fields: ts, unit, lon, type
Task: Fetch value from pressure where value is greater than the total of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070913 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: lon, qc, level, lat
Sensor: temperature | fields: lon, lat, ts, unit
Task: Get value from wind_speed where type appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070914 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: type, ts, value, depth
Sensor: lightning | fields: qc, type, unit, lat
Task: Retrieve value from sunlight with reading above the AVG(value) of lightning readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070915 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, lon, lat, qc
Sensor: frost | fields: level, qc, depth, ts
Task: Fetch depth from visibility where value is greater than the count of of value in frost for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070916 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, qc, lat, unit
Sensor: soil_moisture | fields: lon, depth, ts, type
Task: Retrieve level from temperature with depth above the MAX(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070917 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: depth, type, unit, lat
Sensor: rainfall | fields: qc, lon, type, unit
Task: Fetch lon from pressure that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070918 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, lon, lat, level
Sensor: cloud_cover | fields: value, lat, ts, level
Task: Get value from visibility where unit appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070919 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, unit, depth, reading
Sensor: visibility | fields: unit, lat, level, depth
Task: Fetch level from evaporation where qc exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070920 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: unit, reading, ts, value
Sensor: lightning | fields: lon, reading, value, type
Task: Get value from rainfall where value exceeds the average reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070921 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: unit, depth, type, reading
Sensor: frost | fields: lat, level, ts, reading
Task: Get reading from drought_index where depth exceeds the maximum value from frost for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070922 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: qc, lon, value, reading
Sensor: rainfall | fields: lat, unit, level, type
Task: Fetch reading from pressure where reading is greater than the minimum of value in rainfall for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070923 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, type, unit, lat
Sensor: soil_moisture | fields: unit, ts, qc, lat
Task: Fetch value from pressure where reading is greater than the total of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070924 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: type, lat, value, reading
Sensor: frost | fields: reading, ts, lon, lat
Task: Get reading from snow_depth where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070925 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: unit, lat, reading, level
Sensor: lightning | fields: depth, ts, value, lon
Task: Get reading from visibility where value exceeds the count of value from lightning for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070926 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, reading, lat, level
Sensor: frost | fields: level, unit, ts, value
Task: Retrieve depth from cloud_cover with depth above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070927 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, level, reading, lon
Sensor: frost | fields: lat, qc, reading, depth
Task: Fetch value from soil_moisture where value is greater than the total of value in frost for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070928 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: level, reading, lat, lon
Sensor: humidity | fields: value, reading, depth, lat
Task: Fetch lat from lightning where reading is greater than the maximum of value in humidity for matching ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070929 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, ts, type, value
Sensor: temperature | fields: ts, reading, unit, value
Task: Retrieve depth from humidity with depth above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070930 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, lon, type, value
Sensor: wind_speed | fields: lon, unit, reading, depth
Task: Fetch reading from pressure where depth is greater than the total of depth in wind_speed for matching qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070931 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, value, lat, ts
Sensor: pressure | fields: lat, type, qc, ts
Task: Retrieve lon from wind_speed whose ts is found in pressure records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070932 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, depth, unit, ts
Sensor: visibility | fields: qc, lat, level, value
Task: Retrieve reading from cloud_cover with reading above the MAX(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070933 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lon, value, level
Sensor: cloud_cover | fields: unit, level, lon, ts
Task: Retrieve depth from soil_moisture whose unit is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070934 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, lat, reading, lon
Sensor: humidity | fields: ts, lon, type, reading
Task: Retrieve level from evaporation that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070935 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: depth, ts, unit, type
Sensor: snow_depth | fields: level, lat, reading, unit
Task: Fetch reading from pressure where depth exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070936 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: reading, depth, qc, lon
Sensor: rainfall | fields: qc, type, value, lon
Task: Get reading from humidity where reading exceeds the average value from rainfall for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070937 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, ts, lat, unit
Sensor: soil_moisture | fields: reading, level, value, type
Task: Fetch value from wind_speed where depth is greater than the average of depth in soil_moisture for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070938 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: value, qc, type, lon
Sensor: evaporation | fields: lat, level, reading, ts
Task: Fetch lon from lightning that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070939 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: reading, lon, ts, lat
Sensor: frost | fields: qc, level, unit, reading
Task: Fetch lat from sunlight where depth is greater than the count of of depth in frost for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070940 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, qc, level, depth
Sensor: rainfall | fields: unit, lat, depth, level
Task: Get depth from cloud_cover where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070941 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: ts, type, qc, unit
Sensor: humidity | fields: qc, level, reading, ts
Task: Fetch lat from lightning that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070942 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, lon, value, type
Sensor: uv_index | fields: value, level, depth, lat
Task: Fetch lon from soil_moisture where qc exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070943 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: unit, reading, lon, level
Sensor: evaporation | fields: level, lat, value, lon
Task: Retrieve level from air_quality with depth above the MIN(depth) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070944 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, depth, lon
Sensor: temperature | fields: unit, depth, ts, level
Task: Fetch reading from air_quality that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070945 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: type, value, depth, ts
Sensor: evaporation | fields: level, lat, ts, unit
Task: Fetch reading from soil_moisture that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070946 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, level, ts, type
Sensor: air_quality | fields: lon, qc, depth, type
Task: Retrieve value from soil_moisture that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070947 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: depth, qc, lat, level
Sensor: snow_depth | fields: reading, level, lon, qc
Task: Retrieve level from lightning whose ts is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070948 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, reading, value, depth
Sensor: rainfall | fields: lat, qc, type, lon
Task: Retrieve depth from turbidity that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070949 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, lat, reading, lon
Sensor: sunlight | fields: ts, type, value, reading
Task: Retrieve depth from temperature whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070950 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, level, lon, qc
Sensor: cloud_cover | fields: reading, lat, ts, qc
Task: Fetch depth from wind_speed where depth exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070951 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, unit, lat, level
Sensor: temperature | fields: qc, ts, unit, lon
Task: Get lat from cloud_cover where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070952 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: type, level, ts, depth
Sensor: turbidity | fields: value, type, level, qc
Task: Fetch value from humidity that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070953 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: ts, type, lat, value
Sensor: air_quality | fields: lon, type, qc, value
Task: Get depth from temperature where depth appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070954 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, level, lon, unit
Sensor: lightning | fields: qc, lat, value, reading
Task: Fetch depth from cloud_cover that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070955 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: level, reading, unit, lat
Sensor: visibility | fields: lon, ts, depth, lat
Task: Fetch depth from sunlight where depth is greater than the count of of depth in visibility for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070956 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lat, reading, depth, type
Sensor: soil_moisture | fields: ts, level, value, lon
Task: Retrieve reading from turbidity whose unit is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070957 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, type, unit, value
Sensor: temperature | fields: value, type, ts, level
Task: Get reading from evaporation where reading exceeds the maximum reading from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070958 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lon, value, ts, type
Sensor: humidity | fields: lon, ts, unit, reading
Task: Fetch lat from temperature where ts exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070959 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, qc, depth, value
Sensor: dew_point | fields: unit, lat, type, level
Task: Fetch value from uv_index that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070960 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, unit, lon, value
Sensor: dew_point | fields: level, reading, lat, value
Task: Retrieve lat from air_quality with reading above the AVG(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070961 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lat, value, lon, ts
Sensor: dew_point | fields: lon, type, reading, unit
Task: Fetch value from visibility where value is greater than the maximum of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070962 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, value, lat, type
Sensor: evaporation | fields: qc, depth, level, lon
Task: Get level from lightning where reading exceeds the maximum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070963 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, lon, lat, type
Sensor: air_quality | fields: lon, type, depth, unit
Task: Fetch level from turbidity where depth is greater than the total of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070964 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: level, ts, lat, depth
Sensor: rainfall | fields: lat, lon, reading, depth
Task: Retrieve lat from sunlight with value above the MAX(value) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070965 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: level, type, value, depth
Sensor: frost | fields: lat, depth, qc, type
Task: Fetch reading from sunlight where reading is greater than the total of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070966 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: qc, lat, unit, reading
Sensor: lightning | fields: level, value, type, lon
Task: Get lat from snow_depth where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070967 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: level, type, qc, depth
Sensor: uv_index | fields: value, unit, ts, type
Task: Retrieve level from snow_depth with value above the MIN(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070968 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: qc, lat, unit, lon
Sensor: temperature | fields: type, reading, level, unit
Task: Get level from snow_depth where qc appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070969 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, lat, reading, depth
Sensor: lightning | fields: lat, level, depth, type
Task: Fetch value from frost that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070970 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: unit, reading, lon, lat
Sensor: dew_point | fields: lat, depth, reading, type
Task: Fetch lat from pressure where ts exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070971 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: qc, reading, level, lat
Sensor: rainfall | fields: ts, level, lat, depth
Task: Retrieve value from uv_index with reading above the AVG(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070972 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, depth, lat, reading
Sensor: rainfall | fields: type, reading, lat, value
Task: Retrieve level from soil_moisture that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070973 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, value, ts, qc
Sensor: frost | fields: unit, ts, level, reading
Task: Retrieve reading from soil_moisture that have at least one matching reading in frost sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070974 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, qc, reading, depth
Sensor: pressure | fields: level, lat, ts, depth
Task: Retrieve level from cloud_cover whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070975 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: ts, lat, level, reading
Sensor: frost | fields: unit, type, lon, value
Task: Fetch level from evaporation where reading is greater than the minimum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070976 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, lon, depth, qc
Sensor: snow_depth | fields: unit, lon, depth, type
Task: Retrieve depth from pressure with depth above the MIN(depth) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070977 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, value, qc, depth
Sensor: dew_point | fields: ts, unit, type, depth
Task: Fetch lon from snow_depth where unit exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070978 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: unit, ts, type, value
Sensor: soil_moisture | fields: unit, level, reading, value
Task: Retrieve lon from lightning whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070979 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: qc, level, type, depth
Sensor: evaporation | fields: lat, reading, qc, value
Task: Fetch level from air_quality where depth is greater than the count of of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070980 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: level, reading, ts, lat
Sensor: uv_index | fields: lat, unit, lon, value
Task: Get lon from air_quality where depth exceeds the minimum reading from uv_index for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lon",
"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_070981 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, type, qc, unit
Sensor: lightning | fields: unit, qc, value, ts
Task: Fetch value from air_quality where unit exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070982 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, lon, lat, level
Sensor: uv_index | fields: depth, lat, level, qc
Task: Fetch value from soil_moisture where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070983 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, qc, unit, level
Sensor: pressure | fields: value, level, depth, reading
Task: Retrieve lon from dew_point with value above the COUNT(depth) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070984 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: lon, depth, unit, ts
Sensor: air_quality | fields: depth, lat, value, level
Task: Retrieve lat from humidity with reading above the COUNT(depth) of air_quality readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070985 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, lon, qc, ts
Sensor: evaporation | fields: qc, lat, level, depth
Task: Fetch reading from visibility where unit exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070986 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: unit, reading, qc, value
Sensor: drought_index | fields: level, type, value, unit
Task: Retrieve value from air_quality whose ts is found in drought_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070987 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, type, lat, level
Sensor: sunlight | fields: ts, level, lat, type
Task: Retrieve value from soil_moisture with reading above the SUM(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070988 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, ts, lat, reading
Sensor: dew_point | fields: depth, level, ts, qc
Task: Retrieve reading from lightning with depth above the COUNT(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070989 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: qc, unit, ts, lat
Sensor: soil_moisture | fields: lat, ts, value, qc
Task: Get level from lightning where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070990 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lat, lon, unit, value
Sensor: cloud_cover | fields: qc, level, lat, depth
Task: Get level from drought_index where depth exceeds the minimum reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070991 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: qc, ts, level, lon
Sensor: turbidity | fields: reading, ts, qc, level
Task: Fetch level from sunlight where depth is greater than the maximum of reading in turbidity for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070992 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: ts, type, level, lat
Sensor: dew_point | fields: qc, unit, lat, ts
Task: Get lat from visibility where unit appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070993 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: reading, ts, type, lat
Sensor: rainfall | fields: lon, lat, ts, unit
Task: Fetch lat from frost that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070994 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: depth, lat, reading, type
Sensor: humidity | fields: depth, ts, reading, type
Task: Fetch lat from pressure where qc exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070995 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, value, level, qc
Sensor: pressure | fields: lon, value, depth, ts
Task: Retrieve reading from air_quality whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070996 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: reading, level, value, lat
Sensor: visibility | fields: value, ts, unit, reading
Task: Retrieve lat from uv_index whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_070997 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: unit, ts, type, reading
Sensor: humidity | fields: ts, value, lon, type
Task: Retrieve depth from air_quality with value above the COUNT(depth) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"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_070998 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, qc, unit, lon
Sensor: soil_moisture | fields: unit, depth, type, lat
Task: Retrieve lat from snow_depth whose qc is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_070999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.