variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lon, qc, level, lat
Sensor: dew_point | fields: lat, reading, type, value
Task: Get lon from rainfall where depth appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071000 | train |
v3 | Sensor network script:
Node: pressure | code: hub | fields: lat, unit, ts, value
Sensor: air_quality | fields: qc, level, ts, reading
Task: Fetch lon from pressure where reading is greater than the minimum of depth in air_quality for matching unit.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071001 | train |
v2 | Sensor network script:
Node: pressure | code: prt | fields: lon, type, reading, unit
Sensor: visibility | fields: lon, type, reading, value
Task: Fetch depth from pressure that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071002 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, value, unit, reading
Sensor: evaporation | fields: depth, unit, qc, lat
Task: Fetch lon from dew_point that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071003 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, lon, unit, reading
Sensor: visibility | fields: lon, unit, type, depth
Task: Fetch depth from rainfall where reading is greater than the average of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071004 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, value, level, lon
Sensor: lightning | fields: qc, unit, reading, level
Task: Get level from wind_speed where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071005 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: depth, lon, qc, type
Sensor: evaporation | fields: ts, reading, depth, unit
Task: Get lat from rainfall where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071006 | train |
v1 | Sensor network script:
Node: frost | code: mst | fields: lon, value, level, depth
Sensor: drought_index | fields: reading, ts, qc, depth
Task: Get depth from frost where type appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071007 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: lat, ts, type, qc
Sensor: snow_depth | fields: type, depth, lat, ts
Task: Get lat from evaporation where value exceeds the total value from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071008 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: level, unit, qc, type
Sensor: sunlight | fields: lat, value, type, ts
Task: Get level from turbidity where reading exceeds the average depth from sunlight for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071009 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: ts, depth, type, level
Sensor: temperature | fields: reading, qc, ts, unit
Task: Get lat from evaporation where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071010 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: lon, reading, depth, unit
Sensor: dew_point | fields: depth, qc, value, ts
Task: Retrieve lon from air_quality that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071011 | train |
v1 | Sensor network script:
Node: visibility | code: gst | fields: lat, ts, qc, type
Sensor: frost | fields: depth, value, ts, level
Task: Get level from visibility where ts appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071012 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lon, type, qc, level
Sensor: drought_index | fields: lat, reading, ts, level
Task: Fetch level from uv_index that have at least one corresponding drought_index measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071013 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lon, lat, reading, ts
Sensor: rainfall | fields: reading, type, lon, value
Task: Retrieve reading from humidity with depth above the AVG(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071014 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: reading, level, value, depth
Sensor: rainfall | fields: depth, level, reading, type
Task: Get level from frost where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071015 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, level, unit
Sensor: temperature | fields: depth, type, level, qc
Task: Fetch lat from air_quality where value is greater than the count of of value in temperature for matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071016 | train |
v1 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, type, lon
Sensor: snow_depth | fields: type, ts, value, level
Task: Retrieve value from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071017 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, depth, level, unit
Sensor: frost | fields: reading, qc, level, depth
Task: Get value from soil_moisture where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071018 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: unit, depth, value, ts
Sensor: pressure | fields: value, level, lon, type
Task: Get level from visibility where depth exceeds the total value from pressure for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071019 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, lon, reading, ts
Sensor: pressure | fields: ts, lon, depth, value
Task: Get level from drought_index where unit appears in pressure readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071020 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, ts, value, qc
Sensor: pressure | fields: reading, unit, ts, type
Task: Get level from frost where a corresponding entry exists in pressure with the same qc.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071021 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: type, value, lon, lat
Sensor: evaporation | fields: reading, value, type, ts
Task: Fetch depth from sunlight that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071022 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: lon, depth, type, qc
Sensor: uv_index | fields: reading, type, lat, unit
Task: Retrieve depth from humidity with reading above the MAX(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071023 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, reading, unit, depth
Sensor: humidity | fields: ts, depth, type, value
Task: Retrieve value from snow_depth with value above the SUM(value) of humidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071024 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: qc, value, type, depth
Sensor: air_quality | fields: lat, value, reading, type
Task: Get lat from wind_speed where type appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071025 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: value, type, lat, depth
Sensor: cloud_cover | fields: ts, lat, lon, qc
Task: Fetch lat from dew_point where reading is greater than the total of value in cloud_cover for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071026 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, level, reading, qc
Sensor: snow_depth | fields: reading, type, ts, value
Task: Fetch depth from drought_index that have at least one corresponding snow_depth measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071027 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: value, level, lat, reading
Sensor: air_quality | fields: depth, lon, type, unit
Task: Get lon from pressure where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071028 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: lon, unit, ts, depth
Sensor: temperature | fields: reading, value, unit, level
Task: Retrieve lat from sunlight with value above the AVG(reading) of temperature readings sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071029 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: lat, depth, reading, unit
Sensor: dew_point | fields: lat, reading, value, level
Task: Get lon from temperature where unit appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071030 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: value, lon, lat, ts
Sensor: sunlight | fields: depth, ts, type, lon
Task: Retrieve level from uv_index whose unit is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071031 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: unit, level, lat, ts
Sensor: evaporation | fields: qc, ts, reading, depth
Task: Fetch reading from lightning where value is greater than the minimum of depth in evaporation for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071032 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, type, ts, qc
Sensor: rainfall | fields: reading, value, lon, type
Task: Fetch level from cloud_cover where value is greater than the average of reading in rainfall for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071033 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: qc, level, unit, lon
Sensor: uv_index | fields: unit, lat, type, depth
Task: Fetch depth from lightning where value is greater than the minimum of reading in uv_index for matching unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071034 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: level, reading, ts, lon
Sensor: humidity | fields: reading, depth, unit, lat
Task: Get lat from drought_index where depth exceeds the minimum depth from humidity for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071035 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, value, level, ts
Sensor: snow_depth | fields: qc, lat, type, depth
Task: Fetch reading from evaporation where reading is greater than the count of of value in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071036 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: level, qc, lat, unit
Sensor: frost | fields: value, type, ts, reading
Task: Get value from sunlight where reading exceeds the maximum reading from frost for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071037 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: depth, reading, value, level
Sensor: rainfall | fields: lat, type, ts, lon
Task: Fetch reading from turbidity where type exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071038 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: qc, reading, depth, lon
Sensor: frost | fields: ts, lat, qc, unit
Task: Retrieve reading from drought_index that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071039 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: reading, qc, depth, lon
Sensor: turbidity | fields: depth, value, ts, qc
Task: Fetch lat from dew_point that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071040 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: ts, reading, value, qc
Sensor: lightning | fields: type, value, depth, reading
Task: Fetch value from evaporation where value is greater than the maximum of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071041 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: unit, value, qc, lat
Sensor: turbidity | fields: value, depth, lat, type
Task: Get lat from drought_index where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071042 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lon, level, type, value
Sensor: cloud_cover | fields: type, unit, level, reading
Task: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071043 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: ts, reading, lon, type
Sensor: temperature | fields: depth, unit, qc, type
Task: Retrieve level from uv_index that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071044 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, level, reading, lon
Sensor: snow_depth | fields: unit, depth, level, type
Task: Fetch lat from soil_moisture where type exists in snow_depth sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071045 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: depth, level, qc, value
Sensor: evaporation | fields: reading, qc, type, ts
Task: Get lon from wind_speed where depth exceeds the total value from evaporation for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071046 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: ts, value, unit, depth
Sensor: lightning | fields: lat, reading, ts, depth
Task: Fetch reading from evaporation where depth exists in lightning sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071047 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: ts, lon, reading, value
Sensor: cloud_cover | fields: depth, unit, value, ts
Task: Fetch level from soil_moisture where qc exists in cloud_cover sensor data for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071048 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: lat, value, lon, unit
Sensor: dew_point | fields: type, qc, value, reading
Task: Get reading from rainfall where depth exceeds the count of reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071049 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: lat, unit, lon, value
Sensor: frost | fields: reading, qc, level, lon
Task: Retrieve lat from lightning with reading above the COUNT(reading) of frost readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071050 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, reading, lat, level
Sensor: pressure | fields: qc, unit, lat, depth
Task: Get reading from uv_index where ts appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071051 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: depth, lon, reading, lat
Sensor: wind_speed | fields: reading, lon, lat, value
Task: Get value from air_quality where reading exceeds the average depth from wind_speed for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071052 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: ts, value, lon, qc
Sensor: soil_moisture | fields: lon, ts, unit, lat
Task: Get value from dew_point where ts appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071053 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, type, lat, depth
Sensor: cloud_cover | fields: value, lon, type, level
Task: Fetch level from evaporation where type exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071054 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: type, depth, lon, lat
Sensor: temperature | fields: type, reading, lat, level
Task: Get lat from frost where a corresponding entry exists in temperature with the same type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071055 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: qc, lat, type, ts
Sensor: soil_moisture | fields: reading, lon, value, unit
Task: Get lon from temperature where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071056 | train |
v1 | Sensor network script:
Node: snow_depth | code: prt | fields: type, depth, qc, lat
Sensor: soil_moisture | fields: lat, value, unit, depth
Task: Fetch lat from snow_depth where depth exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071057 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, ts, type, qc
Sensor: air_quality | fields: level, unit, ts, reading
Task: Retrieve reading from turbidity with depth above the MIN(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071058 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: ts, qc, value, lon
Sensor: pressure | fields: value, qc, depth, type
Task: Get lat from air_quality where depth exceeds the total value from pressure for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071059 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: qc, type, depth, lat
Sensor: frost | fields: qc, value, ts, type
Task: Fetch depth from dew_point where value is greater than the maximum of reading in frost for matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="unit"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071060 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lat, type, depth, unit
Sensor: turbidity | fields: reading, type, value, depth
Task: Fetch lat from air_quality where depth is greater than the average of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071061 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: unit, value, type, lon
Sensor: sunlight | fields: unit, ts, lon, type
Task: Fetch reading from rainfall where reading is greater than the maximum of reading in sunlight for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071062 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: lat, depth, lon, type
Sensor: visibility | fields: type, value, qc, level
Task: Retrieve lat from evaporation that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071063 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, qc, depth, reading
Sensor: dew_point | fields: lat, reading, unit, depth
Task: Fetch reading from sunlight that have at least one corresponding dew_point measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071064 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: level, value, lat, unit
Sensor: drought_index | fields: qc, lon, lat, type
Task: Fetch lat from soil_moisture where value is greater than the minimum of depth in drought_index for matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071065 | train |
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: unit, level, value, ts
Sensor: humidity | fields: lon, level, ts, reading
Task: Retrieve lon from cloud_cover with reading above the MIN(depth) of humidity readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071066 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: ts, type, value, lon
Sensor: dew_point | fields: value, type, depth, level
Task: Fetch lat from frost that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071067 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: reading, value, depth, lon
Sensor: temperature | fields: type, unit, depth, ts
Task: Fetch depth from cloud_cover where type exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071068 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: level, type, lat, value
Sensor: sunlight | fields: qc, reading, level, depth
Task: Retrieve depth from air_quality that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071069 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, type, depth, level
Sensor: sunlight | fields: qc, type, lon, value
Task: Fetch value from wind_speed where value is greater than the average of depth in sunlight for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071070 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: unit, level, lat, qc
Sensor: turbidity | fields: depth, value, qc, level
Task: Get value from cloud_cover where unit appears in turbidity readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071071 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: qc, lat, lon, reading
Sensor: dew_point | fields: unit, ts, lat, qc
Task: Get lon from cloud_cover where type appears in dew_point readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071072 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lat, type, level, reading
Sensor: wind_speed | fields: lon, reading, value, unit
Task: Fetch value from evaporation where type exists in wind_speed sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071073 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: reading, lon, type, ts
Sensor: uv_index | fields: lon, value, depth, lat
Task: Get level from air_quality where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071074 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: type, ts, depth, qc
Sensor: sunlight | fields: reading, lon, lat, depth
Task: Retrieve lat from drought_index with value above the COUNT(value) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071075 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, reading, level, unit
Sensor: humidity | fields: unit, lon, depth, ts
Task: Get level from uv_index where ts appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071076 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, value, qc, lon
Sensor: sunlight | fields: lat, qc, unit, type
Task: Fetch depth from air_quality where depth is greater than the count of of reading in sunlight for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071077 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: depth, type, lon, reading
Sensor: frost | fields: depth, ts, unit, lat
Task: Get lat from turbidity where type appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071078 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: qc, lat, lon, ts
Sensor: soil_moisture | fields: depth, lat, level, reading
Task: Retrieve lon from turbidity whose depth is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071079 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, lon, ts, qc
Sensor: snow_depth | fields: level, depth, lat, type
Task: Retrieve level from drought_index whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071080 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: type, level, value, lat
Sensor: turbidity | fields: level, reading, qc, lon
Task: Fetch reading from uv_index where type exists in turbidity sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071081 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: value, depth, lat, ts
Sensor: wind_speed | fields: type, depth, unit, lat
Task: Fetch lat from temperature that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071082 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: value, depth, qc, unit
Sensor: soil_moisture | fields: qc, unit, lon, depth
Task: Get reading from visibility where depth exceeds the count of reading from soil_moisture for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071083 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: depth, reading, qc, ts
Sensor: lightning | fields: level, depth, reading, unit
Task: Fetch reading from drought_index where depth exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071084 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: unit, depth, level, value
Sensor: uv_index | fields: lon, unit, level, ts
Task: Fetch lon from lightning that have at least one corresponding uv_index measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071085 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, qc, lat, depth
Sensor: pressure | fields: level, lon, qc, ts
Task: Fetch lon from visibility that have at least one corresponding pressure measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071086 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: lat, unit, qc, level
Sensor: sunlight | fields: reading, depth, unit, type
Task: Retrieve reading from turbidity whose qc is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071087 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: ts, lat, qc, reading
Sensor: humidity | fields: depth, qc, ts, level
Task: Fetch value from drought_index that have at least one corresponding humidity measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071088 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, unit, ts, qc
Sensor: visibility | fields: level, type, depth, reading
Task: Retrieve depth from frost whose depth is found in visibility records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071089 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, lat, ts, lon
Sensor: frost | fields: value, level, qc, reading
Task: Get lon from cloud_cover where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071090 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: lat, lon, ts, type
Sensor: air_quality | fields: lat, reading, qc, type
Task: Fetch lon from evaporation where qc exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071091 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lon, ts, unit, level
Sensor: sunlight | fields: value, lat, ts, reading
Task: Get lon from dew_point where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071092 | train |
v1 | Sensor network script:
Node: cloud_cover | code: ref | fields: depth, reading, ts, level
Sensor: humidity | fields: lon, ts, qc, depth
Task: Retrieve level from cloud_cover whose unit is found in humidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071093 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, unit, value, qc
Sensor: temperature | fields: qc, value, type, lon
Task: Retrieve value from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071094 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: level, depth, ts, lon
Sensor: dew_point | fields: level, ts, depth, lat
Task: Fetch lon from cloud_cover where type exists in dew_point sensor data for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071095 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: type, reading, depth, lon
Sensor: dew_point | fields: depth, ts, value, lon
Task: Get value from pressure where reading exceeds the minimum reading from dew_point for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071096 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: level, value, qc, reading
Sensor: pressure | fields: type, qc, ts, lon
Task: Get value from visibility where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071097 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: type, lon, qc, lat
Sensor: cloud_cover | fields: lon, ts, reading, level
Task: Fetch level from sunlight that have at least one corresponding cloud_cover measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_071098 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: type, value, ts, qc
Sensor: air_quality | fields: reading, lat, type, unit
Task: Fetch lon from snow_depth where unit exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_071099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.