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: cloud_cover | code: clr | fields: lon, unit, lat, reading
Sensor: temperature | fields: reading, level, lon, depth
Task: Get reading from cloud_cover where ts appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007000 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, depth, lat, qc
Sensor: rainfall | fields: lat, value, type, lon
Task: Retrieve level from cloud_cover with depth above the AVG(reading) of rainfall readings sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"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_007001 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, lat, unit, qc
Sensor: evaporation | fields: depth, ts, unit, level
Task: Get value from uv_index where unit appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007002 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: value, type, unit, qc
Sensor: humidity | fields: type, qc, depth, unit
Task: Retrieve value from temperature whose ts is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007003 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, reading, qc, level
Sensor: drought_index | fields: lat, ts, qc, lon
Task: Get depth from lightning where depth exceeds the minimum reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007004 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, value, qc, type
Sensor: rainfall | fields: level, reading, unit, value
Task: Get level from soil_moisture where a corresponding entry exists in rainfall with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007005 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: lon, qc, lat, value
Sensor: frost | fields: type, unit, reading, depth
Task: Fetch lat from visibility that have at least one corresponding frost measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007006 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: lon, reading, ts, qc
Sensor: air_quality | fields: qc, reading, lat, ts
Task: Get lat from wind_speed where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007007 | train |
v2 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, ts, qc, value
Sensor: temperature | fields: level, type, lon, qc
Task: Retrieve depth from cloud_cover that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007008 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: type, qc, value, unit
Sensor: soil_moisture | fields: lon, unit, reading, level
Task: Get reading from uv_index where ts appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007009 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, lon, lat, value
Sensor: visibility | fields: lon, type, ts, unit
Task: Fetch depth from snow_depth where type exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007010 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: qc, value, lat, type
Sensor: snow_depth | fields: value, unit, ts, depth
Task: Get level from sunlight where value exceeds the average reading from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007011 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: level, value, reading, lat
Sensor: visibility | fields: value, lon, ts, qc
Task: Fetch level from turbidity where ts exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007012 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, lat, ts, level
Sensor: lightning | fields: lat, type, value, depth
Task: Retrieve lat from cloud_cover with reading above the MAX(value) of lightning readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007013 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: reading, type, lon, ts
Sensor: snow_depth | fields: qc, depth, value, ts
Task: Retrieve depth from evaporation with depth above the MAX(reading) of snow_depth readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007014 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, reading, qc, depth
Sensor: rainfall | fields: reading, depth, type, lat
Task: Retrieve value from evaporation whose ts is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007015 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: value, unit, reading, qc
Sensor: sunlight | fields: type, lat, unit, ts
Task: Fetch lat from dew_point where type exists in sunlight sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007016 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: depth, ts, level, unit
Sensor: humidity | fields: level, qc, lon, reading
Task: Fetch reading from drought_index where depth is greater than the average of depth in humidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007017 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, lon, depth, value
Sensor: wind_speed | fields: lon, value, unit, level
Task: Retrieve reading from cloud_cover whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007018 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: value, depth, qc, lat
Sensor: drought_index | fields: ts, reading, lon, qc
Task: Retrieve depth from soil_moisture that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007019 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: type, depth, level, qc
Sensor: dew_point | fields: level, type, ts, value
Task: Retrieve lon from pressure with reading above the MIN(reading) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007020 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lat, ts, lon, qc
Sensor: pressure | fields: lon, ts, value, depth
Task: Retrieve depth from sunlight that have at least one matching reading in pressure sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007021 | train |
v2 | Sensor network script:
Node: lightning | code: ref | fields: lat, unit, level, lon
Sensor: air_quality | fields: ts, lon, lat, type
Task: Fetch lon from lightning that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007022 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, value, level, lat
Sensor: drought_index | fields: reading, type, qc, lat
Task: Get reading from cloud_cover where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007023 | train |
v3 | Sensor network script:
Node: cloud_cover | code: gst | fields: qc, lon, level, depth
Sensor: pressure | fields: reading, ts, lon, type
Task: Get reading from cloud_cover where value exceeds the total reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007024 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: depth, reading, type, lon
Sensor: evaporation | fields: qc, reading, ts, lat
Task: Retrieve lat from snow_depth with depth above the SUM(value) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007025 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: lat, type, qc, unit
Sensor: turbidity | fields: qc, type, depth, lon
Task: Retrieve value from drought_index whose ts is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007026 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: ts, type, unit, lat
Sensor: visibility | fields: qc, level, lat, reading
Task: Get lon from temperature where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007027 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, qc, value, lat
Sensor: uv_index | fields: qc, level, lat, type
Task: Retrieve level from dew_point that have at least one matching reading in uv_index sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007028 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: value, type, lat, depth
Sensor: dew_point | fields: lat, depth, level, unit
Task: Get level from lightning where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007029 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: type, lon, value, reading
Sensor: pressure | fields: unit, qc, reading, lon
Task: Retrieve depth from evaporation whose ts is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007030 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: lon, level, depth, value
Sensor: sunlight | fields: qc, ts, value, lat
Task: Retrieve lon from cloud_cover whose type is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007031 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, unit, depth, reading
Sensor: pressure | fields: type, reading, lon, lat
Task: Get reading from wind_speed where value exceeds the maximum reading from pressure for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007032 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: unit, ts, level, depth
Sensor: evaporation | fields: lat, type, unit, depth
Task: Get level from lightning where qc appears in evaporation readings with matching depth.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007033 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: ts, type, reading, unit
Sensor: turbidity | fields: reading, qc, depth, level
Task: Retrieve value from pressure whose depth is found in turbidity records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007034 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, level, reading, lon
Sensor: sunlight | fields: level, ts, unit, lon
Task: Fetch reading from pressure where depth exists in sunlight sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007035 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: ts, value, unit, level
Sensor: cloud_cover | fields: unit, depth, ts, lon
Task: Fetch depth from drought_index where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007036 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: type, depth, lat, level
Sensor: uv_index | fields: unit, ts, value, reading
Task: Retrieve reading from drought_index with reading above the AVG(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007037 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: type, value, lat, lon
Sensor: snow_depth | fields: ts, lon, lat, qc
Task: Retrieve reading from drought_index that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007038 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: reading, value, type, depth
Sensor: wind_speed | fields: reading, value, depth, lat
Task: Get lon from dew_point where ts appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007039 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: type, qc, ts, level
Sensor: visibility | fields: qc, reading, type, unit
Task: Get level from air_quality where reading exceeds the total reading from visibility for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007040 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, ts, depth, level
Sensor: snow_depth | fields: unit, ts, qc, lon
Task: Fetch lon from uv_index where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007041 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: ts, type, depth, lon
Sensor: visibility | fields: unit, type, qc, level
Task: Retrieve lat from uv_index whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007042 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: level, depth, lon, value
Sensor: temperature | fields: ts, reading, value, depth
Task: Get depth from dew_point where depth appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007043 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: level, type, qc, reading
Sensor: lightning | fields: type, lon, depth, level
Task: Retrieve lon from dew_point that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007044 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, lon, unit, level
Sensor: visibility | fields: reading, lat, unit, depth
Task: Get lon from soil_moisture where a corresponding entry exists in visibility with the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007045 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: reading, level, ts, value
Sensor: temperature | fields: depth, lat, lon, ts
Task: Fetch level from turbidity where depth exists in temperature sensor data for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007046 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: lat, qc, value, lon
Sensor: lightning | fields: qc, depth, ts, level
Task: Retrieve lat from evaporation that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007047 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, value, lon, qc
Sensor: evaporation | fields: ts, unit, value, reading
Task: Fetch lat from sunlight that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007048 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: value, level, ts, lat
Sensor: dew_point | fields: qc, depth, level, ts
Task: Retrieve level from visibility whose ts is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007049 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: lon, qc, lat, unit
Sensor: pressure | fields: ts, reading, level, qc
Task: Get value from evaporation where reading exceeds the minimum value from pressure for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007050 | train |
v3 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, qc, value, level
Sensor: rainfall | fields: lat, lon, level, reading
Task: Retrieve lat from cloud_cover with depth above the SUM(value) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007051 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: qc, depth, ts, type
Sensor: uv_index | fields: depth, ts, qc, lon
Task: Retrieve value from sunlight with reading above the AVG(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007052 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, qc, lon, value
Sensor: sunlight | fields: ts, qc, unit, type
Task: Retrieve reading from air_quality with depth above the SUM(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007053 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: lon, type, depth, value
Sensor: wind_speed | fields: reading, unit, lat, qc
Task: Fetch lat from dew_point where unit exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007054 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: unit, value, reading, type
Sensor: visibility | fields: level, qc, lon, depth
Task: Get lat from temperature where unit appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007055 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: lon, reading, lat, type
Sensor: sunlight | fields: unit, lon, qc, level
Task: Retrieve depth from humidity with depth above the MIN(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007056 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: depth, level, value, lat
Sensor: dew_point | fields: ts, unit, lon, level
Task: Get reading from visibility where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007057 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: level, value, unit, depth
Sensor: evaporation | fields: lon, qc, level, lat
Task: Retrieve reading from temperature whose depth is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007058 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: qc, value, ts, reading
Sensor: visibility | fields: reading, level, unit, ts
Task: Retrieve lon from snow_depth whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007059 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: level, unit, lat, type
Sensor: drought_index | fields: value, unit, lat, reading
Task: Retrieve depth from air_quality with value above the MAX(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007060 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, unit, lat, reading
Sensor: evaporation | fields: value, qc, type, level
Task: Fetch level from rainfall where value is greater than the average of reading in evaporation for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007061 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: reading, value, depth, level
Sensor: pressure | fields: lon, ts, qc, lat
Task: Fetch lon from sunlight where value is greater than the count of of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007062 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: depth, level, ts, type
Sensor: wind_speed | fields: lon, reading, ts, depth
Task: Retrieve lat from snow_depth that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007063 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: type, ts, value, level
Sensor: soil_moisture | fields: unit, reading, ts, value
Task: Retrieve value from snow_depth with depth above the MIN(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007064 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: type, unit, depth, ts
Sensor: cloud_cover | fields: unit, reading, type, lon
Task: Get depth from soil_moisture where depth exceeds the average value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007065 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, value, level, type
Sensor: frost | fields: level, reading, value, lat
Task: Get value from rainfall where reading exceeds the total depth from frost for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007066 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: level, unit, type, ts
Sensor: frost | fields: value, level, qc, lat
Task: Get depth from uv_index where type appears in frost readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007067 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: type, depth, lon, level
Sensor: drought_index | fields: unit, level, type, ts
Task: Get level from temperature where ts appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="type",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007068 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: lat, value, depth, qc
Sensor: soil_moisture | fields: ts, reading, level, unit
Task: Get level from lightning where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007069 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lon, unit, reading, qc
Sensor: frost | fields: qc, lat, depth, lon
Task: Retrieve lon from cloud_cover whose type is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007070 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: lat, reading, lon, type
Sensor: cloud_cover | fields: qc, type, reading, depth
Task: Retrieve value from evaporation with value above the AVG(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007071 | train |
v1 | Sensor network script:
Node: wind_speed | code: ref | fields: value, ts, reading, level
Sensor: drought_index | fields: reading, level, unit, qc
Task: Get lon from wind_speed where ts appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007072 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, type, reading, ts
Sensor: visibility | fields: reading, depth, type, lat
Task: Get lat from cloud_cover where qc appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007073 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: ts, reading, unit, value
Sensor: lightning | fields: unit, ts, lat, depth
Task: Fetch level from humidity that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007074 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: value, lat, qc, ts
Sensor: rainfall | fields: qc, ts, reading, value
Task: Get value from pressure where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007075 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: qc, value, level, lon
Sensor: frost | fields: reading, value, lat, unit
Task: Retrieve value from visibility whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007076 | train |
v3 | Sensor network script:
Node: dew_point | code: stn | fields: depth, unit, value, reading
Sensor: temperature | fields: qc, level, type, ts
Task: Get lat from dew_point where depth exceeds the minimum value from temperature for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007077 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, unit, lat, qc
Sensor: lightning | fields: level, reading, depth, lat
Task: Retrieve lon from humidity with depth above the COUNT(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007078 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, reading, value, lon
Sensor: pressure | fields: value, unit, lat, lon
Task: Retrieve value from turbidity that have at least one matching reading in pressure sharing the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007079 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, unit, reading
Sensor: frost | fields: lat, depth, ts, type
Task: Get reading from soil_moisture where reading exceeds the maximum reading from frost for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007080 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, type, value, lon
Sensor: lightning | fields: ts, qc, lon, value
Task: Get lon from soil_moisture where depth appears in lightning readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007081 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: lon, unit, type, reading
Sensor: evaporation | fields: ts, depth, level, value
Task: Get depth from frost where reading exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007082 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: level, unit, ts, qc
Sensor: lightning | fields: reading, lat, lon, type
Task: Fetch depth from visibility that have at least one corresponding lightning measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007083 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: type, qc, lat, depth
Sensor: turbidity | fields: lat, reading, qc, ts
Task: Fetch level from snow_depth where type exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007084 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: lat, qc, level, depth
Sensor: visibility | fields: ts, unit, reading, qc
Task: Get depth from evaporation where qc appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007085 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, type, lon, unit
Sensor: pressure | fields: depth, qc, lat, lon
Task: Retrieve reading from humidity with value above the SUM(depth) of pressure readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007086 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, level, type, qc
Sensor: wind_speed | fields: ts, level, unit, depth
Task: Retrieve lat from rainfall with value above the COUNT(reading) of wind_speed readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007087 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: value, reading, type, ts
Sensor: evaporation | fields: type, value, lat, lon
Task: Fetch depth from temperature that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007088 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, qc, reading, depth
Sensor: lightning | fields: unit, reading, qc, lat
Task: Fetch lat from drought_index that have at least one corresponding lightning measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007089 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: qc, level, value, depth
Sensor: soil_moisture | fields: unit, ts, lon, qc
Task: Fetch value from pressure that have at least one corresponding soil_moisture measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007090 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lon, ts, type, lat
Sensor: soil_moisture | fields: reading, type, qc, ts
Task: Fetch reading from visibility where value is greater than the count of of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007091 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: type, value, level, depth
Sensor: uv_index | fields: reading, depth, ts, qc
Task: Get value from soil_moisture where unit appears in uv_index readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007092 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: type, level, ts, unit
Sensor: rainfall | fields: qc, value, level, lon
Task: Fetch lat from evaporation where qc exists in rainfall sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007093 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, depth, lat, type
Sensor: soil_moisture | fields: unit, ts, level, type
Task: Retrieve depth from cloud_cover that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007094 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: type, qc, lat, level
Sensor: wind_speed | fields: lat, depth, level, type
Task: Fetch reading from sunlight that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007095 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: lon, unit, lat, value
Sensor: air_quality | fields: value, lon, type, lat
Task: Fetch lon from turbidity where ts exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007096 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: level, depth, ts, type
Sensor: wind_speed | fields: unit, reading, lat, type
Task: Fetch value from humidity that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007097 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: qc, lat, value, depth
Sensor: wind_speed | fields: depth, ts, qc, type
Task: Retrieve value from soil_moisture with reading above the AVG(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_007098 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: lat, value, qc, depth
Sensor: evaporation | fields: value, unit, depth, qc
Task: Retrieve lat from rainfall that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_007099 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.