variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: frost | code: prt | fields: lat, lon, ts, reading
Sensor: evaporation | fields: unit, lat, value, ts
Task: Retrieve level from frost with reading above the AVG(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081000 | train |
v2 | Sensor network script:
Node: evaporation | code: prt | fields: level, unit, type, lat
Sensor: soil_moisture | fields: qc, type, reading, lon
Task: Get lon from evaporation where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081001 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, qc, value, depth
Sensor: wind_speed | fields: reading, level, lon, lat
Task: Get reading from visibility where reading exceeds the minimum depth from wind_speed for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081002 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: ts, lat, lon, level
Sensor: snow_depth | fields: lat, reading, qc, unit
Task: Retrieve level from air_quality that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081003 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: type, ts, lon, depth
Sensor: visibility | fields: lat, level, qc, value
Task: Get level from turbidity where depth exceeds the average reading from visibility for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081004 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: value, lon, ts, depth
Sensor: dew_point | fields: unit, value, lat, depth
Task: Get lat from snow_depth where depth exceeds the average value from dew_point for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081005 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: value, depth, qc, lon
Sensor: visibility | fields: unit, value, depth, qc
Task: Get value from temperature where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081006 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, unit, level, reading
Sensor: cloud_cover | fields: qc, depth, level, value
Task: Get value from drought_index where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081007 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, unit, ts, lat
Sensor: temperature | fields: ts, lat, unit, depth
Task: Fetch lat from frost where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081008 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: ts, reading, type, level
Sensor: temperature | fields: type, lon, qc, ts
Task: Get value from frost where qc appears in temperature readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081009 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, reading, level, lat
Sensor: frost | fields: unit, level, depth, type
Task: Get level from temperature where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081010 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: level, depth, value, reading
Sensor: uv_index | fields: value, depth, level, type
Task: Fetch lat from frost that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081011 | train |
v2 | Sensor network script:
Node: snow_depth | code: thr | fields: type, lon, qc, reading
Sensor: soil_moisture | fields: reading, qc, level, type
Task: Get reading from snow_depth where a corresponding entry exists in soil_moisture with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081012 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, qc, value, depth
Sensor: drought_index | fields: lat, type, qc, lon
Task: Get lon from visibility where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081013 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: qc, lat, ts, unit
Sensor: visibility | fields: type, depth, ts, qc
Task: Retrieve level from uv_index with depth above the MIN(reading) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081014 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: depth, reading, lat, qc
Sensor: air_quality | fields: unit, value, type, ts
Task: Get lon from humidity where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081015 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: depth, value, ts, unit
Sensor: snow_depth | fields: value, ts, unit, lat
Task: Fetch reading from cloud_cover that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081016 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: level, depth, qc, lon
Sensor: humidity | fields: reading, lat, unit, type
Task: Get depth from dew_point where depth exceeds the count of value from humidity for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081017 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: type, ts, lat, lon
Sensor: temperature | fields: lon, unit, lat, qc
Task: Retrieve level from rainfall whose depth is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081018 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: value, level, lon, qc
Sensor: air_quality | fields: type, lon, reading, lat
Task: Retrieve level from uv_index that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081019 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: level, qc, lon, value
Sensor: air_quality | fields: value, type, level, qc
Task: Retrieve reading from lightning that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081020 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: lon, lat, value, level
Sensor: frost | fields: level, ts, lat, unit
Task: Get value from air_quality where ts appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081021 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: type, reading, unit, lat
Sensor: soil_moisture | fields: ts, type, lon, reading
Task: Get depth from drought_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081022 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, depth, reading, lon
Sensor: pressure | fields: qc, lon, level, ts
Task: Retrieve depth from drought_index that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081023 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, type, level, qc
Sensor: dew_point | fields: qc, type, level, value
Task: Get depth from pressure where unit appears in dew_point readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081024 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: qc, level, reading, value
Sensor: wind_speed | fields: unit, lon, ts, lat
Task: Retrieve level from air_quality that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081025 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: value, qc, reading, type
Sensor: rainfall | fields: lon, reading, type, qc
Task: Get value from sunlight where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081026 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, lon, qc, level
Sensor: evaporation | fields: qc, unit, level, value
Task: Retrieve depth from air_quality that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081027 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: qc, level, lat, type
Sensor: air_quality | fields: qc, unit, type, level
Task: Fetch lon from frost where depth exists in air_quality sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081028 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: depth, ts, value, level
Sensor: sunlight | fields: lat, unit, value, level
Task: Fetch lon from dew_point where depth exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"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_081029 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, lon, depth, reading
Sensor: evaporation | fields: depth, type, unit, ts
Task: Get value from cloud_cover where depth appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081030 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: reading, type, depth, lon
Sensor: air_quality | fields: ts, lat, reading, depth
Task: Fetch depth from turbidity that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081031 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, lon, type, depth
Sensor: sunlight | fields: type, reading, lat, level
Task: Retrieve depth from visibility with reading above the COUNT(depth) of sunlight readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081032 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: reading, level, type, value
Sensor: rainfall | fields: unit, lat, level, value
Task: Retrieve lat from soil_moisture that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"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_081033 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: level, depth, ts, lat
Sensor: pressure | fields: value, reading, lat, type
Task: Retrieve depth from wind_speed that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081034 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: unit, type, reading, level
Sensor: visibility | fields: reading, qc, lon, lat
Task: Retrieve lat from sunlight with value above the MIN(depth) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081035 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, level, depth, reading
Sensor: humidity | fields: reading, ts, qc, depth
Task: Fetch value from drought_index that have at least one corresponding humidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081036 | train |
v3 | Sensor network script:
Node: temperature | code: ref | fields: depth, qc, lat, lon
Sensor: dew_point | fields: depth, level, lat, lon
Task: Get value from temperature where value exceeds the count of reading from dew_point for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081037 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: level, lon, depth, qc
Sensor: temperature | fields: lat, level, unit, lon
Task: Fetch lat from uv_index where ts exists in temperature sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081038 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: depth, unit, qc, level
Sensor: frost | fields: lat, value, depth, level
Task: Retrieve reading from soil_moisture with value above the AVG(depth) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081039 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: value, unit, qc, type
Sensor: frost | fields: qc, value, depth, level
Task: Get reading from visibility where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081040 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: type, lon, depth, value
Sensor: rainfall | fields: reading, ts, type, value
Task: Retrieve lon from lightning that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081041 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, ts, lat, depth
Sensor: visibility | fields: unit, qc, value, type
Task: Get lon from cloud_cover where a corresponding entry exists in visibility with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081042 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, value, depth, level
Sensor: temperature | fields: depth, lon, unit, lat
Task: Retrieve depth from soil_moisture that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081043 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: qc, type, lat, lon
Sensor: frost | fields: depth, level, reading, value
Task: Get lon from turbidity where value exceeds the average depth from frost for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081044 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: depth, ts, lon, qc
Sensor: air_quality | fields: type, unit, level, depth
Task: Get lon from rainfall where reading exceeds the count of reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081045 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, depth, type, value
Sensor: wind_speed | fields: type, unit, ts, value
Task: Get value from snow_depth where ts appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081046 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: unit, level, value, reading
Sensor: wind_speed | fields: depth, type, unit, level
Task: Fetch lon from sunlight that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081047 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: type, reading, depth, lon
Sensor: cloud_cover | fields: reading, unit, lon, qc
Task: Get lat from turbidity where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081048 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: qc, level, reading, ts
Sensor: snow_depth | fields: ts, qc, value, lat
Task: Fetch lat from soil_moisture that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081049 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: reading, lon, type, value
Sensor: lightning | fields: type, value, level, ts
Task: Get lon from sunlight where value exceeds the count of value from lightning for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081050 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: qc, type, value, reading
Sensor: visibility | fields: reading, unit, qc, level
Task: Fetch depth from drought_index that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081051 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: depth, reading, value, lon
Sensor: drought_index | fields: level, depth, ts, reading
Task: Fetch lon from lightning where qc exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"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_081052 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: type, lat, unit, qc
Sensor: lightning | fields: reading, qc, lat, depth
Task: Retrieve lon from air_quality whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081053 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, unit, value, reading
Sensor: cloud_cover | fields: level, value, unit, lat
Task: Retrieve depth from soil_moisture that have at least one matching reading in cloud_cover sharing the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081054 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: level, lon, unit, lat
Sensor: sunlight | fields: qc, level, depth, value
Task: Fetch level from frost where depth is greater than the average of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081055 | train |
v1 | Sensor network script:
Node: rainfall | code: prt | fields: depth, value, reading, type
Sensor: cloud_cover | fields: depth, lat, ts, type
Task: Fetch level from rainfall where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081056 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: depth, type, value, qc
Sensor: sunlight | fields: type, qc, unit, value
Task: Get reading from visibility where a corresponding entry exists in sunlight with the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081057 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: unit, lat, value, lon
Sensor: snow_depth | fields: reading, qc, ts, level
Task: Retrieve value from wind_speed with depth above the COUNT(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081058 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: qc, value, lon, depth
Sensor: humidity | fields: lat, qc, unit, ts
Task: Get reading from air_quality where depth exceeds the count of reading from humidity for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081059 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: level, lon, unit, qc
Sensor: frost | fields: value, level, reading, qc
Task: Fetch reading from turbidity where ts exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081060 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: unit, value, ts, lon
Sensor: soil_moisture | fields: unit, qc, type, ts
Task: Retrieve lat from visibility whose depth is found in soil_moisture records where unit matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081061 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: level, depth, lon, ts
Sensor: dew_point | fields: type, lon, lat, unit
Task: Get lon from sunlight where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081062 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: reading, depth, level, unit
Sensor: uv_index | fields: reading, ts, qc, lon
Task: Fetch lat from soil_moisture where depth is greater than the average of value in uv_index for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081063 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: level, depth, unit, lat
Sensor: wind_speed | fields: value, level, qc, depth
Task: Retrieve lon from evaporation with value above the MIN(depth) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081064 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: type, depth, lat, level
Sensor: evaporation | fields: value, unit, reading, depth
Task: Retrieve lon from soil_moisture whose type is found in evaporation records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081065 | train |
v3 | Sensor network script:
Node: uv_index | code: mst | fields: qc, value, reading, unit
Sensor: frost | fields: type, depth, lon, unit
Task: Get reading from uv_index where depth exceeds the average reading from frost for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081066 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: depth, ts, type, level
Sensor: air_quality | fields: lon, reading, level, ts
Task: Fetch lon from drought_index that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081067 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: type, unit, depth, qc
Sensor: temperature | fields: unit, level, reading, ts
Task: Retrieve value from visibility whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081068 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, ts, qc, lat
Sensor: drought_index | fields: level, depth, ts, value
Task: Retrieve level 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="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081069 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: qc, ts, value, type
Sensor: cloud_cover | fields: unit, type, level, ts
Task: Retrieve lat from pressure whose type is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081070 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: lon, depth, ts, type
Sensor: snow_depth | fields: unit, reading, depth, lat
Task: Get value from pressure where value exceeds the maximum value from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081071 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, ts, type, depth
Sensor: frost | fields: lon, value, depth, ts
Task: Get value from air_quality where depth exceeds the total value from frost for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081072 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: lat, qc, value, unit
Sensor: evaporation | fields: depth, level, lon, unit
Task: Retrieve lon from humidity that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081073 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: ts, lat, value, reading
Sensor: sunlight | fields: depth, level, value, type
Task: Fetch depth from drought_index where reading is greater than the count of of depth in sunlight for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081074 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lat, reading, depth, value
Sensor: uv_index | fields: reading, ts, qc, depth
Task: Get value from snow_depth where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081075 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: level, reading, unit, type
Sensor: dew_point | fields: reading, type, level, value
Task: Get lat from wind_speed where depth appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081076 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: type, lat, ts, value
Sensor: air_quality | fields: reading, depth, level, qc
Task: Retrieve depth from drought_index that have at least one matching reading in air_quality sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081077 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: qc, depth, lon, ts
Sensor: air_quality | fields: value, level, ts, qc
Task: Retrieve depth from frost whose depth is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081078 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, depth, level, lon
Sensor: frost | fields: lat, level, unit, ts
Task: Get reading from lightning where a corresponding entry exists in frost with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081079 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, reading, unit, type
Sensor: evaporation | fields: depth, lat, qc, unit
Task: Get reading from soil_moisture where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081080 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: lat, qc, ts, level
Sensor: dew_point | fields: value, lon, reading, qc
Task: Fetch reading from pressure that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081081 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: type, level, lat, unit
Sensor: sunlight | fields: unit, type, value, depth
Task: Fetch reading from pressure that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081082 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: reading, qc, value, type
Sensor: drought_index | fields: lon, level, value, depth
Task: Get lon from dew_point where unit appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081083 | train |
v3 | Sensor network script:
Node: pressure | code: stn | fields: depth, level, lat, lon
Sensor: visibility | fields: value, lat, lon, level
Task: Get reading from pressure where reading exceeds the total depth from visibility for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081084 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, depth, ts, type
Sensor: snow_depth | fields: reading, qc, level, lat
Task: Retrieve lat from lightning with reading above the MAX(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081085 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, unit, lon, depth
Sensor: evaporation | fields: lat, unit, lon, qc
Task: Retrieve reading from sunlight with depth above the AVG(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081086 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: lon, type, lat, qc
Sensor: soil_moisture | fields: ts, type, reading, depth
Task: Retrieve value from dew_point with reading above the AVG(reading) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081087 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: value, ts, lat, unit
Sensor: cloud_cover | fields: unit, lon, level, type
Task: Fetch level from frost where ts exists in cloud_cover sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081088 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: ts, value, depth, type
Sensor: rainfall | fields: value, lon, depth, qc
Task: Retrieve lon from wind_speed whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081089 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: reading, lat, value, level
Sensor: soil_moisture | fields: unit, level, reading, lat
Task: Retrieve reading from rainfall with depth above the SUM(value) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081090 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, lon, unit, lat
Sensor: visibility | fields: depth, level, qc, value
Task: Retrieve level from air_quality with reading above the AVG(value) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081091 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lat, level, reading, lon
Sensor: visibility | fields: type, value, lon, reading
Task: Retrieve reading from evaporation that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081092 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lat, unit, level, qc
Sensor: sunlight | fields: lat, level, value, depth
Task: Fetch reading from frost where depth is greater than the maximum of depth in sunlight for matching ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081093 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, qc, lon, value
Sensor: wind_speed | fields: depth, qc, value, reading
Task: Retrieve reading from snow_depth that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081094 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, type, level, depth
Sensor: dew_point | fields: level, value, unit, lon
Task: Fetch lat from sunlight that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081095 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: type, lat, unit, depth
Sensor: visibility | fields: type, lat, ts, depth
Task: Get lon from air_quality where value exceeds the maximum value from visibility for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081096 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: unit, level, type, lon
Sensor: air_quality | fields: level, value, lat, reading
Task: Retrieve reading from pressure with value above the MAX(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_081097 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, value, qc, reading
Sensor: uv_index | fields: value, level, reading, lat
Task: Retrieve reading from frost that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081098 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, level, lon, depth
Sensor: sunlight | fields: unit, ts, depth, type
Task: Retrieve lat from visibility that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_081099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.