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: air_quality | code: gst | fields: unit, value, qc, lat
Sensor: frost | fields: reading, depth, type, lat
Task: Get lat from air_quality where a corresponding entry exists in frost with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043200 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: level, value, ts, lon
Sensor: visibility | fields: lon, reading, unit, lat
Task: Retrieve lat from drought_index with value above the AVG(value) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043201 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: level, ts, lon, unit
Sensor: soil_moisture | fields: lon, ts, depth, lat
Task: Retrieve reading from drought_index whose ts is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043202 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, lat, type, qc
Sensor: turbidity | fields: depth, type, lat, level
Task: Get lon from soil_moisture where a corresponding entry exists in turbidity with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043203 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lat, depth, type
Sensor: sunlight | fields: lat, qc, lon, depth
Task: Retrieve lon from evaporation whose depth is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043204 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: reading, qc, ts, type
Sensor: snow_depth | fields: level, depth, lat, value
Task: Get value from rainfall where qc appears in snow_depth readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043205 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: reading, ts, level, unit
Sensor: rainfall | fields: type, value, unit, level
Task: Fetch lat from lightning that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043206 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: ts, depth, qc, unit
Sensor: uv_index | fields: type, qc, unit, depth
Task: Retrieve depth from sunlight that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043207 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: unit, value, ts, reading
Sensor: frost | fields: reading, type, value, qc
Task: Fetch level from wind_speed where reading is greater than the maximum of depth in frost for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043208 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: depth, lon, level, value
Sensor: pressure | fields: lon, value, depth, reading
Task: Retrieve value from snow_depth that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043209 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: value, depth, ts, qc
Sensor: drought_index | fields: lon, ts, value, unit
Task: Retrieve lon from rainfall with depth above the COUNT(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043210 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: reading, type, lon, qc
Sensor: soil_moisture | fields: unit, lon, ts, type
Task: Fetch lat from sunlight that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043211 | train |
v3 | Sensor network script:
Node: turbidity | code: prt | fields: qc, value, reading, type
Sensor: rainfall | fields: level, lon, ts, qc
Task: Fetch lat from turbidity where reading is greater than the maximum of value in rainfall for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043212 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, ts, unit, lat
Sensor: frost | fields: type, level, ts, lat
Task: Get depth from cloud_cover where reading exceeds the average reading from frost for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043213 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, lon, type, qc
Sensor: uv_index | fields: lat, type, qc, unit
Task: Fetch reading from frost where reading is greater than the count of of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043214 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: level, value, ts, lat
Sensor: dew_point | fields: lon, level, reading, depth
Task: Retrieve lat from humidity whose depth is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043215 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: reading, lat, value, ts
Sensor: turbidity | fields: lat, reading, type, ts
Task: Retrieve depth from pressure with depth above the MIN(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043216 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: value, lat, unit, lon
Sensor: humidity | fields: type, depth, unit, value
Task: Get lat from air_quality where a corresponding entry exists in humidity with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043217 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: unit, lon, reading, value
Sensor: sunlight | fields: reading, level, lon, type
Task: Fetch level from evaporation where reading is greater than the count of of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043218 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, ts, lon, lat
Sensor: temperature | fields: qc, unit, lon, depth
Task: Get level from wind_speed where a corresponding entry exists in temperature with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043219 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: qc, value, depth, lon
Sensor: temperature | fields: lon, unit, value, depth
Task: Get depth from pressure where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043220 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: level, lat, qc, reading
Sensor: cloud_cover | fields: level, ts, lat, lon
Task: Fetch lat from wind_speed where unit exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043221 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: type, depth, unit, value
Sensor: turbidity | fields: qc, ts, reading, depth
Task: Get value from cloud_cover where reading exceeds the minimum value from turbidity for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043222 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: level, depth, reading, qc
Sensor: sunlight | fields: ts, unit, reading, lat
Task: Get depth from snow_depth where ts appears in sunlight readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043223 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, lat, value, type
Sensor: wind_speed | fields: ts, reading, unit, depth
Task: Get lon from snow_depth where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043224 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: reading, depth, qc, ts
Sensor: dew_point | fields: depth, qc, value, unit
Task: Fetch level from lightning where reading is greater than the minimum of depth in dew_point for matching type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043225 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, qc, lat, level
Sensor: drought_index | fields: level, depth, value, reading
Task: Retrieve lon from sunlight whose ts is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043226 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, level, value, depth
Sensor: snow_depth | fields: depth, lon, ts, reading
Task: Fetch value from visibility where qc exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043227 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, reading, depth, unit
Sensor: soil_moisture | fields: value, unit, lon, depth
Task: Retrieve reading from humidity with reading above the COUNT(value) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043228 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: depth, lon, qc, type
Sensor: frost | fields: type, level, lon, lat
Task: Fetch reading from soil_moisture where depth exists in frost sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043229 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, value, ts, depth
Sensor: turbidity | fields: unit, ts, lat, level
Task: Fetch lat from rainfall where depth exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043230 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: unit, depth, level, qc
Sensor: visibility | fields: qc, type, value, unit
Task: Get lon from cloud_cover where type appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043231 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: unit, reading, lon, qc
Sensor: air_quality | fields: qc, depth, type, value
Task: Get value from snow_depth where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043232 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: reading, level, unit, type
Sensor: drought_index | fields: level, lon, type, lat
Task: Get level from dew_point where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043233 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: qc, type, lat, ts
Sensor: humidity | fields: reading, level, lon, lat
Task: Retrieve reading from uv_index with reading above the AVG(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043234 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: reading, qc, type, ts
Sensor: evaporation | fields: type, ts, reading, depth
Task: Retrieve level from rainfall whose unit is found in evaporation records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043235 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, depth, value, type
Sensor: wind_speed | fields: qc, depth, lat, ts
Task: Get lon from sunlight where a corresponding entry exists in wind_speed with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043236 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: lat, type, depth, ts
Sensor: air_quality | fields: depth, unit, type, qc
Task: Retrieve value from drought_index whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043237 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, value, reading, level
Sensor: lightning | fields: type, reading, unit, lon
Task: Fetch depth from drought_index that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043238 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, lon, type, qc
Sensor: rainfall | fields: unit, type, lat, reading
Task: Retrieve reading from lightning whose type is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043239 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: lat, reading, level, type
Sensor: air_quality | fields: lat, qc, reading, ts
Task: Fetch lon from soil_moisture where type exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043240 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, level, reading, ts
Sensor: sunlight | fields: level, depth, value, ts
Task: Retrieve reading from lightning that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043241 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, level, reading, unit
Sensor: turbidity | fields: level, unit, type, lat
Task: Get level from wind_speed where value exceeds the average reading from turbidity for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"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_043242 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, qc, reading, type
Sensor: frost | fields: value, depth, lat, lon
Task: Fetch lat from lightning that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043243 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, reading, level, qc
Sensor: turbidity | fields: type, ts, reading, level
Task: Get depth from drought_index where depth exceeds the count of depth from turbidity for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043244 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: unit, lon, lat, reading
Sensor: pressure | fields: value, lat, depth, reading
Task: Fetch value from cloud_cover where depth is greater than the maximum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043245 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, ts, type, lon
Sensor: turbidity | fields: qc, value, reading, depth
Task: Get level from pressure where reading exceeds the average reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043246 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: unit, value, qc, lon
Sensor: visibility | fields: depth, level, unit, ts
Task: Fetch reading from wind_speed where value is greater than the maximum of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043247 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: ts, qc, level, unit
Sensor: dew_point | fields: reading, lat, ts, level
Task: Get depth from lightning where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043248 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, depth, lat, unit
Sensor: evaporation | fields: reading, level, qc, ts
Task: Fetch depth from pressure where ts exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043249 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: lon, reading, unit, level
Sensor: turbidity | fields: lat, level, lon, depth
Task: Fetch lon from humidity where value is greater than the minimum of reading in turbidity for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043250 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: type, ts, lat, depth
Sensor: uv_index | fields: ts, depth, type, qc
Task: Retrieve value from pressure that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043251 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: level, depth, unit, lon
Sensor: temperature | fields: qc, reading, lat, depth
Task: Fetch reading from wind_speed that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043252 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, lon, qc, level
Sensor: snow_depth | fields: unit, type, value, qc
Task: Get depth from drought_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043253 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: value, depth, ts, lon
Sensor: wind_speed | fields: ts, value, reading, type
Task: Fetch value from air_quality where ts exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043254 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: type, reading, lon, depth
Sensor: pressure | fields: lat, ts, depth, reading
Task: Fetch value from humidity where value is greater than the total of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043255 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: lon, depth, level, unit
Sensor: visibility | fields: lat, depth, ts, unit
Task: Retrieve reading from turbidity with depth above the AVG(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043256 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, qc, unit, depth
Sensor: uv_index | fields: unit, level, lon, depth
Task: Retrieve value from drought_index that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043257 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: unit, type, value, level
Sensor: visibility | fields: reading, qc, level, depth
Task: Fetch level from turbidity where qc exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043258 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, type, level, depth
Sensor: evaporation | fields: unit, lon, lat, value
Task: Get lon from air_quality where qc appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043259 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: depth, lon, type, unit
Sensor: visibility | fields: qc, lat, reading, depth
Task: Get lon from lightning where value exceeds the average reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043260 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: depth, value, unit, level
Sensor: evaporation | fields: value, lat, type, ts
Task: Get lat from rainfall where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043261 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: lon, level, type, reading
Sensor: uv_index | fields: lat, qc, type, level
Task: Fetch depth from snow_depth that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043262 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: level, value, qc, type
Sensor: wind_speed | fields: qc, level, depth, ts
Task: Fetch level from visibility where depth exists in wind_speed sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043263 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: type, lon, value, unit
Sensor: turbidity | fields: reading, level, qc, unit
Task: Fetch level from rainfall where value is greater than the minimum of depth in turbidity for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043264 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: depth, qc, level, value
Sensor: evaporation | fields: unit, value, depth, ts
Task: Get value from uv_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043265 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, value, type, lat
Sensor: wind_speed | fields: value, lat, level, reading
Task: Fetch reading from uv_index where depth is greater than the total of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043266 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: ts, depth, type, lat
Sensor: uv_index | fields: reading, ts, depth, lat
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043267 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lat, lon, type, level
Sensor: evaporation | fields: type, ts, lon, lat
Task: Retrieve value from soil_moisture whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043268 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: level, ts, unit, lat
Sensor: visibility | fields: value, ts, type, unit
Task: Get depth from wind_speed where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043269 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: ts, value, lat, reading
Sensor: frost | fields: reading, lon, qc, lat
Task: Retrieve lon from uv_index whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043270 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, unit, qc, type
Sensor: drought_index | fields: type, reading, lon, depth
Task: Get lon from wind_speed where depth exceeds the count of depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043271 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: level, depth, qc, ts
Sensor: visibility | fields: qc, depth, type, level
Task: Retrieve lon from soil_moisture whose unit is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043272 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: type, lat, unit, ts
Sensor: frost | fields: reading, type, lat, unit
Task: Fetch depth from dew_point that have at least one corresponding frost measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043273 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: reading, level, ts, unit
Sensor: pressure | fields: qc, ts, level, depth
Task: Retrieve level from visibility that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043274 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: level, lon, qc, lat
Sensor: cloud_cover | fields: value, unit, reading, depth
Task: Fetch level from uv_index where reading is greater than the maximum of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043275 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: unit, depth, qc, value
Sensor: dew_point | fields: type, qc, ts, unit
Task: Get level from pressure where depth appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043276 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, type, value, qc
Sensor: turbidity | fields: level, qc, lat, type
Task: Fetch value from humidity where ts exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043277 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, unit, value, lat
Sensor: humidity | fields: ts, value, level, depth
Task: Get depth from air_quality where ts appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043278 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: lon, depth, type, lat
Sensor: dew_point | fields: qc, ts, level, unit
Task: Retrieve depth from rainfall whose ts is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043279 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lat, reading, type, unit
Sensor: snow_depth | fields: value, lat, lon, unit
Task: Get value from pressure where reading exceeds the minimum depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043280 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: lon, qc, unit, depth
Sensor: dew_point | fields: ts, lat, unit, type
Task: Retrieve lat from visibility with value above the COUNT(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043281 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lon, type, value, qc
Sensor: air_quality | fields: lon, depth, type, lat
Task: Retrieve value from lightning that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043282 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: reading, depth, unit, lon
Sensor: wind_speed | fields: qc, lat, level, reading
Task: Get value from visibility where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043283 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, ts, qc, lat
Sensor: dew_point | fields: ts, unit, depth, lon
Task: Fetch value from cloud_cover where qc exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043284 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lon, reading, lat, value
Sensor: rainfall | fields: unit, type, lon, lat
Task: Retrieve depth from evaporation that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043285 | train |
v3 | Sensor network script:
Node: sunlight | code: prt | fields: lon, unit, level, reading
Sensor: drought_index | fields: value, unit, lat, reading
Task: Fetch level from sunlight where depth is greater than the maximum of value in drought_index for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043286 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, unit, value, lon
Sensor: humidity | fields: qc, level, value, type
Task: Retrieve level from cloud_cover whose depth is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043287 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: depth, lat, level, qc
Sensor: lightning | fields: level, ts, value, type
Task: Fetch reading from wind_speed where depth is greater than the maximum of reading in lightning for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("lightning", code="tnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043288 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: value, lat, level, lon
Sensor: drought_index | fields: qc, depth, lat, type
Task: Retrieve level from visibility whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043289 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: qc, lon, lat, depth
Sensor: air_quality | fields: depth, qc, ts, value
Task: Fetch lat from wind_speed where depth exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043290 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: ts, type, depth, level
Sensor: turbidity | fields: value, lat, lon, depth
Task: Fetch level from wind_speed that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043291 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: type, ts, level, lat
Sensor: temperature | fields: depth, type, lon, level
Task: Fetch depth from sunlight where reading is greater than the total of value in temperature for matching depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043292 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: reading, value, qc, ts
Sensor: humidity | fields: unit, type, qc, depth
Task: Retrieve reading from air_quality whose type is found in humidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043293 | train |
v2 | Sensor network script:
Node: air_quality | code: clr | fields: lon, value, ts, depth
Sensor: lightning | fields: level, reading, lat, qc
Task: Get value from air_quality where a corresponding entry exists in lightning with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043294 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: reading, lon, value, level
Sensor: air_quality | fields: type, qc, ts, reading
Task: Get level from frost where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043295 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, qc, ts, type
Sensor: lightning | fields: unit, depth, qc, lat
Task: Fetch value from sunlight where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043296 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: depth, reading, value, unit
Sensor: temperature | fields: lon, lat, reading, level
Task: Fetch reading from drought_index where reading is greater than the average of reading in temperature for matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_043297 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, reading, value, unit
Sensor: humidity | fields: lon, ts, lat, unit
Task: Retrieve reading from visibility that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043298 | train |
v2 | Sensor network script:
Node: snow_depth | code: prt | fields: ts, reading, depth, qc
Sensor: evaporation | fields: qc, ts, lat, level
Task: Get lon from snow_depth where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_043299 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.