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: cloud_cover | code: ref | fields: qc, reading, ts, unit
Sensor: soil_moisture | fields: reading, lat, lon, value
Task: Fetch lon from cloud_cover where type exists in soil_moisture sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021000 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, lon, value, depth
Sensor: wind_speed | fields: value, unit, qc, type
Task: Retrieve lat from soil_moisture whose unit is found in wind_speed records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021001 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: ts, unit, qc, lon
Sensor: soil_moisture | fields: type, qc, level, lat
Task: Fetch lon from wind_speed that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021002 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: ts, type, lat, value
Sensor: pressure | fields: level, value, qc, lat
Task: Fetch lon from sunlight where reading is greater than the count of of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021003 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: ts, unit, type, depth
Sensor: turbidity | fields: value, qc, lat, type
Task: Retrieve lat from visibility that have at least one matching reading in turbidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021004 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: ts, qc, level, value
Sensor: wind_speed | fields: value, reading, depth, level
Task: Retrieve lon from dew_point with reading above the MAX(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021005 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: type, unit, lon, lat
Sensor: cloud_cover | fields: lon, reading, unit, qc
Task: Get lon from lightning where value exceeds the minimum depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021006 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, value, unit, lon
Sensor: rainfall | fields: type, qc, depth, lat
Task: Fetch lat from evaporation that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021007 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: type, value, depth, qc
Sensor: frost | fields: reading, level, lon, lat
Task: Fetch reading from pressure where qc exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021008 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, depth, lon
Sensor: visibility | fields: depth, unit, level, lat
Task: Get lat from sunlight where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021009 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: type, depth, lat, level
Sensor: rainfall | fields: qc, level, ts, unit
Task: Fetch level from lightning where type exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021010 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: ts, qc, unit, type
Sensor: temperature | fields: type, depth, lon, reading
Task: Get lon from evaporation where reading exceeds the count of value from temperature for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021011 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: value, ts, lat, level
Sensor: visibility | fields: qc, ts, reading, unit
Task: Get reading from rainfall where depth appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021012 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: lon, value, qc, ts
Sensor: lightning | fields: unit, lon, lat, type
Task: Get value from turbidity where depth appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021013 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: ts, unit, level, value
Sensor: wind_speed | fields: ts, depth, type, level
Task: Retrieve value from visibility with depth above the MAX(reading) of wind_speed readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021014 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: reading, type, depth, lat
Sensor: dew_point | fields: reading, level, value, unit
Task: Retrieve lat from snow_depth with depth above the AVG(value) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021015 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, qc, level, lat
Sensor: rainfall | fields: lat, reading, lon, unit
Task: Fetch value from soil_moisture where depth is greater than the maximum of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021016 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: lat, reading, qc, ts
Sensor: air_quality | fields: lon, level, reading, depth
Task: Retrieve value from frost whose depth is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021017 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, ts, level, lat
Sensor: turbidity | fields: lat, value, lon, qc
Task: Retrieve level from cloud_cover with depth above the AVG(depth) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021018 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, value, qc, lat
Sensor: pressure | fields: qc, lat, level, ts
Task: Retrieve reading from cloud_cover that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021019 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, unit, lat, depth
Sensor: turbidity | fields: type, value, unit, depth
Task: Retrieve lat from snow_depth with value above the MIN(depth) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021020 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: type, unit, qc, level
Sensor: pressure | fields: unit, value, depth, lon
Task: Fetch lon from rainfall where type exists in pressure sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021021 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: lon, depth, reading, type
Sensor: wind_speed | fields: depth, ts, value, lon
Task: Get lon from dew_point where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021022 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: depth, unit, reading, level
Sensor: dew_point | fields: type, ts, lat, unit
Task: Fetch reading from frost where value is greater than the minimum of value in dew_point for matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021023 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: depth, type, unit, lat
Sensor: wind_speed | fields: ts, depth, level, lat
Task: Fetch reading from dew_point where depth is greater than the minimum of reading in wind_speed for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021024 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: type, lat, reading, level
Sensor: dew_point | fields: lat, type, lon, unit
Task: Retrieve lon from rainfall that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021025 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: qc, lon, level, lat
Sensor: cloud_cover | fields: depth, ts, unit, lon
Task: Retrieve value from lightning whose qc is found in cloud_cover records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021026 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, reading, qc, type
Sensor: pressure | fields: lon, ts, reading, level
Task: Fetch level from wind_speed where qc exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021027 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, value, lat, depth
Sensor: evaporation | fields: unit, qc, level, reading
Task: Retrieve value from cloud_cover whose qc is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021028 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, lon, value, qc
Sensor: dew_point | fields: lon, unit, type, reading
Task: Retrieve lon from wind_speed with depth above the MIN(reading) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"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_021029 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: ts, qc, value, depth
Sensor: sunlight | fields: depth, reading, type, qc
Task: Retrieve value from visibility that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021030 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: ts, qc, reading, depth
Sensor: visibility | fields: level, type, unit, lon
Task: Get reading from evaporation where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"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_021031 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: ts, lat, depth, level
Sensor: temperature | fields: type, qc, reading, lat
Task: Fetch lat from evaporation where value is greater than the average of value in temperature for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021032 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: level, lon, ts, reading
Sensor: frost | fields: ts, level, value, unit
Task: Get reading from sunlight where a corresponding entry exists in frost with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021033 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: reading, value, unit, lat
Sensor: frost | fields: qc, depth, level, value
Task: Fetch level from visibility where value is greater than the total of reading in frost for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021034 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: type, unit, qc, lat
Sensor: sunlight | fields: lat, lon, unit, value
Task: Get depth from humidity where a corresponding entry exists in sunlight with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021035 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, reading, lon, depth
Sensor: pressure | fields: level, ts, value, depth
Task: Fetch lon from turbidity where reading is greater than the total of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021036 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: value, reading, unit, type
Sensor: rainfall | fields: lon, reading, unit, ts
Task: Retrieve value from drought_index whose type is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021037 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: level, value, lon, type
Sensor: temperature | fields: unit, ts, lon, qc
Task: Fetch level from sunlight where reading is greater than the minimum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021038 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, level, unit, lon
Sensor: uv_index | fields: value, type, qc, lat
Task: Get lat from turbidity where a corresponding entry exists in uv_index with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021039 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: ts, qc, unit, depth
Sensor: sunlight | fields: ts, depth, type, value
Task: Retrieve value from turbidity whose unit is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021040 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: level, depth, unit, qc
Sensor: snow_depth | fields: ts, level, type, qc
Task: Get value from dew_point where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021041 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: level, depth, unit, ts
Sensor: visibility | fields: reading, unit, level, depth
Task: Fetch level from humidity that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021042 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: level, depth, reading, lon
Sensor: drought_index | fields: lon, level, reading, value
Task: Fetch reading from frost where type exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021043 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: depth, lat, reading, unit
Sensor: visibility | fields: type, lon, reading, level
Task: Retrieve depth from cloud_cover with value above the MIN(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021044 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lon, ts, unit, reading
Sensor: humidity | fields: level, depth, reading, lat
Task: Fetch value from lightning that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021045 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: lon, type, qc, unit
Sensor: sunlight | fields: depth, qc, lon, value
Task: Retrieve lon from frost with value above the MIN(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021046 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lat, reading, unit
Sensor: visibility | fields: value, type, reading, depth
Task: Fetch value from cloud_cover that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021047 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: unit, reading, lon, depth
Sensor: humidity | fields: unit, type, depth, value
Task: Fetch value from uv_index where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021048 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: reading, value, qc, depth
Sensor: temperature | fields: qc, reading, ts, lat
Task: Get reading from visibility where a corresponding entry exists in temperature with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021049 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: lat, lon, level, ts
Sensor: lightning | fields: reading, qc, lon, level
Task: Get level from visibility where value exceeds the minimum reading from lightning for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021050 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: depth, qc, unit, type
Sensor: cloud_cover | fields: depth, lat, level, reading
Task: Fetch lon from sunlight where depth is greater than the count of of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021051 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, lon, ts, reading
Sensor: pressure | fields: type, reading, qc, level
Task: Retrieve value from temperature with reading above the MIN(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
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": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021052 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: ts, lon, qc, reading
Sensor: snow_depth | fields: ts, type, depth, reading
Task: Fetch lon from air_quality where depth exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021053 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: depth, lat, type, unit
Sensor: humidity | fields: unit, lat, lon, depth
Task: Get depth from sunlight where value exceeds the average reading from humidity for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021054 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lon, unit, reading, qc
Sensor: turbidity | fields: ts, level, lat, unit
Task: Get lat from rainfall where value exceeds the maximum reading from turbidity for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021055 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: level, depth, unit, type
Sensor: dew_point | fields: unit, type, depth, ts
Task: Get value from drought_index where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021056 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, reading, ts
Sensor: pressure | fields: ts, value, level, reading
Task: Retrieve depth from turbidity with depth above the SUM(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021057 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lon, lat, reading
Sensor: air_quality | fields: ts, lon, qc, depth
Task: Get value from soil_moisture where depth exceeds the minimum reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021058 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: type, unit, level, reading
Sensor: humidity | fields: ts, reading, type, depth
Task: Get reading from frost where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021059 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, type, ts
Sensor: sunlight | fields: level, unit, lon, type
Task: Retrieve level from pressure whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021060 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, reading, lon, ts
Sensor: snow_depth | fields: level, lat, unit, qc
Task: Get lon from wind_speed where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021061 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: value, type, qc, ts
Sensor: frost | fields: level, type, value, qc
Task: Retrieve level from humidity with reading above the AVG(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021062 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, type, ts, unit
Sensor: turbidity | fields: qc, level, ts, value
Task: Retrieve value from rainfall whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021063 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: type, value, qc, reading
Sensor: snow_depth | fields: value, lon, level, lat
Task: Retrieve lat from uv_index whose unit is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021064 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: unit, value, lon, depth
Sensor: snow_depth | fields: value, unit, reading, ts
Task: Get depth from pressure where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021065 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: ts, lat, lon, reading
Sensor: uv_index | fields: lat, depth, ts, lon
Task: Retrieve value from drought_index whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021066 | train |
v3 | Sensor network script:
Node: frost | code: hub | fields: lon, lat, level, reading
Sensor: humidity | fields: lat, depth, unit, type
Task: Get lat from frost where value exceeds the count of depth from humidity for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021067 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, type, lat, depth
Sensor: pressure | fields: ts, reading, lon, type
Task: Retrieve lat from soil_moisture with depth above the MAX(reading) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021068 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: unit, depth, ts, lon
Sensor: lightning | fields: depth, qc, ts, lon
Task: Get depth from drought_index where depth appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021069 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: depth, ts, type, lon
Sensor: pressure | fields: lat, type, level, value
Task: Retrieve lat from humidity with depth above the MAX(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021070 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, depth, lat, level
Sensor: soil_moisture | fields: depth, reading, lat, value
Task: Fetch value from snow_depth where ts exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021071 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: qc, lon, level, lat
Sensor: turbidity | fields: type, value, lat, ts
Task: Retrieve lat from rainfall whose ts is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021072 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: reading, value, type, depth
Sensor: dew_point | fields: value, lat, ts, level
Task: Retrieve lon from sunlight with reading above the MIN(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021073 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: lon, type, value, unit
Sensor: soil_moisture | fields: level, lon, lat, qc
Task: Retrieve level from rainfall whose type is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021074 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: reading, ts, depth, unit
Sensor: evaporation | fields: lat, depth, ts, value
Task: Retrieve depth from drought_index whose qc is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021075 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, ts, level, lat
Sensor: visibility | fields: level, ts, lon, unit
Task: Fetch level from pressure that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021076 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lon, level, ts, value
Sensor: evaporation | fields: ts, qc, reading, unit
Task: Fetch lat from turbidity where depth is greater than the total of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021077 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lat, depth, type, level
Sensor: sunlight | fields: lon, ts, lat, type
Task: Retrieve lon from evaporation whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021078 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, ts, depth, lon
Sensor: lightning | fields: level, qc, type, reading
Task: Retrieve reading from drought_index with reading above the SUM(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021079 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, lat, reading, depth
Sensor: dew_point | fields: depth, lat, reading, type
Task: Get depth from wind_speed where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021080 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: unit, ts, lon, qc
Sensor: pressure | fields: depth, value, unit, qc
Task: Fetch reading from turbidity where depth is greater than the total of depth in pressure for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021081 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: qc, unit, level, ts
Sensor: uv_index | fields: lon, value, lat, unit
Task: Get level from dew_point where a corresponding entry exists in uv_index with the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021082 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, lon, unit, qc
Sensor: snow_depth | fields: unit, depth, level, type
Task: Fetch depth from air_quality where value is greater than the count of of reading in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021083 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, reading, qc, lon
Sensor: dew_point | fields: qc, ts, value, reading
Task: Retrieve depth from visibility with depth above the MAX(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021084 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: unit, reading, qc, level
Sensor: frost | fields: depth, reading, level, ts
Task: Fetch level from lightning where value is greater than the total of value in frost for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021085 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: value, lat, depth, type
Sensor: temperature | fields: level, lat, qc, lon
Task: Retrieve lat from humidity that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021086 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: ts, lon, reading, value
Sensor: temperature | fields: lon, reading, depth, unit
Task: Get value from frost where a corresponding entry exists in temperature with the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021087 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, reading, ts, depth
Sensor: visibility | fields: ts, depth, type, lat
Task: Get lon from cloud_cover where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021088 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, type, lat, level
Sensor: soil_moisture | fields: reading, lat, level, depth
Task: Retrieve lat from humidity with value above the MAX(reading) of soil_moisture readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021089 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, ts, type, lon
Sensor: dew_point | fields: unit, type, qc, lon
Task: Retrieve level from soil_moisture whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021090 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: unit, ts, lat, depth
Sensor: humidity | fields: reading, depth, unit, type
Task: Fetch lon from turbidity where reading is greater than the average of reading in humidity for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021091 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: unit, lon, depth, ts
Sensor: rainfall | fields: level, lon, value, reading
Task: Fetch depth from wind_speed where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021092 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, lat, unit, level
Sensor: temperature | fields: ts, lat, depth, qc
Task: Retrieve reading from drought_index that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021093 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lon, unit, level, lat
Sensor: pressure | fields: lat, type, value, reading
Task: Fetch lat from frost where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021094 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: unit, qc, reading, depth
Sensor: pressure | fields: lat, reading, level, ts
Task: Fetch lon from frost where reading is greater than the count of of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021095 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, lon, reading, ts
Sensor: drought_index | fields: depth, lat, lon, ts
Task: Retrieve level from rainfall with reading above the SUM(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021096 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lat, ts, qc, depth
Sensor: drought_index | fields: lon, level, ts, type
Task: Fetch level from pressure that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021097 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: reading, unit, ts, level
Sensor: evaporation | fields: unit, lat, type, depth
Task: Get lon from air_quality where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_021098 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, qc, reading, unit
Sensor: wind_speed | fields: reading, unit, lat, level
Task: Fetch value from turbidity that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_021099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.