variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: temperature | code: prt | fields: reading, qc, level, ts
Sensor: evaporation | fields: unit, depth, reading, level
Task: Fetch lat from temperature that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078100 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, reading, unit, value
Sensor: evaporation | fields: lon, ts, lat, depth
Task: Retrieve level from sunlight whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078101 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, level, lon, unit
Sensor: cloud_cover | fields: value, lat, depth, unit
Task: Fetch lat from rainfall where unit exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078102 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, value, unit, type
Sensor: pressure | fields: depth, value, unit, ts
Task: Retrieve reading from air_quality that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078103 | train |
v2 | Sensor network script:
Node: wind_speed | code: clr | fields: depth, level, lon, reading
Sensor: air_quality | fields: lon, reading, ts, lat
Task: Get level from wind_speed where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078104 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lat, level, reading, value
Sensor: wind_speed | fields: lon, ts, reading, qc
Task: Fetch level from pressure where ts exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078105 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, lon, ts, depth
Sensor: evaporation | fields: lon, qc, type, depth
Task: Get lon from cloud_cover where qc appears in evaporation readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078106 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, qc, depth, unit
Sensor: drought_index | fields: lon, lat, depth, qc
Task: Retrieve lat from snow_depth whose qc is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078107 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: lon, ts, qc, depth
Sensor: drought_index | fields: lat, unit, ts, depth
Task: Get value from rainfall where depth exceeds the maximum depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078108 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, value, qc, lon
Sensor: rainfall | fields: type, reading, lat, level
Task: Retrieve value from pressure with reading above the AVG(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078109 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: unit, type, lon, level
Sensor: lightning | fields: unit, lon, reading, value
Task: Get lon from temperature where value exceeds the total reading from lightning for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078110 | train |
v1 | Sensor network script:
Node: humidity | code: mst | fields: qc, level, ts, type
Sensor: drought_index | fields: reading, lat, depth, type
Task: Get lon from humidity where type appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078111 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: depth, lat, ts, lon
Sensor: drought_index | fields: ts, type, level, depth
Task: Get depth from dew_point where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078112 | train |
v3 | Sensor network script:
Node: uv_index | code: clr | fields: lat, reading, lon, qc
Sensor: sunlight | fields: lon, ts, reading, unit
Task: Retrieve level from uv_index with depth above the MIN(reading) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078113 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, lat, reading, ts
Sensor: rainfall | fields: unit, type, ts, value
Task: Retrieve lon from air_quality that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078114 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: ts, lon, qc, level
Sensor: rainfall | fields: level, lat, lon, qc
Task: Retrieve value from frost with value above the MIN(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078115 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: ts, value, depth, lat
Sensor: dew_point | fields: value, reading, depth, ts
Task: Fetch lat from lightning where value is greater than the minimum of value in dew_point for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078116 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: level, lon, depth, reading
Sensor: visibility | fields: lon, depth, unit, lat
Task: Get reading from humidity where type appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078117 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: value, type, unit, qc
Sensor: wind_speed | fields: value, lat, depth, type
Task: Fetch depth from temperature that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078118 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: type, reading, level, lat
Sensor: air_quality | fields: value, unit, qc, type
Task: Get level from lightning where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078119 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: level, ts, depth, value
Sensor: cloud_cover | fields: lat, value, reading, depth
Task: Fetch lon from wind_speed where unit exists in cloud_cover sensor data for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078120 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: lon, qc, reading, ts
Sensor: turbidity | fields: ts, value, lat, level
Task: Retrieve reading from frost with value above the MAX(reading) of turbidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078121 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: lon, lat, level, ts
Sensor: drought_index | fields: level, reading, unit, depth
Task: Get lon from rainfall where qc appears in drought_index readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078122 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, lon, level, qc
Sensor: temperature | fields: type, qc, reading, lon
Task: Retrieve reading from wind_speed with value above the SUM(depth) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078123 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: qc, ts, unit, type
Sensor: rainfall | fields: level, value, reading, depth
Task: Retrieve lat from lightning whose depth is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078124 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, level, lat, reading
Sensor: wind_speed | fields: qc, reading, value, depth
Task: Get reading from drought_index where qc appears in wind_speed readings with matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078125 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, type, reading, qc
Sensor: cloud_cover | fields: depth, ts, qc, reading
Task: Retrieve lon from snow_depth with value above the MIN(depth) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078126 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: lon, reading, value, depth
Sensor: wind_speed | fields: qc, lat, level, reading
Task: Fetch level from soil_moisture that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078127 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: depth, lon, type, ts
Sensor: rainfall | fields: unit, level, lat, type
Task: Get reading from frost where qc appears in rainfall readings with matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078128 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, type, unit, ts
Sensor: humidity | fields: lon, type, reading, level
Task: Fetch lat from lightning where depth exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078129 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: ts, type, qc, reading
Sensor: wind_speed | fields: depth, lat, unit, ts
Task: Get reading from visibility where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078130 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, depth, reading, qc
Sensor: turbidity | fields: reading, unit, ts, depth
Task: Fetch lat from temperature where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078131 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, unit, ts, reading
Sensor: lightning | fields: unit, reading, qc, depth
Task: Fetch value from dew_point that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078132 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, lat, type, unit
Sensor: sunlight | fields: type, lon, value, unit
Task: Get lon from soil_moisture where reading exceeds the total reading from sunlight for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078133 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: ts, type, reading, lat
Sensor: lightning | fields: qc, type, value, level
Task: Fetch reading from visibility where qc exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078134 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: lat, level, lon, value
Sensor: soil_moisture | fields: reading, value, depth, lat
Task: Get level from rainfall where depth exceeds the average depth from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078135 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: value, lon, lat, level
Sensor: temperature | fields: depth, value, ts, reading
Task: Retrieve reading from evaporation whose ts is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078136 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, depth, unit
Sensor: air_quality | fields: unit, level, value, ts
Task: Retrieve lon from soil_moisture whose qc is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078137 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, level, type, value
Sensor: frost | fields: level, ts, qc, lon
Task: Fetch value from soil_moisture that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078138 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, lon, qc, lat
Sensor: dew_point | fields: type, depth, ts, reading
Task: Retrieve reading from drought_index that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078139 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: value, reading, unit, type
Sensor: frost | fields: lon, level, lat, type
Task: Fetch value from snow_depth where value is greater than the total of depth in frost for matching depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"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_078140 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, ts, lon, depth
Sensor: snow_depth | fields: value, qc, type, level
Task: Get lat from sunlight where type appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078141 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, lat, level, unit
Sensor: drought_index | fields: qc, ts, level, lat
Task: Retrieve lon from pressure that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078142 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: unit, level, reading, lat
Sensor: soil_moisture | fields: ts, depth, level, unit
Task: Get value from rainfall where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078143 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: type, reading, level, depth
Sensor: soil_moisture | fields: unit, lon, ts, value
Task: Get lon from frost where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078144 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, depth, level, ts
Sensor: snow_depth | fields: unit, reading, depth, level
Task: Retrieve lat from drought_index with value above the MIN(reading) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"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_078145 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: type, lon, unit, reading
Sensor: temperature | fields: reading, ts, qc, lat
Task: Retrieve reading from evaporation whose unit is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078146 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lon, depth, ts, unit
Sensor: lightning | fields: value, ts, level, qc
Task: Retrieve depth from evaporation whose type is found in lightning records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078147 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: unit, lat, depth, type
Sensor: snow_depth | fields: type, value, level, lon
Task: Get value from soil_moisture where reading exceeds the count of value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078148 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: unit, depth, lon, value
Sensor: snow_depth | fields: lon, value, qc, ts
Task: Fetch value from soil_moisture where value is greater than the average of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078149 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lat, ts, unit, depth
Sensor: frost | fields: qc, type, unit, lat
Task: Retrieve value from pressure with reading above the MIN(depth) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078150 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: value, ts, qc, depth
Sensor: temperature | fields: reading, lat, qc, level
Task: Fetch lon from pressure that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078151 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: level, qc, lon, depth
Sensor: sunlight | fields: lon, qc, unit, ts
Task: Retrieve reading from temperature whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078152 | train |
v1 | Sensor network script:
Node: dew_point | code: clr | fields: qc, level, depth, value
Sensor: temperature | fields: lon, value, qc, ts
Task: Fetch level from dew_point where depth exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078153 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, lat, ts, depth
Sensor: humidity | fields: lat, reading, lon, level
Task: Fetch depth from air_quality where reading is greater than the count of of reading in humidity for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"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_078154 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, value, type, ts
Sensor: visibility | fields: lon, lat, unit, depth
Task: Get lat from humidity where reading exceeds the average reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078155 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: value, depth, reading, unit
Sensor: visibility | fields: lon, unit, lat, level
Task: Fetch lat from dew_point where qc exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078156 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: unit, lat, value, lon
Sensor: humidity | fields: depth, ts, lon, value
Task: Retrieve lon from drought_index whose unit is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078157 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, lat, level, ts
Sensor: pressure | fields: lat, qc, level, lon
Task: Retrieve lon from evaporation whose ts is found in pressure records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078158 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, level, depth, value
Sensor: frost | fields: level, lat, ts, lon
Task: Get lon from evaporation where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078159 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: ts, unit, value, reading
Sensor: pressure | fields: depth, value, qc, level
Task: Fetch level from air_quality where value is greater than the minimum of reading in pressure for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078160 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, lon, value, ts
Sensor: pressure | fields: qc, level, type, value
Task: Fetch lat from lightning that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078161 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, value, type, unit
Sensor: dew_point | fields: type, reading, ts, lat
Task: Retrieve reading from cloud_cover with depth above the AVG(reading) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078162 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, lon, unit, value
Sensor: wind_speed | fields: lon, ts, unit, value
Task: Fetch level from pressure that have at least one corresponding wind_speed measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078163 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, ts, lon, qc
Sensor: humidity | fields: unit, type, lon, qc
Task: Fetch reading from rainfall where type exists in humidity sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078164 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lat, value, qc, unit
Sensor: rainfall | fields: level, unit, depth, lat
Task: Fetch level from dew_point where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078165 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: value, lat, reading, ts
Sensor: rainfall | fields: ts, depth, lat, unit
Task: Retrieve lon from temperature that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078166 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, reading, unit, qc
Sensor: rainfall | fields: type, value, lat, lon
Task: Get level from pressure where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078167 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: value, reading, lat, type
Sensor: lightning | fields: ts, lat, depth, level
Task: Fetch depth from evaporation where reading is greater than the total of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078168 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: ts, reading, depth, lat
Sensor: cloud_cover | fields: ts, level, lon, unit
Task: Get value from snow_depth where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078169 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: qc, value, reading, depth
Sensor: rainfall | fields: lat, type, ts, level
Task: Retrieve lat from humidity with depth above the MIN(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078170 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: ts, lon, value, lat
Sensor: turbidity | fields: unit, qc, type, reading
Task: Retrieve lon from cloud_cover whose qc is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078171 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, reading, value, lon
Sensor: evaporation | fields: unit, reading, level, depth
Task: Get lat from rainfall where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078172 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: unit, depth, ts, level
Sensor: lightning | fields: lat, type, unit, ts
Task: Get reading from temperature where a corresponding entry exists in lightning with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078173 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, lat, unit, reading
Sensor: evaporation | fields: depth, level, value, unit
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078174 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: reading, level, qc, depth
Sensor: rainfall | fields: level, ts, lat, unit
Task: Get value from turbidity where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078175 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: lat, type, level, unit
Sensor: uv_index | fields: ts, lon, qc, level
Task: Retrieve reading from lightning whose type is found in uv_index records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078176 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: qc, lat, type, unit
Sensor: evaporation | fields: ts, type, qc, value
Task: Fetch depth from turbidity where value is greater than the average of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078177 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: level, qc, lat, ts
Sensor: uv_index | fields: ts, depth, reading, value
Task: Get reading from dew_point where depth exceeds the maximum value from uv_index for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078178 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, level, value, depth
Sensor: air_quality | fields: value, depth, type, lat
Task: Retrieve lon from visibility that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078179 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, qc, depth, lon
Sensor: evaporation | fields: depth, reading, type, ts
Task: Fetch level from visibility where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078180 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: type, lon, ts, depth
Sensor: frost | fields: lon, qc, depth, value
Task: Get lon from pressure where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078181 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: depth, reading, unit, lon
Sensor: visibility | fields: depth, level, lon, value
Task: Get value from temperature where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078182 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, ts, type
Sensor: air_quality | fields: level, depth, unit, qc
Task: Fetch lon from cloud_cover that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078183 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, value, lon, type
Sensor: visibility | fields: type, reading, lon, value
Task: Retrieve lon from rainfall that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078184 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: lon, value, unit, depth
Sensor: rainfall | fields: ts, depth, unit, lat
Task: Get lon from visibility where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078185 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, level, type, lat
Sensor: cloud_cover | fields: value, depth, lon, type
Task: Get reading from evaporation where unit appears in cloud_cover readings with matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078186 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: ts, depth, qc, reading
Sensor: drought_index | fields: lon, reading, depth, unit
Task: Retrieve level from pressure with value above the MIN(reading) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078187 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: reading, unit, lat, level
Sensor: air_quality | fields: reading, lat, unit, qc
Task: Get value from temperature where a corresponding entry exists in air_quality with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078188 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: lat, ts, value, qc
Sensor: frost | fields: depth, level, qc, lat
Task: Fetch value from snow_depth where reading is greater than the count of of value in frost for matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078189 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: ts, lon, depth, type
Sensor: humidity | fields: unit, qc, value, ts
Task: Retrieve reading from soil_moisture that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078190 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: lat, qc, unit, type
Sensor: drought_index | fields: unit, lat, value, reading
Task: Retrieve lon from rainfall that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078191 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: level, reading, qc, depth
Sensor: frost | fields: value, depth, lon, reading
Task: Get reading from drought_index where reading exceeds the count of value from frost for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078192 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: qc, level, lon, lat
Sensor: humidity | fields: value, depth, unit, ts
Task: Retrieve value from wind_speed whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078193 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: value, qc, lat, level
Sensor: temperature | fields: value, lon, depth, type
Task: Fetch value from air_quality where value is greater than the maximum of value in temperature for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078194 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: ts, level, reading, lat
Sensor: frost | fields: ts, qc, level, lon
Task: Get lon from lightning where a corresponding entry exists in frost with the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078195 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, level, reading, qc
Sensor: cloud_cover | fields: lat, depth, reading, qc
Task: Retrieve value from snow_depth whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078196 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: value, lat, depth, unit
Sensor: turbidity | fields: type, ts, value, qc
Task: Fetch reading from lightning that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078197 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: lon, lat, reading, value
Sensor: dew_point | fields: unit, type, lat, lon
Task: Retrieve reading from humidity whose ts is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_078198 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, unit, lat, type
Sensor: visibility | fields: lat, value, qc, ts
Task: Retrieve value from humidity with reading above the MIN(value) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_078199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.