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: temperature | code: clr | fields: lon, reading, lat, value
Sensor: turbidity | fields: lon, ts, depth, qc
Task: Get lat from temperature where qc appears in turbidity readings with matching type.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038700 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, type, depth, value
Sensor: temperature | fields: qc, value, reading, lon
Task: Retrieve level from soil_moisture that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038701 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: type, level, value, qc
Sensor: drought_index | fields: value, lat, unit, type
Task: Get value from temperature where depth appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038702 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, lon, unit, lat
Sensor: visibility | fields: lat, type, reading, value
Task: Fetch depth from uv_index that have at least one corresponding visibility measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038703 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, unit, depth, reading
Sensor: lightning | fields: level, reading, type, qc
Task: Fetch lon from cloud_cover that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038704 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: ts, reading, qc, lat
Sensor: uv_index | fields: unit, reading, lon, lat
Task: Retrieve reading from pressure that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038705 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: type, unit, lon, lat
Sensor: turbidity | fields: level, depth, unit, value
Task: Fetch reading from lightning where value is greater than the maximum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038706 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: level, value, lon, depth
Sensor: wind_speed | fields: type, reading, lat, ts
Task: Fetch value from turbidity where depth is greater than the count of of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038707 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: depth, unit, lon, level
Sensor: snow_depth | fields: level, reading, lon, depth
Task: Get reading from air_quality where depth appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038708 | train |
v1 | Sensor network script:
Node: cloud_cover | code: hub | fields: lat, ts, unit, reading
Sensor: frost | fields: ts, value, qc, reading
Task: Get reading from cloud_cover where ts appears in frost readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038709 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: depth, qc, ts, reading
Sensor: temperature | fields: ts, depth, level, qc
Task: Retrieve value from turbidity whose depth is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038710 | train |
v1 | Sensor network script:
Node: lightning | code: ref | fields: type, value, ts, depth
Sensor: soil_moisture | fields: ts, lon, depth, value
Task: Retrieve lat from lightning whose type is found in soil_moisture records where depth matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038711 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: lat, ts, type, reading
Sensor: pressure | fields: value, lat, level, depth
Task: Get reading from rainfall where value exceeds the total value from pressure for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038712 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, depth, lon, qc
Sensor: dew_point | fields: ts, qc, value, lon
Task: Retrieve reading from snow_depth that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038713 | train |
v2 | Sensor network script:
Node: temperature | code: clr | fields: ts, qc, value, lat
Sensor: soil_moisture | fields: level, depth, value, ts
Task: Get value from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038714 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, lat, lon, type
Sensor: wind_speed | fields: level, lat, qc, lon
Task: Retrieve value from uv_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038715 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: lat, unit, ts, level
Sensor: wind_speed | fields: qc, lat, depth, unit
Task: Fetch lon from uv_index that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038716 | train |
v1 | Sensor network script:
Node: sunlight | code: clr | fields: level, qc, unit, ts
Sensor: soil_moisture | fields: lat, depth, value, reading
Task: Get lat from sunlight where ts appears in soil_moisture readings with matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038717 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: unit, reading, qc, type
Sensor: rainfall | fields: value, type, depth, lat
Task: Fetch level from temperature where qc exists in rainfall sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038718 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: depth, level, lon, type
Sensor: soil_moisture | fields: reading, lat, value, depth
Task: Get value from temperature where depth exceeds the total value from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038719 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: depth, lon, qc, unit
Sensor: uv_index | fields: reading, type, depth, unit
Task: Get lat from rainfall where unit appears in uv_index readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038720 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: value, level, ts, depth
Sensor: pressure | fields: lat, lon, qc, depth
Task: Fetch level from turbidity that have at least one corresponding pressure measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038721 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: lat, depth, unit, value
Sensor: wind_speed | fields: unit, level, depth, ts
Task: Get reading from visibility where type appears in wind_speed readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038722 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: lon, ts, qc, reading
Sensor: drought_index | fields: type, lat, depth, value
Task: Get reading from pressure where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038723 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: depth, type, value, lon
Sensor: pressure | fields: level, depth, unit, reading
Task: Get depth from evaporation where value exceeds the average depth from pressure for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038724 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lon, value, depth, lat
Sensor: uv_index | fields: level, lon, reading, qc
Task: Get level from air_quality where a corresponding entry exists in uv_index with the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038725 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: level, qc, depth, ts
Sensor: sunlight | fields: depth, reading, ts, value
Task: Retrieve lon from snow_depth whose depth is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038726 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: lat, reading, qc, unit
Sensor: visibility | fields: ts, depth, lon, lat
Task: Fetch lat from uv_index where type exists in visibility sensor data for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038727 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: lon, lat, unit, type
Sensor: evaporation | fields: reading, unit, type, qc
Task: Retrieve reading from pressure that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038728 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: qc, unit, ts, depth
Sensor: visibility | fields: level, lat, reading, ts
Task: Fetch depth from temperature that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038729 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: lon, value, depth, level
Sensor: cloud_cover | fields: reading, type, value, unit
Task: Retrieve value from drought_index that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038730 | train |
v1 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, lat, depth, type
Sensor: uv_index | fields: lat, value, level, type
Task: Get level from snow_depth where qc appears in uv_index readings with matching ts.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=set_member(
field="qc",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038731 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: lon, depth, lat, qc
Sensor: rainfall | fields: unit, value, depth, lat
Task: Retrieve reading from temperature whose type is found in rainfall records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038732 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: unit, reading, value, level
Sensor: air_quality | fields: type, depth, value, level
Task: Get level from humidity where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038733 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, value, type, ts
Sensor: air_quality | fields: value, reading, ts, qc
Task: Fetch value from cloud_cover where value is greater than the minimum of reading in air_quality for matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038734 | train |
v2 | Sensor network script:
Node: visibility | code: gst | fields: value, unit, reading, lon
Sensor: uv_index | fields: lon, qc, reading, depth
Task: Get reading from visibility where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038735 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, lat, value, lon
Sensor: uv_index | fields: lon, type, ts, reading
Task: Retrieve reading from wind_speed that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038736 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: depth, level, ts, type
Sensor: lightning | fields: unit, lon, depth, value
Task: Get lon from humidity where value exceeds the count of value from lightning for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="value",
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": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038737 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: ts, lat, unit, type
Sensor: lightning | fields: type, unit, level, depth
Task: Retrieve value from snow_depth with value above the MIN(value) of lightning readings sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038738 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, lat, level, qc
Sensor: evaporation | fields: lat, ts, level, depth
Task: Retrieve lon from humidity with value above the COUNT(value) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038739 | train |
v2 | Sensor network script:
Node: dew_point | code: mst | fields: qc, lat, lon, reading
Sensor: wind_speed | fields: reading, ts, lat, unit
Task: Get lat from dew_point where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038740 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: reading, type, ts, qc
Sensor: uv_index | fields: lat, qc, reading, type
Task: Fetch depth from frost where depth exists in uv_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038741 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, value, unit, level
Sensor: temperature | fields: qc, unit, depth, ts
Task: Get lon from visibility where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038742 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, value, ts, level
Sensor: dew_point | fields: lon, type, depth, lat
Task: Retrieve value from frost that have at least one matching reading in dew_point sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038743 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: unit, type, value, reading
Sensor: pressure | fields: unit, reading, lat, type
Task: Fetch value from evaporation where depth exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038744 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, type, lat, reading
Sensor: humidity | fields: depth, lon, level, lat
Task: Retrieve depth from wind_speed that have at least one matching reading in humidity sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038745 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: lat, type, qc, lon
Sensor: rainfall | fields: reading, value, unit, level
Task: Fetch lat from wind_speed that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038746 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: lat, ts, level, lon
Sensor: soil_moisture | fields: lat, level, unit, reading
Task: Retrieve reading from uv_index with depth above the MIN(depth) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038747 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, lat, depth, level
Sensor: soil_moisture | fields: lon, unit, qc, type
Task: Get value from temperature where a corresponding entry exists in soil_moisture with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038748 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: depth, unit, qc, level
Sensor: drought_index | fields: qc, lat, level, type
Task: Get level from sunlight where qc appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038749 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: reading, qc, type, unit
Sensor: frost | fields: depth, unit, type, value
Task: Get value from humidity where depth exceeds the minimum reading from frost for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="ts"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038750 | train |
v3 | Sensor network script:
Node: drought_index | code: mst | fields: reading, lon, unit, ts
Sensor: cloud_cover | fields: type, ts, depth, level
Task: Get lon from drought_index where reading exceeds the count of value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038751 | train |
v1 | Sensor network script:
Node: dew_point | code: hub | fields: qc, lon, reading, lat
Sensor: drought_index | fields: ts, lon, value, qc
Task: Fetch lon from dew_point where depth exists in drought_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038752 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, lon, type, level
Sensor: air_quality | fields: ts, reading, lon, value
Task: Fetch level from pressure that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038753 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: value, unit, depth, level
Sensor: wind_speed | fields: type, value, ts, qc
Task: Get lon from drought_index where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038754 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, level, depth, lon
Sensor: drought_index | fields: value, lat, depth, ts
Task: Retrieve reading from snow_depth that have at least one matching reading in drought_index sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038755 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: lon, unit, depth, reading
Sensor: cloud_cover | fields: qc, ts, level, value
Task: Get depth from pressure where depth exceeds the count of reading from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038756 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, lon, depth, type
Sensor: soil_moisture | fields: depth, value, lon, lat
Task: Get lon from rainfall where depth exceeds the maximum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038757 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: value, reading, unit, type
Sensor: humidity | fields: value, lat, lon, type
Task: Get reading from sunlight where value exceeds the total value from humidity for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038758 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, qc, level, unit
Sensor: sunlight | fields: reading, type, qc, ts
Task: Retrieve value from visibility with value above the MIN(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038759 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: unit, level, qc, reading
Sensor: wind_speed | fields: unit, value, level, ts
Task: Get level from pressure where depth exceeds the maximum depth from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038760 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: unit, value, reading, qc
Sensor: visibility | fields: qc, lon, type, reading
Task: Fetch value from evaporation that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038761 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: lon, depth, reading, level
Sensor: air_quality | fields: lon, ts, reading, value
Task: Fetch reading from cloud_cover that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038762 | train |
v3 | Sensor network script:
Node: sunlight | code: thr | fields: depth, ts, value, lon
Sensor: drought_index | fields: qc, value, level, unit
Task: Retrieve reading from sunlight with value above the MIN(value) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038763 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: reading, level, unit, lon
Sensor: uv_index | fields: value, ts, depth, unit
Task: Retrieve depth from pressure whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038764 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: unit, ts, level, type
Sensor: air_quality | fields: value, lat, lon, depth
Task: Get lon from rainfall where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038765 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: type, qc, reading, unit
Sensor: wind_speed | fields: level, type, lon, qc
Task: Get level from dew_point where depth appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038766 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, level, unit, lat
Sensor: pressure | fields: unit, lat, ts, depth
Task: Get reading from snow_depth where value exceeds the average reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038767 | train |
v2 | Sensor network script:
Node: pressure | code: clr | fields: value, unit, reading, qc
Sensor: drought_index | fields: lat, level, value, unit
Task: Get level from pressure where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"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_038768 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: value, level, type, lat
Sensor: snow_depth | fields: type, value, qc, level
Task: Get value from soil_moisture where depth exceeds the total depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038769 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: level, type, value, lat
Sensor: evaporation | fields: reading, level, lat, type
Task: Retrieve lon from humidity that have at least one matching reading in evaporation sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038770 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: value, reading, ts, level
Sensor: snow_depth | fields: qc, depth, type, lon
Task: Retrieve lat from rainfall whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038771 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, lon, level
Sensor: visibility | fields: unit, lon, depth, level
Task: Fetch level from rainfall where qc exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038772 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: ts, type, qc, reading
Sensor: humidity | fields: lon, lat, level, type
Task: Fetch level from dew_point that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038773 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: lat, level, reading, value
Sensor: lightning | fields: depth, qc, value, unit
Task: Retrieve level from wind_speed that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038774 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, level, type, unit
Sensor: cloud_cover | fields: qc, unit, reading, type
Task: Fetch lon from lightning that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038775 | train |
v2 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, qc, level, type
Sensor: dew_point | fields: lon, ts, type, level
Task: Fetch reading from wind_speed that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038776 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: qc, lat, ts, lon
Sensor: visibility | fields: ts, lat, unit, value
Task: Get depth from dew_point where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038777 | train |
v1 | Sensor network script:
Node: lightning | code: gst | fields: value, ts, lat, type
Sensor: air_quality | fields: ts, lon, reading, depth
Task: Fetch level from lightning where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038778 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lon, value, reading, qc
Sensor: humidity | fields: reading, lat, qc, level
Task: Fetch depth from drought_index where ts exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038779 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: ts, unit, qc, reading
Sensor: wind_speed | fields: qc, unit, lon, level
Task: Get level from temperature where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038780 | train |
v1 | Sensor network script:
Node: humidity | code: prt | fields: value, depth, unit, reading
Sensor: pressure | fields: depth, lat, ts, lon
Task: Fetch value from humidity where qc exists in pressure sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038781 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: value, type, depth, lat
Sensor: visibility | fields: level, lon, value, type
Task: Get reading from frost where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038782 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: ts, lon, depth, value
Sensor: air_quality | fields: depth, type, lon, reading
Task: Fetch reading from rainfall where qc exists in air_quality sensor data for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038783 | train |
v1 | Sensor network script:
Node: pressure | code: ref | fields: lat, depth, level, qc
Sensor: temperature | fields: lon, reading, type, depth
Task: Retrieve lat from pressure whose type is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038784 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: unit, level, ts, depth
Sensor: pressure | fields: value, lon, lat, unit
Task: Get depth from evaporation where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038785 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: reading, qc, value, unit
Sensor: air_quality | fields: type, depth, reading, lon
Task: Get lon from pressure where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038786 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: qc, value, depth, type
Sensor: drought_index | fields: lat, type, unit, depth
Task: Fetch depth from cloud_cover that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038787 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: lat, lon, value, unit
Sensor: cloud_cover | fields: ts, lat, reading, value
Task: Retrieve depth from air_quality that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038788 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, lat, type, depth
Sensor: wind_speed | fields: reading, level, lat, type
Task: Retrieve reading from dew_point that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "dew_point",
"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_038789 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: level, qc, type, lon
Sensor: visibility | fields: reading, qc, type, ts
Task: Get lon from cloud_cover where unit appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038790 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: unit, lon, type, qc
Sensor: humidity | fields: qc, reading, ts, unit
Task: Fetch reading from dew_point that have at least one corresponding humidity measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038791 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: level, depth, lat, qc
Sensor: wind_speed | fields: lat, ts, lon, reading
Task: Retrieve level from frost whose qc is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038792 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, value, depth, level
Sensor: pressure | fields: depth, level, ts, value
Task: Get lat from air_quality where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038793 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, lat, qc, unit
Sensor: air_quality | fields: level, depth, ts, unit
Task: Retrieve value from drought_index whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038794 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, unit, qc
Sensor: air_quality | fields: lat, reading, ts, value
Task: Get lon from pressure where qc appears in air_quality readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038795 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: unit, level, lon, value
Sensor: wind_speed | fields: qc, value, lat, type
Task: Retrieve lat from snow_depth whose ts is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038796 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: depth, lon, lat, level
Sensor: temperature | fields: type, unit, qc, lon
Task: Retrieve lon from soil_moisture whose type is found in temperature records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="depth",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038797 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: depth, type, value, lon
Sensor: sunlight | fields: lat, level, value, ts
Task: Get level from turbidity where depth exceeds the total reading from sunlight for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_038798 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: ts, type, unit, reading
Sensor: visibility | fields: lat, reading, type, level
Task: Retrieve depth from temperature that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_038799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.