variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, ts, qc, reading
Sensor: cloud_cover | fields: lat, level, unit, reading
Task: Retrieve value from turbidity whose qc is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019900 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, reading, lon, ts
Sensor: turbidity | fields: depth, reading, level, type
Task: Get lon from rainfall where reading exceeds the average reading from turbidity for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019901 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: level, qc, depth, value
Sensor: cloud_cover | fields: unit, level, lat, ts
Task: Retrieve depth from air_quality with reading above the MAX(depth) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019902 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, qc, ts, reading
Sensor: turbidity | fields: qc, lon, level, unit
Task: Fetch reading from pressure where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019903 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: qc, lat, value, ts
Sensor: temperature | fields: value, lat, unit, ts
Task: Fetch level from wind_speed that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019904 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lat, ts, type, depth
Sensor: rainfall | fields: lon, level, ts, type
Task: Fetch lat from temperature where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019905 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: depth, lon, unit, ts
Sensor: lightning | fields: lon, level, lat, qc
Task: Retrieve lon from humidity that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019906 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: type, reading, lon, lat
Sensor: wind_speed | fields: value, lon, depth, level
Task: Get value from drought_index where ts appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019907 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: type, value, ts, depth
Sensor: uv_index | fields: qc, value, ts, reading
Task: Retrieve depth from visibility with value above the SUM(depth) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019908 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, ts, reading, value
Sensor: frost | fields: value, unit, depth, qc
Task: Retrieve level from lightning with value above the MIN(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019909 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: level, ts, depth, reading
Sensor: sunlight | fields: level, lat, value, type
Task: Fetch lat from uv_index where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019910 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, qc, lon, lat
Sensor: soil_moisture | fields: qc, unit, type, lat
Task: Retrieve level from temperature with reading above the MIN(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019911 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, depth, type, qc
Sensor: frost | fields: lat, unit, type, depth
Task: Fetch reading from sunlight that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019912 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, value, lon, level
Sensor: dew_point | fields: qc, reading, lat, value
Task: Fetch value from air_quality where reading is greater than the minimum of value in dew_point for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019913 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: level, lat, type, ts
Sensor: humidity | fields: ts, reading, lon, depth
Task: Retrieve reading from uv_index with value above the MIN(depth) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019914 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: reading, level, lat, unit
Sensor: cloud_cover | fields: value, lat, ts, unit
Task: Retrieve lon from rainfall that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019915 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: unit, depth, ts, value
Sensor: sunlight | fields: lat, value, depth, lon
Task: Fetch depth from rainfall that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019916 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: type, lat, unit, lon
Sensor: cloud_cover | fields: unit, level, qc, value
Task: Fetch lon from evaporation where depth is greater than the average of value in cloud_cover for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019917 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: ts, reading, value, depth
Sensor: frost | fields: lat, ts, depth, level
Task: Fetch lat from uv_index where value is greater than the minimum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019918 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, value, qc, lat
Sensor: soil_moisture | fields: lon, reading, lat, type
Task: Retrieve value from dew_point with reading above the AVG(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019919 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, reading, ts, type
Sensor: pressure | fields: reading, value, qc, depth
Task: Fetch value from temperature where value is greater than the count of of value in pressure for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019920 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: type, value, qc, lon
Sensor: frost | fields: lat, ts, level, unit
Task: Retrieve lon from air_quality that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019921 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: lon, unit, qc, reading
Sensor: temperature | fields: reading, lon, depth, lat
Task: Retrieve value from pressure with reading above the MIN(reading) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019922 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: depth, level, qc, lon
Sensor: humidity | fields: lon, ts, unit, level
Task: Get value from sunlight where unit appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019923 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: value, lat, lon, reading
Sensor: cloud_cover | fields: reading, lat, level, unit
Task: Get reading from rainfall where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019924 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, value, lon, depth
Sensor: temperature | fields: lon, value, qc, lat
Task: Get lon from soil_moisture where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019925 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: level, unit, value, type
Sensor: cloud_cover | fields: unit, type, reading, value
Task: Fetch depth from evaporation where depth exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019926 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: ts, depth, type, lon
Sensor: drought_index | fields: ts, depth, type, reading
Task: Fetch lon from evaporation that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019927 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lat, ts, unit
Sensor: snow_depth | fields: qc, lat, level, ts
Task: Retrieve reading from wind_speed whose depth is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019928 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, depth, qc, unit
Sensor: air_quality | fields: reading, type, lon, lat
Task: Get depth from sunlight where value exceeds the count of reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019929 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: value, level, qc, lon
Sensor: sunlight | fields: value, ts, level, type
Task: Fetch value from humidity that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019930 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: depth, value, unit, level
Sensor: temperature | fields: lat, lon, type, reading
Task: Retrieve lon from air_quality that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019931 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: ts, value, lon, reading
Sensor: lightning | fields: lat, depth, lon, unit
Task: Get level from dew_point where qc appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019932 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, lat, reading, lon
Sensor: lightning | fields: ts, reading, value, level
Task: Retrieve value from soil_moisture that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019933 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, type, depth, reading
Sensor: cloud_cover | fields: unit, lat, depth, lon
Task: Get value from sunlight where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019934 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: depth, value, lat, qc
Sensor: turbidity | fields: reading, lat, qc, value
Task: Retrieve level from visibility with depth above the AVG(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019935 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: lat, unit, value, ts
Sensor: rainfall | fields: ts, reading, qc, depth
Task: Retrieve value from air_quality whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019936 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, unit, lon, level
Sensor: turbidity | fields: type, lon, depth, qc
Task: Get depth from air_quality where depth exceeds the count of value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019937 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: reading, type, depth, unit
Sensor: air_quality | fields: type, level, depth, lon
Task: Fetch lat from frost where value is greater than the average of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019938 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, unit, type, depth
Sensor: lightning | fields: level, value, reading, depth
Task: Fetch lon from cloud_cover where unit exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="unit",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019939 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, lat, depth, ts
Sensor: dew_point | fields: level, value, lon, depth
Task: Get lon from visibility where unit appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019940 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, level, qc, reading
Sensor: cloud_cover | fields: level, value, lat, type
Task: Retrieve depth from wind_speed with depth above the SUM(reading) of cloud_cover readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019941 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: level, reading, unit, lat
Sensor: turbidity | fields: lon, value, ts, reading
Task: Fetch level from air_quality that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019942 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: value, ts, depth, type
Sensor: evaporation | fields: ts, depth, level, lat
Task: Retrieve lon from uv_index with reading above the MAX(value) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"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_019943 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, value, lat, lon
Sensor: dew_point | fields: level, lon, lat, value
Task: Fetch reading from sunlight that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019944 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: unit, level, depth, value
Sensor: soil_moisture | fields: reading, qc, level, value
Task: Retrieve value from evaporation that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019945 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: qc, level, unit, ts
Sensor: air_quality | fields: value, qc, depth, level
Task: Retrieve reading from drought_index whose unit is found in air_quality records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019946 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: value, unit, depth, reading
Sensor: evaporation | fields: lon, qc, reading, ts
Task: Retrieve reading from pressure that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019947 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: value, level, lon, type
Sensor: pressure | fields: level, lon, depth, qc
Task: Get lat from evaporation where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019948 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: level, depth, reading, ts
Sensor: rainfall | fields: ts, unit, type, level
Task: Retrieve lat from uv_index with depth above the COUNT(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019949 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, depth, unit, lat
Sensor: turbidity | fields: unit, qc, value, level
Task: Get lat from soil_moisture where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019950 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: ts, lat, level, reading
Sensor: air_quality | fields: lat, value, depth, ts
Task: Retrieve lat from dew_point that have at least one matching reading in air_quality sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019951 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: ts, depth, value, type
Sensor: turbidity | fields: unit, ts, depth, lat
Task: Fetch depth from rainfall where type exists in turbidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019952 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: reading, unit, level, lon
Sensor: snow_depth | fields: unit, type, level, depth
Task: Retrieve lon from rainfall with value above the SUM(depth) of snow_depth readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019953 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, qc, ts, value
Sensor: lightning | fields: depth, level, type, unit
Task: Retrieve lat from humidity that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019954 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: qc, depth, level, reading
Sensor: soil_moisture | fields: value, lat, level, ts
Task: Retrieve value from uv_index that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019955 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: ts, lat, value, lon
Sensor: sunlight | fields: lon, reading, qc, type
Task: Retrieve lat from turbidity whose qc is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019956 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, reading, lon, level
Sensor: temperature | fields: value, depth, type, lon
Task: Fetch reading from wind_speed where ts exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019957 | train |
v1 | Sensor network script:
Node: dew_point | code: gst | fields: type, reading, unit, qc
Sensor: evaporation | fields: lat, qc, depth, value
Task: Get level from dew_point where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019958 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: qc, type, lon, depth
Sensor: snow_depth | fields: unit, depth, type, ts
Task: Fetch level from lightning that have at least one corresponding snow_depth measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"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_019959 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: value, depth, reading, ts
Sensor: air_quality | fields: reading, lon, depth, unit
Task: Get level from evaporation where value exceeds the average depth from air_quality for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019960 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, reading, type, lon
Sensor: wind_speed | fields: level, type, lat, lon
Task: Fetch depth from evaporation that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019961 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, ts, value, lon
Sensor: rainfall | fields: ts, level, lon, unit
Task: Get value from wind_speed where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019962 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, value, level, lat
Sensor: temperature | fields: reading, lat, ts, type
Task: Fetch lat from cloud_cover where value is greater than the minimum of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019963 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: ts, level, qc, depth
Sensor: snow_depth | fields: type, depth, level, unit
Task: Retrieve reading from drought_index whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019964 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: lon, depth, lat, value
Sensor: frost | fields: type, depth, lat, reading
Task: Retrieve lon from uv_index with value above the SUM(depth) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019965 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: level, value, lon, qc
Sensor: dew_point | fields: value, lat, depth, lon
Task: Get lat from evaporation where ts appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019966 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: depth, lat, type, ts
Sensor: soil_moisture | fields: reading, value, lon, ts
Task: Retrieve reading from humidity that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019967 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, qc, ts, reading
Sensor: drought_index | fields: lat, lon, value, qc
Task: Get depth from frost where value exceeds the total value from drought_index for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019968 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: lon, qc, level, ts
Sensor: cloud_cover | fields: level, type, ts, lon
Task: Retrieve level from drought_index with depth above the AVG(depth) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019969 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: unit, lon, type, reading
Sensor: soil_moisture | fields: depth, level, ts, unit
Task: Fetch depth from drought_index where type exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019970 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: unit, ts, qc, reading
Sensor: visibility | fields: unit, qc, lat, value
Task: Get lon from drought_index where depth exceeds the count of value from visibility for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019971 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, qc, unit, value
Sensor: soil_moisture | fields: type, value, level, qc
Task: Get value from wind_speed where depth exceeds the average depth from soil_moisture for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019972 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: level, reading, depth, value
Sensor: visibility | fields: level, qc, lon, reading
Task: Get reading from drought_index where depth exceeds the minimum depth from visibility for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019973 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: value, unit, lat, level
Sensor: rainfall | fields: qc, reading, value, level
Task: Retrieve value from air_quality with value above the MIN(depth) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019974 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: value, qc, lon, reading
Sensor: uv_index | fields: value, depth, lon, lat
Task: Fetch reading from frost where value is greater than the minimum of value in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019975 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: unit, reading, value, ts
Sensor: sunlight | fields: qc, reading, ts, value
Task: Fetch level from humidity that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019976 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: type, lon, reading, unit
Sensor: turbidity | fields: type, lat, ts, lon
Task: Get value from lightning where depth exceeds the total value from turbidity for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019977 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, level, lat, depth
Sensor: temperature | fields: level, reading, lon, type
Task: Get lat from cloud_cover where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019978 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lat, lon, depth, level
Sensor: dew_point | fields: lon, value, unit, reading
Task: Get depth from lightning where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019979 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: ts, depth, unit, qc
Sensor: drought_index | fields: unit, value, lon, level
Task: Retrieve depth from temperature with depth above the MAX(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019980 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: qc, ts, value, reading
Sensor: wind_speed | fields: type, depth, ts, unit
Task: Fetch depth from dew_point that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019981 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: value, unit, qc, level
Sensor: wind_speed | fields: lon, unit, level, type
Task: Retrieve reading from drought_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019982 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, unit, depth, level
Sensor: cloud_cover | fields: unit, lon, value, level
Task: Get lon from evaporation where value exceeds the maximum reading from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019983 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: type, reading, unit, depth
Sensor: evaporation | fields: lon, ts, value, unit
Task: Fetch reading from dew_point where reading is greater than the minimum of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019984 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: level, type, lat, ts
Sensor: soil_moisture | fields: type, ts, unit, reading
Task: Get level from humidity where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019985 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: qc, type, lon, ts
Sensor: evaporation | fields: unit, value, qc, level
Task: Get reading from turbidity where depth appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019986 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lon, ts, level, qc
Sensor: dew_point | fields: lon, type, level, value
Task: Get lon from pressure where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019987 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, reading, lon, lat
Sensor: soil_moisture | fields: qc, reading, ts, type
Task: Retrieve lon from temperature with value above the MIN(reading) of soil_moisture readings sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019988 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, unit, reading, ts
Sensor: sunlight | fields: lon, value, depth, level
Task: Fetch value from visibility where unit exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019989 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: reading, qc, depth, value
Sensor: wind_speed | fields: ts, value, depth, type
Task: Get depth from visibility where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019990 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: depth, ts, qc, lon
Sensor: uv_index | fields: unit, lat, lon, depth
Task: Get lat from drought_index where ts appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019991 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, ts, reading, unit
Sensor: uv_index | fields: depth, unit, type, qc
Task: Get lat from soil_moisture where value exceeds the total depth from uv_index for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019992 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lon, reading, unit
Sensor: air_quality | fields: lon, reading, lat, depth
Task: Fetch lat from cloud_cover that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019993 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, unit, type, level
Sensor: soil_moisture | fields: level, value, qc, type
Task: Fetch lon from cloud_cover where reading is greater than the maximum of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"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_019994 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, depth, lon, lat
Sensor: turbidity | fields: value, lat, level, unit
Task: Retrieve value from drought_index with depth above the SUM(value) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019995 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: value, unit, ts, type
Sensor: uv_index | fields: lat, level, depth, lon
Task: Get depth from wind_speed where reading exceeds the count of value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019996 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: ts, depth, reading, level
Sensor: visibility | fields: unit, qc, level, lat
Task: Get reading from rainfall where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_019997 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: level, value, lat, unit
Sensor: pressure | fields: ts, type, lat, level
Task: Fetch lat from drought_index where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019998 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: depth, unit, ts, qc
Sensor: cloud_cover | fields: type, reading, depth, qc
Task: Retrieve value from visibility with depth above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_019999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.