variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, value, type, qc
Sensor: sunlight | fields: level, reading, qc, lat
Task: Get value from cloud_cover where reading exceeds the count of reading from sunlight for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053900 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: ts, lat, type, level
Sensor: soil_moisture | fields: qc, type, lat, ts
Task: Retrieve lon from turbidity with value above the COUNT(reading) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053901 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lat, lon, reading, ts
Sensor: rainfall | fields: reading, type, lon, lat
Task: Retrieve reading from air_quality with depth above the MIN(depth) of rainfall readings sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053902 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, reading, lon, ts
Sensor: evaporation | fields: lon, depth, reading, level
Task: Get level from uv_index where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053903 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: type, qc, ts, depth
Sensor: visibility | fields: ts, depth, unit, lat
Task: Retrieve lon from frost whose depth is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053904 | train |
v1 | Sensor network script:
Node: drought_index | code: thr | fields: level, qc, lat, lon
Sensor: turbidity | fields: lat, level, type, ts
Task: Retrieve level from drought_index whose type is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053905 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: unit, lat, value, ts
Sensor: temperature | fields: depth, unit, lat, level
Task: Retrieve lat from wind_speed whose depth is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053906 | train |
v1 | Sensor network script:
Node: drought_index | code: mst | fields: value, ts, qc, level
Sensor: visibility | fields: type, reading, qc, depth
Task: Fetch level from drought_index where unit exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053907 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, depth, value, level
Sensor: drought_index | fields: qc, lon, lat, depth
Task: Get lon from humidity where depth exceeds the maximum value from drought_index for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053908 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: level, lon, value, lat
Sensor: sunlight | fields: qc, unit, lat, ts
Task: Retrieve depth from wind_speed with reading above the COUNT(depth) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053909 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, depth, lon, type
Sensor: cloud_cover | fields: level, type, reading, value
Task: Get level from soil_moisture where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053910 | train |
v3 | Sensor network script:
Node: rainfall | code: gst | fields: level, ts, reading, lat
Sensor: turbidity | fields: unit, qc, type, ts
Task: Fetch depth from rainfall where value is greater than the average of reading in turbidity for matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053911 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: level, lon, reading, qc
Sensor: pressure | fields: reading, type, depth, level
Task: Get depth from rainfall where depth exceeds the maximum reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053912 | train |
v1 | Sensor network script:
Node: turbidity | code: hub | fields: ts, depth, reading, unit
Sensor: drought_index | fields: reading, level, value, unit
Task: Retrieve lon from turbidity whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053913 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: depth, level, unit, ts
Sensor: air_quality | fields: value, depth, reading, lat
Task: Fetch value from lightning that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053914 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: depth, ts, qc, type
Sensor: temperature | fields: ts, level, qc, unit
Task: Retrieve reading from frost that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053915 | train |
v3 | Sensor network script:
Node: dew_point | code: prt | fields: lat, depth, ts, type
Sensor: snow_depth | fields: reading, type, level, unit
Task: Fetch value from dew_point where depth is greater than the maximum of value in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053916 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: qc, value, reading, lon
Sensor: wind_speed | fields: qc, level, value, lat
Task: Retrieve depth from temperature with value above the MAX(value) of wind_speed readings sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053917 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: unit, lon, ts, depth
Sensor: pressure | fields: depth, unit, value, ts
Task: Fetch level from drought_index where reading is greater than the total of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053918 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: reading, ts, qc, type
Sensor: evaporation | fields: ts, type, unit, qc
Task: Fetch lat from temperature where depth exists in evaporation sensor data for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053919 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: reading, lon, ts, type
Sensor: rainfall | fields: reading, level, type, qc
Task: Retrieve value from evaporation whose depth is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053920 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: value, ts, lat, level
Sensor: dew_point | fields: unit, type, reading, lon
Task: Retrieve depth from humidity with depth above the COUNT(value) of dew_point readings sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053921 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: lon, reading, lat, depth
Sensor: dew_point | fields: qc, value, unit, ts
Task: Get lat from cloud_cover where ts appears in dew_point readings with matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053922 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: type, value, unit, lon
Sensor: dew_point | fields: value, unit, level, reading
Task: Retrieve value from frost that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053923 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: type, lat, ts, level
Sensor: lightning | fields: value, level, lon, depth
Task: Fetch depth from visibility that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053924 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: type, reading, ts, qc
Sensor: turbidity | fields: ts, level, depth, lon
Task: Get depth from uv_index where depth exceeds the maximum reading from turbidity for the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053925 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: ts, lat, lon, depth
Sensor: uv_index | fields: reading, qc, depth, unit
Task: Fetch value from temperature that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053926 | train |
v3 | Sensor network script:
Node: lightning | code: gst | fields: depth, value, lat, qc
Sensor: visibility | fields: lon, lat, qc, reading
Task: Retrieve value from lightning with value above the MAX(depth) of visibility readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053927 | train |
v2 | Sensor network script:
Node: cloud_cover | code: clr | fields: ts, lat, value, level
Sensor: dew_point | fields: type, qc, level, depth
Task: Retrieve level from cloud_cover that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053928 | train |
v3 | Sensor network script:
Node: visibility | code: prt | fields: ts, lon, value, reading
Sensor: snow_depth | fields: value, qc, ts, reading
Task: Fetch depth from visibility where value is greater than the total of depth in snow_depth for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053929 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: value, reading, ts, type
Sensor: evaporation | fields: lon, unit, reading, value
Task: Get value from lightning where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053930 | train |
v1 | Sensor network script:
Node: visibility | code: prt | fields: lon, ts, lat, type
Sensor: sunlight | fields: qc, lat, unit, depth
Task: Get reading from visibility where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053931 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: level, ts, lon, unit
Sensor: dew_point | fields: lon, qc, level, ts
Task: Retrieve reading from visibility with reading above the SUM(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "reading",
"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_053932 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, lat, lon, value
Sensor: dew_point | fields: type, value, lat, depth
Task: Retrieve depth from temperature whose ts is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053933 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: lon, reading, unit, type
Sensor: turbidity | fields: type, reading, depth, value
Task: Get lat from dew_point where a corresponding entry exists in turbidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053934 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, reading, ts, type
Sensor: evaporation | fields: lon, reading, type, value
Task: Retrieve value from wind_speed that have at least one matching reading in evaporation sharing the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053935 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: value, depth, type, reading
Sensor: lightning | fields: lon, reading, ts, qc
Task: Retrieve level from visibility whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "mst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053936 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: lon, qc, reading, unit
Sensor: pressure | fields: value, depth, ts, type
Task: Retrieve level from temperature that have at least one matching reading in pressure sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053937 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: value, type, level, qc
Sensor: wind_speed | fields: level, qc, ts, lat
Task: Get lon from snow_depth where unit appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053938 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: ts, unit, lat, depth
Sensor: rainfall | fields: unit, ts, qc, type
Task: Retrieve depth from cloud_cover whose depth is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053939 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: qc, lat, value, ts
Sensor: visibility | fields: depth, reading, value, level
Task: Retrieve lat from rainfall that have at least one matching reading in visibility sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053940 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, ts, reading, level
Sensor: snow_depth | fields: unit, value, lon, level
Task: Get depth from lightning where reading exceeds the count of depth from snow_depth for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053941 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: unit, depth, reading, qc
Sensor: cloud_cover | fields: level, qc, lon, type
Task: Get lat from sunlight where reading exceeds the average value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053942 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: value, reading, ts, level
Sensor: rainfall | fields: lon, level, ts, reading
Task: Retrieve level from pressure whose unit is found in rainfall records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053943 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: level, ts, depth, type
Sensor: pressure | fields: value, type, unit, reading
Task: Get depth from temperature where value exceeds the average reading from pressure for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053944 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, unit, qc, lon
Sensor: wind_speed | fields: lat, qc, unit, reading
Task: Fetch reading from visibility that have at least one corresponding wind_speed measurement for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053945 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: unit, value, level, type
Sensor: frost | fields: qc, unit, level, ts
Task: Fetch level from cloud_cover where depth is greater than the maximum of reading in frost for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053946 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: level, value, ts, lon
Sensor: temperature | fields: qc, reading, unit, ts
Task: Fetch lat from drought_index where unit exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053947 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: depth, level, reading, ts
Sensor: wind_speed | fields: value, lon, qc, reading
Task: Get depth from evaporation where ts appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053948 | train |
v3 | Sensor network script:
Node: evaporation | code: prt | fields: lon, value, unit, type
Sensor: frost | fields: qc, lat, depth, lon
Task: Retrieve depth from evaporation with depth above the SUM(value) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("frost", code="frs"),
match="depth"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053949 | train |
v1 | Sensor network script:
Node: lightning | code: hub | fields: reading, unit, ts, type
Sensor: snow_depth | fields: depth, ts, value, type
Task: Retrieve lon from lightning whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053950 | train |
v3 | Sensor network script:
Node: cloud_cover | code: hub | fields: reading, ts, qc, lat
Sensor: wind_speed | fields: depth, value, unit, type
Task: Retrieve value from cloud_cover with depth above the MAX(depth) of wind_speed readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("wind_speed", code="gst"),
match="qc"),
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053951 | train |
v2 | Sensor network script:
Node: humidity | code: clr | fields: unit, lat, value, lon
Sensor: temperature | fields: level, ts, value, lat
Task: Retrieve value from humidity that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053952 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: value, depth, level, unit
Sensor: lightning | fields: lon, level, lat, ts
Task: Retrieve value from cloud_cover that have at least one matching reading in lightning sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "prt",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053953 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: depth, lon, ts, value
Sensor: sunlight | fields: depth, value, level, lon
Task: Fetch depth from air_quality that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053954 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: unit, ts, lat, reading
Sensor: turbidity | fields: lat, reading, type, unit
Task: Fetch lat from drought_index where value is greater than the minimum of value in turbidity for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053955 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: lon, lat, type, value
Sensor: evaporation | fields: depth, qc, value, reading
Task: Retrieve lat from lightning that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053956 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: unit, lat, reading, ts
Sensor: snow_depth | fields: unit, depth, lon, level
Task: Fetch value from uv_index where qc exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053957 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: reading, type, depth, qc
Sensor: temperature | fields: ts, value, lat, depth
Task: Retrieve level from soil_moisture that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053958 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: depth, qc, lon, lat
Sensor: sunlight | fields: value, type, lat, reading
Task: Fetch lon from uv_index where reading is greater than the total of value in sunlight for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053959 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: lat, lon, ts, reading
Sensor: soil_moisture | fields: ts, type, unit, lon
Task: Fetch value from evaporation where depth is greater than the total of value in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053960 | train |
v1 | Sensor network script:
Node: air_quality | code: gst | fields: lon, qc, lat, type
Sensor: humidity | fields: depth, ts, level, qc
Task: Retrieve lat from air_quality whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053961 | train |
v1 | Sensor network script:
Node: visibility | code: hub | fields: reading, qc, lat, depth
Sensor: cloud_cover | fields: lon, level, ts, unit
Task: Get value from visibility where ts appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053962 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: qc, unit, ts, type
Sensor: cloud_cover | fields: reading, unit, ts, value
Task: Get reading from rainfall where value exceeds the total value from cloud_cover for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053963 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, depth, ts, reading
Sensor: pressure | fields: value, level, lon, qc
Task: Fetch depth from drought_index where reading is greater than the average of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053964 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: value, lat, unit, qc
Sensor: wind_speed | fields: level, lon, unit, qc
Task: Retrieve depth from air_quality that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053965 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: depth, level, reading, value
Sensor: dew_point | fields: ts, depth, value, unit
Task: Fetch value from temperature where depth is greater than the average of reading in dew_point for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053966 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: qc, lat, reading, depth
Sensor: soil_moisture | fields: type, value, depth, qc
Task: Get reading from air_quality where depth appears in soil_moisture readings with matching type.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053967 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: lat, ts, type, level
Sensor: dew_point | fields: level, depth, reading, value
Task: Fetch lon from snow_depth where type exists in dew_point sensor data for the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053968 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: level, value, lat, lon
Sensor: temperature | fields: reading, level, type, qc
Task: Get level from frost where ts appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053969 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: lat, level, unit, depth
Sensor: drought_index | fields: type, value, depth, unit
Task: Get value from uv_index where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053970 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: ts, type, value, reading
Sensor: turbidity | fields: reading, ts, qc, value
Task: Get value from rainfall where ts appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053971 | train |
v3 | Sensor network script:
Node: visibility | code: gst | fields: value, reading, level, lon
Sensor: lightning | fields: reading, type, qc, ts
Task: Get level from visibility where depth exceeds the minimum value from lightning for the same type.
Script: | readings = fetch(
node=Node("visibility", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053972 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: value, unit, depth, reading
Sensor: cloud_cover | fields: lat, type, unit, reading
Task: Fetch value from wind_speed where type exists in cloud_cover sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053973 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: depth, lat, level, value
Sensor: uv_index | fields: qc, level, lat, unit
Task: Get level from rainfall where ts appears in uv_index readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="ts",
source=Probe("uv_index", code="flx"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053974 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: qc, lat, lon, unit
Sensor: air_quality | fields: level, type, reading, depth
Task: Get lat from wind_speed where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053975 | train |
v1 | Sensor network script:
Node: rainfall | code: ref | fields: qc, ts, unit, depth
Sensor: air_quality | fields: value, qc, depth, lat
Task: Get level from rainfall where unit appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053976 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, depth, lat, qc
Sensor: soil_moisture | fields: ts, qc, value, lat
Task: Fetch level from snow_depth where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053977 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: ts, depth, value, level
Sensor: uv_index | fields: qc, lat, lon, type
Task: Fetch depth from sunlight that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053978 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: level, ts, lon, lat
Sensor: turbidity | fields: qc, reading, depth, type
Task: Fetch level from drought_index where value is greater than the maximum of reading in turbidity for matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053979 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: level, unit, value, ts
Sensor: drought_index | fields: qc, unit, lon, reading
Task: Get lat from air_quality where reading exceeds the average value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lat",
"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_053980 | train |
v1 | Sensor network script:
Node: snow_depth | code: stn | fields: value, ts, depth, reading
Sensor: drought_index | fields: unit, lon, reading, qc
Task: Retrieve depth from snow_depth whose type is found in drought_index records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053981 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: ts, lon, reading, depth
Sensor: evaporation | fields: value, reading, depth, ts
Task: Fetch reading from drought_index where value is greater than the count of of value in evaporation for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053982 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: depth, unit, lat, level
Sensor: temperature | fields: lat, depth, reading, type
Task: Get depth from lightning where a corresponding entry exists in temperature with the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053983 | train |
v3 | Sensor network script:
Node: visibility | code: clr | fields: qc, lat, value, depth
Sensor: turbidity | fields: level, value, depth, unit
Task: Fetch reading from visibility where depth is greater than the maximum of depth in turbidity for matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053984 | train |
v1 | Sensor network script:
Node: cloud_cover | code: stn | fields: qc, depth, lon, level
Sensor: turbidity | fields: depth, reading, lon, level
Task: Fetch depth from cloud_cover where ts exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053985 | train |
v2 | Sensor network script:
Node: temperature | code: stn | fields: reading, depth, lon, value
Sensor: visibility | fields: lat, ts, qc, depth
Task: Get reading from temperature where a corresponding entry exists in visibility with the same unit.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053986 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: ts, value, reading, type
Sensor: wind_speed | fields: lon, unit, level, type
Task: Retrieve level from uv_index that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053987 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, level, unit, value
Sensor: cloud_cover | fields: qc, depth, lat, ts
Task: Get reading from air_quality where value exceeds the count of depth from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053988 | train |
v2 | Sensor network script:
Node: sunlight | code: ref | fields: lat, value, unit, qc
Sensor: wind_speed | fields: reading, ts, value, level
Task: Get lon from sunlight where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053989 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: lat, reading, unit, level
Sensor: evaporation | fields: type, ts, reading, lat
Task: Retrieve reading from snow_depth with reading above the COUNT(reading) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053990 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, lon, value, ts
Sensor: humidity | fields: qc, level, type, lon
Task: Retrieve lat from wind_speed whose unit is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053991 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: ts, type, qc, reading
Sensor: turbidity | fields: lat, value, ts, lon
Task: Get lat from temperature where reading exceeds the average depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053992 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: type, ts, lon, qc
Sensor: wind_speed | fields: ts, qc, type, level
Task: Retrieve value from pressure that have at least one matching reading in wind_speed sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_053993 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lon, unit, depth
Sensor: dew_point | fields: qc, lat, unit, level
Task: Retrieve level from turbidity whose type is found in dew_point records where ts matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053994 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: lon, type, level, unit
Sensor: pressure | fields: reading, level, type, value
Task: Fetch reading from sunlight that have at least one corresponding pressure measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053995 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: qc, lat, level, value
Sensor: soil_moisture | fields: unit, depth, lat, ts
Task: Retrieve value from air_quality that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053996 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, lon, lat, qc
Sensor: frost | fields: lon, value, level, depth
Task: Get lon from pressure where qc appears in frost readings with matching unit.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053997 | train |
v3 | Sensor network script:
Node: snow_depth | code: stn | fields: depth, lat, unit, type
Sensor: sunlight | fields: level, type, value, reading
Task: Retrieve level from snow_depth with reading above the MAX(depth) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053998 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: lat, ts, lon, depth
Sensor: evaporation | fields: value, lon, level, type
Task: Get lat from cloud_cover where a corresponding entry exists in evaporation with the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_053999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.