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: wind_speed | code: mst | fields: lat, lon, reading, unit
Sensor: temperature | fields: lat, ts, depth, qc
Task: Get lon from wind_speed where unit appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080100 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: level, value, depth, unit
Sensor: wind_speed | fields: unit, ts, lon, lat
Task: Fetch level from snow_depth that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080101 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: qc, ts, lat, depth
Sensor: pressure | fields: ts, level, depth, reading
Task: Get lat from frost where reading exceeds the maximum depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080102 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, qc, reading, lon
Sensor: rainfall | fields: type, level, reading, unit
Task: Retrieve lon from humidity with reading above the COUNT(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080103 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: level, reading, ts, type
Sensor: cloud_cover | fields: unit, value, level, qc
Task: Get value from frost where unit appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080104 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, type, ts, value
Sensor: snow_depth | fields: qc, reading, lon, unit
Task: Retrieve value from lightning that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080105 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, reading, level, type
Sensor: air_quality | fields: level, lon, unit, value
Task: Get lat from humidity where type appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080106 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: depth, value, type, unit
Sensor: humidity | fields: level, qc, lat, lon
Task: Fetch depth from evaporation where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080107 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lat, level, reading, depth
Sensor: pressure | fields: lon, reading, unit, level
Task: Fetch lat from wind_speed where reading is greater than the total of reading in pressure for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080108 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: reading, value, lat, unit
Sensor: rainfall | fields: value, unit, depth, type
Task: Retrieve reading from humidity whose qc is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080109 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, value, unit, reading
Sensor: frost | fields: type, ts, lon, value
Task: Retrieve lon from wind_speed with depth above the COUNT(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080110 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: value, ts, qc, type
Sensor: lightning | fields: level, value, depth, lat
Task: Fetch lon from dew_point where value is greater than the average of reading in lightning for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080111 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, qc, level, type
Sensor: dew_point | fields: depth, value, ts, lat
Task: Get value from visibility where a corresponding entry exists in dew_point with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080112 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: type, ts, value, lon
Sensor: cloud_cover | fields: type, lon, level, ts
Task: Get lon from rainfall where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080113 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: depth, qc, reading, lat
Sensor: humidity | fields: value, lat, unit, depth
Task: Get lat from pressure where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080114 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: depth, qc, reading, lat
Sensor: visibility | fields: reading, lat, type, value
Task: Retrieve depth from frost with reading above the MIN(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080115 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, ts, qc, unit
Sensor: rainfall | fields: qc, lat, ts, depth
Task: Get depth from pressure where unit appears in rainfall readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080116 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: depth, level, lon, lat
Sensor: wind_speed | fields: level, lon, type, reading
Task: Retrieve reading from sunlight that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080117 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: level, qc, ts, lon
Sensor: dew_point | fields: unit, ts, type, value
Task: Fetch level from air_quality that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080118 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: unit, type, level, reading
Sensor: pressure | fields: level, qc, ts, lon
Task: Retrieve value from evaporation that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080119 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: ts, level, reading, unit
Sensor: uv_index | fields: unit, level, lon, ts
Task: Fetch value from visibility where value is greater than the minimum of depth in uv_index for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080120 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: reading, ts, lon, qc
Sensor: evaporation | fields: type, level, qc, depth
Task: Fetch lat from dew_point where value is greater than the minimum of value in evaporation for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080121 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, lon, reading, value
Sensor: visibility | fields: unit, reading, lat, level
Task: Fetch reading from soil_moisture that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080122 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: type, lon, ts, reading
Sensor: uv_index | fields: unit, ts, lon, type
Task: Fetch reading from lightning where depth exists in uv_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080123 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, type, depth, level
Sensor: humidity | fields: depth, value, type, qc
Task: Get level from air_quality where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080124 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, unit, lon
Sensor: turbidity | fields: lon, depth, lat, level
Task: Retrieve value from rainfall with reading above the AVG(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080125 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: type, reading, value, qc
Sensor: wind_speed | fields: level, depth, lat, value
Task: Get depth from rainfall where reading exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080126 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: ts, level, qc, reading
Sensor: drought_index | fields: depth, unit, lat, value
Task: Get value from frost where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080127 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: value, lon, depth, ts
Sensor: drought_index | fields: depth, lat, level, lon
Task: Retrieve lat from snow_depth that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080128 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, unit, level, lat
Sensor: wind_speed | fields: lat, value, depth, ts
Task: Retrieve lat from cloud_cover that have at least one matching reading in wind_speed sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080129 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, ts, reading, value
Sensor: snow_depth | fields: lon, type, level, lat
Task: Retrieve level from air_quality whose unit is found in snow_depth records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080130 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, lon, level, lat
Sensor: visibility | fields: level, lat, unit, lon
Task: Retrieve lat from snow_depth whose qc is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080131 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: depth, level, qc, value
Sensor: frost | fields: unit, reading, value, ts
Task: Fetch lon from humidity where value is greater than the maximum of reading in frost for matching ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080132 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, unit, reading, value
Sensor: pressure | fields: type, ts, depth, unit
Task: Retrieve level from air_quality whose qc is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080133 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, type, lon, level
Sensor: drought_index | fields: ts, level, value, type
Task: Get lat from pressure where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080134 | train |
v1 | Sensor network script:
Node: lightning | code: clr | fields: depth, reading, lat, level
Sensor: sunlight | fields: qc, type, ts, unit
Task: Get lat from lightning where unit appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080135 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lon, reading, depth, qc
Sensor: evaporation | fields: value, level, type, qc
Task: Get lat from turbidity where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080136 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: reading, unit, lat, type
Sensor: cloud_cover | fields: lat, qc, level, value
Task: Retrieve depth from temperature whose qc is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080137 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, level, type, unit
Sensor: dew_point | fields: unit, value, reading, qc
Task: Retrieve reading from cloud_cover with reading above the MAX(depth) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080138 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, level, value, qc
Sensor: pressure | fields: ts, reading, level, lon
Task: Get reading from temperature where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080139 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: level, ts, value, reading
Sensor: soil_moisture | fields: value, reading, level, type
Task: Fetch level from visibility where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080140 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: reading, lat, ts, level
Sensor: cloud_cover | fields: ts, reading, lon, value
Task: Retrieve depth from turbidity with depth above the COUNT(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080141 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, lon, type, ts
Sensor: soil_moisture | fields: lat, qc, type, ts
Task: Retrieve depth from wind_speed whose qc is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080142 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, type, lat, value
Sensor: air_quality | fields: lat, unit, reading, lon
Task: Fetch lon from drought_index that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080143 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: ts, lat, lon, level
Sensor: cloud_cover | fields: type, lon, unit, lat
Task: Get reading from sunlight where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080144 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, lon, lat, ts
Sensor: humidity | fields: lon, level, reading, depth
Task: Fetch depth from evaporation where depth exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080145 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, unit, level, qc
Sensor: lightning | fields: reading, depth, qc, unit
Task: Retrieve lon from air_quality that have at least one matching reading in lightning sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080146 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: depth, lon, level, reading
Sensor: sunlight | fields: type, qc, depth, lon
Task: Fetch lat from pressure where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080147 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: level, type, qc, lat
Sensor: visibility | fields: unit, ts, depth, lon
Task: Retrieve value from turbidity that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080148 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: ts, lat, qc, value
Sensor: snow_depth | fields: lon, value, level, type
Task: Get level from humidity where qc appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080149 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: value, lat, unit, type
Sensor: air_quality | fields: lat, reading, lon, level
Task: Get lon from frost where value exceeds the total depth from air_quality for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080150 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: qc, level, unit, type
Sensor: pressure | fields: level, qc, lat, lon
Task: Fetch lat from rainfall where unit exists in pressure sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080151 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: lon, unit, lat, reading
Sensor: humidity | fields: ts, lat, level, type
Task: Retrieve lat from lightning whose type is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080152 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: qc, depth, reading, lat
Sensor: lightning | fields: ts, qc, value, lon
Task: Get reading from dew_point where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080153 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: ts, value, lon, depth
Sensor: turbidity | fields: ts, lat, lon, level
Task: Fetch lat from rainfall where value is greater than the average of value in turbidity for matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080154 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: reading, unit, level, type
Sensor: pressure | fields: ts, qc, type, unit
Task: Retrieve depth from soil_moisture that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080155 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, qc, type, reading
Sensor: turbidity | fields: qc, depth, reading, ts
Task: Retrieve lat from uv_index that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080156 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: level, unit, ts, reading
Sensor: evaporation | fields: reading, lat, ts, lon
Task: Fetch value from turbidity where qc exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080157 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: unit, lat, qc, lon
Sensor: snow_depth | fields: reading, lon, depth, type
Task: Retrieve reading from sunlight whose unit is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080158 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, value, level, type
Sensor: uv_index | fields: level, value, type, lon
Task: Fetch level from cloud_cover where depth is greater than the minimum of value in uv_index for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080159 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, lon, unit, value
Sensor: soil_moisture | fields: depth, lon, lat, ts
Task: Retrieve reading from sunlight whose ts is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080160 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, ts, lat, reading
Sensor: cloud_cover | fields: unit, ts, depth, qc
Task: Fetch depth from pressure that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080161 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: reading, unit, type, qc
Sensor: humidity | fields: value, depth, qc, reading
Task: Fetch lon from turbidity where depth exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080162 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, qc, value, reading
Sensor: drought_index | fields: lat, depth, type, lon
Task: Fetch lat from cloud_cover where unit exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080163 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: depth, reading, level, lat
Sensor: drought_index | fields: unit, depth, lon, ts
Task: Retrieve depth from lightning whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080164 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: value, unit, qc, type
Sensor: temperature | fields: unit, reading, lat, value
Task: Get lat from pressure where reading exceeds the count of depth from temperature for the same type.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080165 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: value, ts, type, depth
Sensor: evaporation | fields: ts, reading, depth, qc
Task: Get reading from cloud_cover where value exceeds the count of depth from evaporation for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080166 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: value, ts, depth, lon
Sensor: dew_point | fields: depth, ts, level, lat
Task: Retrieve value from turbidity whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080167 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, lon, lat, ts
Sensor: dew_point | fields: ts, qc, lon, reading
Task: Get lon from air_quality where value exceeds the count of value from dew_point for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080168 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: reading, qc, unit, lon
Sensor: sunlight | fields: value, type, unit, ts
Task: Fetch depth from temperature where unit exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080169 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, lon, value, lat
Sensor: pressure | fields: lat, type, reading, ts
Task: Fetch lon from visibility where ts exists in pressure sensor data for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080170 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: unit, lon, lat, type
Sensor: turbidity | fields: depth, ts, qc, reading
Task: Fetch level from dew_point that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080171 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, level, depth, type
Sensor: temperature | fields: level, qc, unit, ts
Task: Get lat from snow_depth where value exceeds the average reading from temperature for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080172 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: unit, qc, type, depth
Sensor: visibility | fields: ts, lat, value, unit
Task: Get level from turbidity where value exceeds the maximum reading from visibility for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080173 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lat, unit, qc, depth
Sensor: pressure | fields: depth, value, lat, lon
Task: Retrieve depth from drought_index with reading above the COUNT(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080174 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: unit, ts, lon, reading
Sensor: dew_point | fields: type, qc, level, unit
Task: Fetch lat from pressure where type exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080175 | train |
v3 | Sensor network script:
Node: lightning | code: clr | fields: unit, depth, ts, reading
Sensor: drought_index | fields: qc, lat, depth, unit
Task: Get lat from lightning where depth exceeds the count of reading from drought_index for the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080176 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, ts, lat, value
Sensor: wind_speed | fields: value, reading, ts, depth
Task: Fetch value from sunlight that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080177 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: lat, depth, unit, level
Sensor: soil_moisture | fields: depth, value, type, level
Task: Get lon from visibility where reading exceeds the minimum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"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_080178 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: lat, lon, type, level
Sensor: uv_index | fields: lon, ts, reading, unit
Task: Retrieve depth from dew_point that have at least one matching reading in uv_index sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080179 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: depth, lon, type, qc
Sensor: rainfall | fields: value, level, lat, ts
Task: Retrieve lat from humidity whose depth is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080180 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: lat, level, unit, reading
Sensor: humidity | fields: reading, unit, type, qc
Task: Retrieve reading from drought_index whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080181 | train |
v2 | Sensor network script:
Node: turbidity | code: thr | fields: depth, type, value, qc
Sensor: pressure | fields: value, type, lon, ts
Task: Fetch value from turbidity that have at least one corresponding pressure measurement for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080182 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: value, qc, ts, reading
Sensor: sunlight | fields: unit, value, level, reading
Task: Get lat from lightning where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080183 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: ts, lat, value, unit
Sensor: sunlight | fields: unit, lat, value, level
Task: Fetch level from frost where value is greater than the total of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080184 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: ts, reading, level, type
Sensor: cloud_cover | fields: type, unit, level, depth
Task: Retrieve level from visibility whose depth is found in cloud_cover records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080185 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: qc, value, depth, type
Sensor: sunlight | fields: lon, depth, reading, lat
Task: Fetch reading from evaporation where reading is greater than the count of of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080186 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: value, type, lat, ts
Sensor: cloud_cover | fields: unit, lon, ts, value
Task: Get depth from snow_depth where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080187 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: lon, ts, qc, unit
Sensor: wind_speed | fields: reading, level, value, type
Task: Get level from visibility where reading exceeds the count of depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080188 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: level, qc, lon, reading
Sensor: snow_depth | fields: qc, ts, reading, level
Task: Get lon from rainfall where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080189 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: value, lon, level, ts
Sensor: visibility | fields: level, depth, qc, unit
Task: Fetch level from turbidity where type exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080190 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: reading, value, ts, depth
Sensor: pressure | fields: reading, ts, lat, qc
Task: Fetch lon from humidity that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080191 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: reading, ts, lat, value
Sensor: sunlight | fields: lon, unit, type, ts
Task: Retrieve depth from wind_speed with depth above the MAX(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080192 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, reading, lon, depth
Sensor: turbidity | fields: depth, lat, type, unit
Task: Retrieve depth from cloud_cover whose unit is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080193 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: depth, type, value, lat
Sensor: drought_index | fields: unit, type, ts, lon
Task: Fetch depth from uv_index that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080194 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, value, type, ts
Sensor: lightning | fields: unit, type, qc, ts
Task: Retrieve level from wind_speed with depth above the MIN(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080195 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: lon, value, reading, lat
Sensor: evaporation | fields: lat, depth, qc, reading
Task: Fetch value from dew_point that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080196 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: type, ts, lat, value
Sensor: uv_index | fields: value, reading, level, depth
Task: Retrieve reading from pressure whose qc is found in uv_index records where depth matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_080197 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: level, depth, qc, type
Sensor: temperature | fields: depth, level, unit, reading
Task: Fetch lon from lightning where unit exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080198 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, value, depth, ts
Sensor: air_quality | fields: reading, level, ts, unit
Task: Get value from wind_speed where reading exceeds the maximum reading from air_quality for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_080199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.