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: sunlight | code: ref | fields: ts, value, level, unit
Sensor: dew_point | fields: ts, reading, type, unit
Task: Retrieve lat from sunlight with value above the MIN(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055700 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, lat, value, ts
Sensor: soil_moisture | fields: reading, lon, ts, lat
Task: Get level from drought_index where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055701 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: value, qc, reading, level
Sensor: soil_moisture | fields: unit, level, value, qc
Task: Fetch value from pressure where type exists in soil_moisture sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055702 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: lat, reading, level, type
Sensor: sunlight | fields: unit, value, ts, type
Task: Fetch reading from pressure that have at least one corresponding sunlight measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055703 | train |
v1 | Sensor network script:
Node: temperature | code: hub | fields: unit, qc, lat, depth
Sensor: rainfall | fields: lat, level, type, ts
Task: Get level from temperature where ts appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055704 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, value, ts, depth
Sensor: soil_moisture | fields: unit, ts, depth, level
Task: Retrieve lon from evaporation that have at least one matching reading in soil_moisture sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055705 | train |
v3 | Sensor network script:
Node: turbidity | code: mst | fields: lat, level, value, ts
Sensor: frost | fields: lon, unit, type, value
Task: Get value from turbidity where depth exceeds the count of depth from frost for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("frost", code="frs"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055706 | train |
v1 | Sensor network script:
Node: humidity | code: clr | fields: lat, reading, unit, qc
Sensor: cloud_cover | fields: lat, type, level, value
Task: Get reading from humidity where qc appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055707 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: depth, value, type, reading
Sensor: frost | fields: value, lat, unit, lon
Task: Fetch lat from evaporation that have at least one corresponding frost measurement for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055708 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: lon, type, lat, depth
Sensor: evaporation | fields: unit, type, level, depth
Task: Get level from turbidity where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055709 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lat, qc, depth, ts
Sensor: turbidity | fields: lat, type, lon, value
Task: Fetch level from humidity where reading is greater than the total of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055710 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: lat, depth, lon, unit
Sensor: snow_depth | fields: value, qc, lon, reading
Task: Retrieve level from uv_index whose qc is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055711 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: reading, depth, lat, ts
Sensor: visibility | fields: depth, level, reading, value
Task: Get lon from uv_index where unit appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055712 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: ts, reading, type, unit
Sensor: snow_depth | fields: qc, depth, type, unit
Task: Retrieve depth from frost with depth above the MAX(value) of snow_depth readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"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_055713 | train |
v1 | Sensor network script:
Node: drought_index | code: gst | fields: value, qc, level, lon
Sensor: air_quality | fields: reading, qc, depth, level
Task: Fetch lon from drought_index where depth exists in air_quality sensor data for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055714 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: ts, lon, lat, qc
Sensor: rainfall | fields: depth, ts, level, value
Task: Fetch value from frost that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055715 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: type, depth, qc, unit
Sensor: dew_point | fields: lat, lon, reading, type
Task: Get level from cloud_cover where value exceeds the minimum reading from dew_point for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055716 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: lon, qc, type, reading
Sensor: air_quality | fields: depth, ts, unit, value
Task: Fetch lat from drought_index where reading is greater than the minimum of reading in air_quality for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055717 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: level, depth, type, ts
Sensor: soil_moisture | fields: lat, reading, level, lon
Task: Retrieve lon from uv_index that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055718 | train |
v1 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, qc, unit, level
Sensor: temperature | fields: reading, value, ts, qc
Task: Fetch lat from snow_depth where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055719 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: depth, level, value, lon
Sensor: lightning | fields: lat, lon, level, unit
Task: Fetch reading from evaporation where qc exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055720 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, lon, reading, lat
Sensor: pressure | fields: ts, depth, value, type
Task: Get depth from wind_speed where a corresponding entry exists in pressure with the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055721 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: lon, ts, value, unit
Sensor: visibility | fields: reading, lon, type, level
Task: Retrieve level from pressure with depth above the COUNT(depth) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055722 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, value, unit, level
Sensor: sunlight | fields: level, reading, type, depth
Task: Get lon from pressure where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055723 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: type, value, level, reading
Sensor: rainfall | fields: type, ts, lon, qc
Task: Retrieve lon from wind_speed that have at least one matching reading in rainfall sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055724 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: type, lat, unit, value
Sensor: wind_speed | fields: qc, reading, depth, type
Task: Get depth from rainfall where reading exceeds the average reading from wind_speed for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055725 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: ts, depth, type, value
Sensor: evaporation | fields: reading, qc, type, value
Task: Retrieve level from rainfall with reading above the AVG(reading) of evaporation readings sharing the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055726 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: qc, depth, level, reading
Sensor: lightning | fields: type, depth, value, lat
Task: Get reading from temperature where qc appears in lightning readings with matching unit.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055727 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: ts, type, lon, depth
Sensor: sunlight | fields: ts, level, type, unit
Task: Retrieve reading from air_quality that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055728 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: value, depth, level, type
Sensor: rainfall | fields: ts, qc, depth, level
Task: Retrieve lon from lightning with depth above the COUNT(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055729 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: level, type, unit, reading
Sensor: uv_index | fields: ts, lon, unit, level
Task: Retrieve reading from turbidity whose unit is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="unit",
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055730 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, unit, reading, type
Sensor: visibility | fields: lon, depth, value, unit
Task: Fetch level from soil_moisture where type exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055731 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: value, lon, qc, lat
Sensor: dew_point | fields: qc, lon, ts, type
Task: Fetch lon from wind_speed where unit exists in dew_point sensor data for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055732 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: qc, lon, depth, unit
Sensor: temperature | fields: value, depth, lat, reading
Task: Retrieve depth from dew_point that have at least one matching reading in temperature sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055733 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: reading, lon, value, unit
Sensor: dew_point | fields: qc, level, lat, ts
Task: Retrieve level from visibility whose qc is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055734 | train |
v1 | Sensor network script:
Node: pressure | code: mst | fields: depth, unit, lon, type
Sensor: cloud_cover | fields: unit, ts, lat, lon
Task: Retrieve lon from pressure whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055735 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: reading, ts, value, lat
Sensor: air_quality | fields: reading, qc, lon, unit
Task: Get value from cloud_cover where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
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": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055736 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: depth, reading, qc, level
Sensor: visibility | fields: lat, value, reading, lon
Task: Fetch reading from air_quality where depth is greater than the count of of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055737 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: reading, depth, unit, qc
Sensor: visibility | fields: qc, lon, lat, value
Task: Get reading from turbidity where a corresponding entry exists in visibility with the same type.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055738 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: ts, qc, depth, level
Sensor: pressure | fields: depth, qc, lon, ts
Task: Retrieve lon from uv_index that have at least one matching reading in pressure sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055739 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: type, value, depth, lon
Sensor: evaporation | fields: depth, lon, ts, lat
Task: Get reading from lightning where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055740 | train |
v2 | Sensor network script:
Node: cloud_cover | code: mst | fields: depth, unit, qc, type
Sensor: air_quality | fields: lat, lon, ts, value
Task: Get lat from cloud_cover where a corresponding entry exists in air_quality with the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055741 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: depth, unit, lon, value
Sensor: turbidity | fields: value, qc, depth, ts
Task: Fetch value from air_quality where qc exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055742 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, value, depth, lon
Sensor: snow_depth | fields: type, level, ts, lat
Task: Fetch depth from cloud_cover where ts exists in snow_depth sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055743 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: type, value, unit, level
Sensor: cloud_cover | fields: value, level, lat, unit
Task: Fetch lat from drought_index where qc exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055744 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: type, value, ts, lon
Sensor: wind_speed | fields: value, qc, depth, type
Task: Retrieve lon from temperature with reading above the MAX(value) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055745 | train |
v2 | Sensor network script:
Node: rainfall | code: gst | fields: depth, level, qc, lat
Sensor: temperature | fields: lat, lon, reading, depth
Task: Fetch value from rainfall that have at least one corresponding temperature measurement for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055746 | train |
v3 | Sensor network script:
Node: uv_index | code: thr | fields: type, unit, reading, depth
Sensor: sunlight | fields: depth, value, qc, level
Task: Get level from uv_index where reading exceeds the maximum value from sunlight for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055747 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: depth, qc, value, level
Sensor: evaporation | fields: type, ts, lon, level
Task: Get depth from sunlight where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055748 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: lon, depth, level, reading
Sensor: pressure | fields: qc, unit, level, lat
Task: Fetch depth from humidity where depth is greater than the average of depth in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055749 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, level, type, qc
Sensor: drought_index | fields: type, qc, unit, level
Task: Get lat from evaporation where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055750 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: lon, qc, value, lat
Sensor: uv_index | fields: qc, ts, lat, lon
Task: Get depth from frost where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055751 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: ts, value, type, lat
Sensor: rainfall | fields: depth, lat, level, qc
Task: Fetch level from lightning where value is greater than the maximum of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055752 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: ts, value, depth, lon
Sensor: temperature | fields: depth, lat, type, qc
Task: Retrieve value from turbidity whose ts is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055753 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: value, ts, reading, lat
Sensor: cloud_cover | fields: level, depth, lon, lat
Task: Get reading from soil_moisture where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055754 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: ts, lat, type, reading
Sensor: visibility | fields: type, depth, unit, qc
Task: Retrieve reading from turbidity that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055755 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, type, ts, reading
Sensor: dew_point | fields: lat, reading, value, level
Task: Retrieve depth from lightning with depth above the MAX(value) of dew_point readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055756 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: lon, lat, value, qc
Sensor: lightning | fields: depth, lon, ts, qc
Task: Get value from visibility where depth exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055757 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, lat, ts, unit
Sensor: pressure | fields: qc, lat, value, depth
Task: Fetch reading from soil_moisture where depth is greater than the total of value in pressure for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055758 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, reading, qc, lon
Sensor: pressure | fields: lon, unit, type, lat
Task: Get value from soil_moisture where depth exceeds the average reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055759 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, lon, level, qc
Sensor: drought_index | fields: value, lon, level, depth
Task: Get lon from turbidity where ts appears in drought_index readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055760 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, value, ts, lat
Sensor: uv_index | fields: reading, unit, type, lat
Task: Retrieve lon from temperature whose type is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055761 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: value, unit, level, reading
Sensor: drought_index | fields: depth, unit, type, qc
Task: Fetch lat from rainfall where qc exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055762 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, ts, type, depth
Sensor: turbidity | fields: ts, lat, value, qc
Task: Get reading from air_quality where reading exceeds the count of value from turbidity for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055763 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: ts, lat, type, value
Sensor: uv_index | fields: ts, level, lon, qc
Task: Fetch depth from evaporation where depth is greater than the average of reading in uv_index for matching type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055764 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, lon, type, level
Sensor: drought_index | fields: unit, lon, ts, value
Task: Get lat from dew_point where reading exceeds the count of depth from drought_index for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055765 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: lon, ts, qc, unit
Sensor: soil_moisture | fields: value, ts, lon, level
Task: Get lon from snow_depth where reading exceeds the count of reading from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055766 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: qc, level, value, lat
Sensor: cloud_cover | fields: reading, depth, level, lon
Task: Get value from air_quality where reading exceeds the average value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055767 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: lon, ts, type, unit
Sensor: evaporation | fields: type, reading, value, level
Task: Fetch depth from drought_index that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055768 | train |
v3 | Sensor network script:
Node: visibility | code: thr | fields: ts, value, type, lat
Sensor: lightning | fields: depth, ts, type, value
Task: Fetch lon from visibility where depth is greater than the maximum of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055769 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: qc, lat, reading, ts
Sensor: dew_point | fields: unit, qc, type, depth
Task: Retrieve depth from snow_depth with value above the MIN(depth) of dew_point readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055770 | train |
v2 | Sensor network script:
Node: air_quality | code: thr | fields: level, value, lat, ts
Sensor: evaporation | fields: lat, unit, value, reading
Task: Get lon from air_quality where a corresponding entry exists in evaporation with the same type.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055771 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lon, ts, reading, type
Sensor: rainfall | fields: reading, type, lon, value
Task: Fetch value from evaporation where depth is greater than the average of depth in rainfall for matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055772 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: reading, ts, value, level
Sensor: lightning | fields: lat, level, qc, type
Task: Retrieve lon from humidity whose qc is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055773 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: reading, lat, unit, level
Sensor: soil_moisture | fields: value, qc, unit, ts
Task: Retrieve value from cloud_cover that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055774 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: unit, lat, value, depth
Sensor: temperature | fields: lon, depth, value, lat
Task: Fetch value from air_quality that have at least one corresponding temperature measurement for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055775 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, depth, level, unit
Sensor: rainfall | fields: depth, unit, type, level
Task: Fetch reading from sunlight that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055776 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: ts, value, reading, lon
Sensor: rainfall | fields: level, ts, depth, qc
Task: Fetch value from uv_index where type exists in rainfall sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055777 | train |
v1 | Sensor network script:
Node: uv_index | code: prt | fields: level, lat, reading, unit
Sensor: drought_index | fields: type, lon, lat, unit
Task: Retrieve value from uv_index whose depth is found in drought_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055778 | train |
v3 | Sensor network script:
Node: wind_speed | code: mst | fields: type, qc, level, reading
Sensor: drought_index | fields: type, lon, unit, depth
Task: Get lat from wind_speed where value exceeds the maximum depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055779 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: reading, unit, level, lat
Sensor: visibility | fields: ts, depth, lon, reading
Task: Retrieve value from humidity with reading above the AVG(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055780 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: lat, reading, type, depth
Sensor: pressure | fields: unit, ts, depth, level
Task: Get value from snow_depth where a corresponding entry exists in pressure with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="type",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055781 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: unit, value, type, level
Sensor: turbidity | fields: ts, depth, lon, unit
Task: Get lon from pressure where qc appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055782 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: level, qc, lat, unit
Sensor: humidity | fields: qc, reading, value, ts
Task: Fetch lon from temperature where unit exists in humidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055783 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: reading, lat, lon, ts
Sensor: air_quality | fields: value, depth, qc, ts
Task: Retrieve value from evaporation with depth above the AVG(value) of air_quality readings sharing the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055784 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: lat, reading, type, depth
Sensor: wind_speed | fields: type, value, lon, lat
Task: Retrieve lon from humidity that have at least one matching reading in wind_speed sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055785 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: depth, qc, type, value
Sensor: frost | fields: qc, depth, value, reading
Task: Retrieve level from rainfall whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055786 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: type, qc, depth, level
Sensor: sunlight | fields: qc, lat, lon, type
Task: Get depth from frost where depth exceeds the count of depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055787 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: depth, ts, level, lat
Sensor: air_quality | fields: qc, ts, depth, lon
Task: Get level from sunlight where unit appears in air_quality readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055788 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: lat, depth, type, unit
Sensor: rainfall | fields: level, lat, reading, depth
Task: Get lat from drought_index where value exceeds the minimum depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055789 | train |
v3 | Sensor network script:
Node: rainfall | code: thr | fields: type, value, ts, unit
Sensor: visibility | fields: type, unit, ts, lat
Task: Retrieve reading from rainfall with value above the SUM(reading) of visibility readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055790 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, reading, qc, level
Sensor: uv_index | fields: type, level, value, lon
Task: Get level from soil_moisture where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055791 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, unit, lon, ts
Sensor: wind_speed | fields: lat, value, lon, qc
Task: Fetch lon from humidity where depth is greater than the minimum of reading in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_055792 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: reading, unit, depth, value
Sensor: soil_moisture | fields: value, level, ts, qc
Task: Get depth from humidity where depth exceeds the minimum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055793 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: type, depth, value, reading
Sensor: pressure | fields: type, lat, depth, unit
Task: Retrieve depth from sunlight whose type is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055794 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: type, lat, lon, ts
Sensor: dew_point | fields: qc, unit, depth, ts
Task: Retrieve level from turbidity that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055795 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, qc, depth, reading
Sensor: turbidity | fields: qc, reading, level, unit
Task: Fetch depth from evaporation where ts exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055796 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: type, value, qc, unit
Sensor: soil_moisture | fields: unit, level, reading, ts
Task: Get depth from rainfall where reading exceeds the average reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055797 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, lat, type, qc
Sensor: pressure | fields: value, depth, lon, ts
Task: Retrieve level from snow_depth that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055798 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: depth, reading, level, value
Sensor: soil_moisture | fields: lat, depth, ts, type
Task: Retrieve value from dew_point that have at least one matching reading in soil_moisture sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_055799 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.