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: dew_point | code: clr | fields: unit, ts, depth, level
Sensor: cloud_cover | fields: type, unit, lat, depth
Task: Retrieve value from dew_point with depth above the AVG(value) of cloud_cover readings sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041500 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: type, lon, unit, depth
Sensor: rainfall | fields: value, lat, depth, qc
Task: Retrieve lon from visibility with value above the SUM(value) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041501 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, level, unit, lon
Sensor: evaporation | fields: lat, value, qc, unit
Task: Retrieve reading from visibility with depth above the AVG(depth) of evaporation readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041502 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: type, lon, level, reading
Sensor: humidity | fields: ts, unit, depth, level
Task: Get level from drought_index where depth appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041503 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: type, lon, value, unit
Sensor: cloud_cover | fields: lat, value, ts, unit
Task: Retrieve lat from snow_depth whose ts is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041504 | train |
v1 | Sensor network script:
Node: snow_depth | code: mst | fields: depth, unit, value, qc
Sensor: frost | fields: reading, value, qc, level
Task: Retrieve value from snow_depth whose unit is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041505 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, type, ts, unit
Sensor: dew_point | fields: ts, type, depth, level
Task: Retrieve reading from soil_moisture whose type is found in dew_point records where depth matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041506 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: depth, type, unit, level
Sensor: soil_moisture | fields: qc, value, reading, depth
Task: Fetch value from uv_index that have at least one corresponding soil_moisture measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041507 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: ts, type, reading, lat
Sensor: wind_speed | fields: ts, unit, type, value
Task: Fetch value from visibility that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041508 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: value, level, reading, lat
Sensor: cloud_cover | fields: lat, ts, unit, qc
Task: Get value from drought_index where depth exceeds the count of value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041509 | train |
v1 | Sensor network script:
Node: dew_point | code: thr | fields: qc, unit, lat, value
Sensor: humidity | fields: level, value, unit, type
Task: Retrieve level from dew_point whose qc is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041510 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: value, qc, lon, lat
Sensor: humidity | fields: type, ts, lon, lat
Task: Get depth from drought_index where unit appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041511 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lon, reading, type, ts
Sensor: drought_index | fields: type, qc, lon, depth
Task: Get lon from pressure where reading exceeds the minimum value from drought_index for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041512 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, depth, lon, level
Sensor: turbidity | fields: value, qc, lon, lat
Task: Get lat from soil_moisture where a corresponding entry exists in turbidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041513 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: unit, qc, lon, ts
Sensor: cloud_cover | fields: lat, reading, depth, qc
Task: Get level from frost where a corresponding entry exists in cloud_cover with the same type.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041514 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: ts, level, qc, unit
Sensor: soil_moisture | fields: lat, value, unit, lon
Task: Get depth from turbidity where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041515 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, value, level, lat
Sensor: sunlight | fields: type, reading, value, ts
Task: Retrieve value from drought_index with reading above the MIN(reading) of sunlight readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041516 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: reading, unit, depth, level
Sensor: dew_point | fields: value, unit, lat, ts
Task: Fetch value from pressure where depth exists in dew_point sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041517 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: type, unit, lat, lon
Sensor: dew_point | fields: lat, reading, depth, level
Task: Fetch lat from humidity where depth is greater than the total of depth in dew_point for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("dew_point", code="cnd"),
match="unit"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041518 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: qc, type, ts, depth
Sensor: visibility | fields: unit, level, type, qc
Task: Retrieve level from soil_moisture whose ts is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041519 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: qc, lon, reading, type
Sensor: sunlight | fields: reading, depth, level, ts
Task: Get depth from lightning where value exceeds the minimum value from sunlight for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041520 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, reading, value, lat
Sensor: air_quality | fields: lon, unit, value, lat
Task: Get reading from snow_depth where a corresponding entry exists in air_quality with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041521 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: unit, depth, level, ts
Sensor: uv_index | fields: type, level, qc, reading
Task: Get reading from sunlight where depth exceeds the average value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041522 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lon, depth, qc, lat
Sensor: dew_point | fields: value, lon, depth, lat
Task: Get lon from evaporation where value exceeds the total value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041523 | train |
v2 | Sensor network script:
Node: sunlight | code: clr | fields: lat, depth, reading, level
Sensor: frost | fields: lon, level, depth, lat
Task: Retrieve value from sunlight that have at least one matching reading in frost sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041524 | train |
v2 | Sensor network script:
Node: drought_index | code: gst | fields: ts, level, lat, type
Sensor: dew_point | fields: qc, level, value, reading
Task: Retrieve depth from drought_index that have at least one matching reading in dew_point sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041525 | train |
v1 | Sensor network script:
Node: sunlight | code: gst | fields: reading, level, unit, depth
Sensor: dew_point | fields: lat, qc, level, value
Task: Retrieve level from sunlight whose type is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041526 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: depth, lon, qc, lat
Sensor: soil_moisture | fields: level, unit, lon, ts
Task: Retrieve lon from pressure whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041527 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: unit, reading, ts, type
Sensor: visibility | fields: reading, unit, qc, type
Task: Fetch depth from wind_speed where reading is greater than the average of value in visibility for matching qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041528 | train |
v1 | Sensor network script:
Node: dew_point | code: stn | fields: type, level, lat, depth
Sensor: drought_index | fields: depth, qc, lon, type
Task: Retrieve lat from dew_point whose type is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041529 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: type, reading, depth, ts
Sensor: drought_index | fields: lon, reading, type, unit
Task: Fetch level from snow_depth where value is greater than the total of value in drought_index for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041530 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: ts, depth, lat, type
Sensor: evaporation | fields: depth, reading, unit, qc
Task: Retrieve lon from drought_index with value above the MAX(reading) of evaporation readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041531 | train |
v1 | Sensor network script:
Node: wind_speed | code: hub | fields: lon, depth, ts, type
Sensor: air_quality | fields: unit, reading, depth, value
Task: Get lat from wind_speed where unit appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=set_member(
field="unit",
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": "unit",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041532 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: value, lon, unit, depth
Sensor: cloud_cover | fields: value, ts, reading, level
Task: Get depth from drought_index where a corresponding entry exists in cloud_cover with the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041533 | train |
v1 | Sensor network script:
Node: air_quality | code: thr | fields: unit, level, value, reading
Sensor: cloud_cover | fields: qc, reading, type, ts
Task: Get lon from air_quality where ts appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041534 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, unit, lat, reading
Sensor: soil_moisture | fields: value, level, reading, qc
Task: Retrieve depth from wind_speed whose type is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041535 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: type, reading, ts, lon
Sensor: visibility | fields: lat, reading, ts, qc
Task: Retrieve lat from temperature whose type is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041536 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, depth, reading, type
Sensor: turbidity | fields: lon, reading, value, unit
Task: Fetch level from sunlight that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041537 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: lat, depth, value, ts
Sensor: humidity | fields: level, reading, value, lon
Task: Retrieve value from rainfall with value above the MAX(value) of humidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041538 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: lat, qc, type, level
Sensor: uv_index | fields: ts, lon, type, reading
Task: Get depth from lightning where value exceeds the total depth from uv_index for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041539 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: depth, type, qc, level
Sensor: visibility | fields: level, lat, type, value
Task: Fetch lon from rainfall where value is greater than the average of reading in visibility for matching unit.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041540 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: type, ts, reading, depth
Sensor: dew_point | fields: level, depth, lon, type
Task: Get lat from snow_depth where a corresponding entry exists in dew_point with the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041541 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: unit, depth, qc, reading
Sensor: pressure | fields: lat, unit, type, level
Task: Get level from air_quality where unit appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041542 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: unit, level, qc, reading
Sensor: uv_index | fields: lat, unit, qc, reading
Task: Get value from sunlight where depth exceeds the total depth from uv_index for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041543 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: unit, lat, ts, qc
Sensor: temperature | fields: value, ts, depth, lon
Task: Get lat from evaporation where value exceeds the total value from temperature for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041544 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, level, qc, unit
Sensor: soil_moisture | fields: depth, lon, level, qc
Task: Retrieve value from snow_depth that have at least one matching reading in soil_moisture sharing the same unit.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041545 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: reading, depth, level, qc
Sensor: air_quality | fields: reading, lat, value, lon
Task: Get value from rainfall where reading exceeds the maximum reading from air_quality for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041546 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, level, type, unit
Sensor: rainfall | fields: level, value, reading, unit
Task: Get depth from turbidity where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041547 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, value, reading, ts
Sensor: humidity | fields: lat, ts, lon, value
Task: Get level from rainfall where type appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041548 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: lon, reading, ts, lat
Sensor: uv_index | fields: level, ts, value, qc
Task: Get depth from temperature where value exceeds the count of value from uv_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041549 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, lat, depth, value
Sensor: rainfall | fields: level, unit, depth, type
Task: Get reading from frost where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041550 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: depth, qc, lat, unit
Sensor: temperature | fields: qc, value, level, ts
Task: Get value from frost where unit appears in temperature readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041551 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, lon, type, level
Sensor: visibility | fields: unit, type, depth, level
Task: Fetch lon from lightning that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041552 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: lat, depth, unit, lon
Sensor: air_quality | fields: ts, level, unit, type
Task: Get level from humidity where depth exceeds the total reading from air_quality for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041553 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: lat, level, ts, lon
Sensor: humidity | fields: lon, unit, lat, ts
Task: Get level from lightning where reading exceeds the minimum value from humidity for the same qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="qc"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041554 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: qc, level, unit, lon
Sensor: visibility | fields: level, unit, ts, depth
Task: Retrieve lat from drought_index whose depth is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="unit",
),
output="lat",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041555 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: lat, ts, type, lon
Sensor: snow_depth | fields: qc, level, lat, type
Task: Fetch lon from frost that have at least one corresponding snow_depth measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041556 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: level, reading, lon, depth
Sensor: humidity | fields: value, depth, lat, qc
Task: Fetch lat from pressure where unit exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041557 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: unit, ts, qc, level
Sensor: lightning | fields: lon, reading, unit, ts
Task: Fetch lat from rainfall that have at least one corresponding lightning measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041558 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, value, qc, lat
Sensor: visibility | fields: level, lon, reading, lat
Task: Fetch lon from snow_depth where value is greater than the minimum of value in visibility for matching unit.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041559 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: lon, level, depth, qc
Sensor: turbidity | fields: unit, type, value, level
Task: Fetch lon from evaporation where unit exists in turbidity sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041560 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: level, depth, value, lon
Sensor: visibility | fields: depth, ts, qc, lon
Task: Fetch level from rainfall where depth exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041561 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: unit, qc, value, level
Sensor: pressure | fields: depth, value, qc, lon
Task: Get level from dew_point where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041562 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, qc, ts, lon
Sensor: lightning | fields: ts, unit, type, depth
Task: Retrieve lat from soil_moisture whose ts is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041563 | train |
v3 | Sensor network script:
Node: dew_point | code: hub | fields: reading, level, depth, value
Sensor: drought_index | fields: value, type, lon, depth
Task: Get depth from dew_point where value exceeds the total reading from drought_index for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041564 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: lat, value, type, reading
Sensor: rainfall | fields: depth, value, level, qc
Task: Fetch reading from lightning that have at least one corresponding rainfall measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041565 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lat, reading, lon, depth
Sensor: uv_index | fields: type, unit, level, ts
Task: Get value from lightning where reading exceeds the count of reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041566 | train |
v1 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, lat, qc, level
Sensor: sunlight | fields: depth, lon, reading, level
Task: Retrieve value from soil_moisture whose depth is found in sunlight records where unit matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041567 | train |
v2 | Sensor network script:
Node: turbidity | code: stn | fields: reading, type, lon, unit
Sensor: uv_index | fields: lon, unit, depth, ts
Task: Retrieve reading from turbidity that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041568 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: type, level, reading, unit
Sensor: drought_index | fields: depth, reading, lat, lon
Task: Fetch level from cloud_cover where reading is greater than the minimum of reading in drought_index for matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041569 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: lon, lat, ts, type
Sensor: rainfall | fields: type, depth, reading, ts
Task: Get reading from snow_depth where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041570 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, lon, lat, type
Sensor: turbidity | fields: lat, type, unit, reading
Task: Retrieve depth from rainfall with depth above the MAX(reading) of turbidity readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041571 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, depth, reading, level
Sensor: turbidity | fields: value, qc, type, ts
Task: Fetch lon from wind_speed where unit exists in turbidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041572 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: depth, reading, level, qc
Sensor: rainfall | fields: unit, ts, qc, depth
Task: Get value from evaporation where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="type",
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": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041573 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: ts, qc, reading, depth
Sensor: temperature | fields: unit, ts, depth, type
Task: Fetch reading from uv_index that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041574 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: value, level, type, unit
Sensor: uv_index | fields: qc, depth, level, unit
Task: Fetch level from turbidity where value is greater than the count of of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041575 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, lon, type, depth
Sensor: temperature | fields: value, ts, depth, level
Task: Retrieve level from cloud_cover that have at least one matching reading in temperature sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041576 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: reading, qc, lat, level
Sensor: drought_index | fields: unit, value, qc, depth
Task: Get lat from visibility where value exceeds the count of depth from drought_index for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="qc"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041577 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: lon, qc, lat, level
Sensor: turbidity | fields: depth, level, lon, ts
Task: Retrieve lat from temperature whose qc is found in turbidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041578 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lon, ts, value, depth
Sensor: rainfall | fields: depth, level, value, reading
Task: Get lon from pressure where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041579 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, lon, reading, unit
Sensor: evaporation | fields: lon, ts, lat, depth
Task: Fetch depth from humidity that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041580 | train |
v3 | Sensor network script:
Node: drought_index | code: gst | fields: unit, lat, reading, type
Sensor: frost | fields: reading, depth, lon, lat
Task: Retrieve level from drought_index with value above the MIN(reading) of frost readings sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041581 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: value, type, ts, level
Sensor: sunlight | fields: lat, reading, ts, qc
Task: Retrieve lon from humidity that have at least one matching reading in sunlight sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041582 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: level, reading, value, qc
Sensor: frost | fields: qc, ts, reading, lon
Task: Retrieve lat from soil_moisture whose depth is found in frost records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041583 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: reading, qc, level, unit
Sensor: visibility | fields: value, type, reading, unit
Task: Retrieve value from snow_depth with depth above the MIN(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041584 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: type, lat, level, reading
Sensor: humidity | fields: value, depth, qc, reading
Task: Retrieve lat from evaporation that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041585 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: ts, type, level, value
Sensor: air_quality | fields: lon, value, depth, ts
Task: Fetch depth from snow_depth that have at least one corresponding air_quality measurement for the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041586 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, value, depth, qc
Sensor: visibility | fields: depth, qc, ts, reading
Task: Retrieve depth from humidity with reading above the MAX(depth) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("visibility", code="clr"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041587 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: lon, unit, level, depth
Sensor: air_quality | fields: qc, type, depth, unit
Task: Get value from humidity where depth appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041588 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, depth, unit, reading
Sensor: cloud_cover | fields: level, depth, value, ts
Task: Get level from pressure where value exceeds the total value from cloud_cover for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041589 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: type, value, lon, level
Sensor: visibility | fields: unit, qc, value, level
Task: Retrieve reading from air_quality whose type is found in visibility records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041590 | train |
v2 | Sensor network script:
Node: evaporation | code: gst | fields: type, qc, reading, lon
Sensor: sunlight | fields: lat, ts, lon, depth
Task: Get depth from evaporation where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041591 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: depth, lon, qc, ts
Sensor: turbidity | fields: type, qc, unit, ts
Task: Retrieve lon from air_quality with value above the COUNT(value) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041592 | train |
v3 | Sensor network script:
Node: turbidity | code: stn | fields: qc, level, reading, lon
Sensor: cloud_cover | fields: value, ts, lat, level
Task: Get depth from turbidity where value exceeds the average depth from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041593 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: reading, depth, lon, type
Sensor: air_quality | fields: level, unit, value, ts
Task: Retrieve value from visibility that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041594 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: value, unit, lat, lon
Sensor: rainfall | fields: lon, unit, reading, value
Task: Get value from visibility where depth appears in rainfall readings with matching unit.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041595 | train |
v3 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, level, unit, type
Sensor: lightning | fields: depth, type, ts, qc
Task: Get lon from snow_depth where value exceeds the average value from lightning for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041596 | train |
v3 | Sensor network script:
Node: turbidity | code: ref | fields: level, type, qc, ts
Sensor: cloud_cover | fields: qc, unit, lat, depth
Task: Fetch lon from turbidity where value is greater than the count of of depth in cloud_cover for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041597 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: lat, type, level, unit
Sensor: temperature | fields: lat, type, depth, level
Task: Retrieve value from visibility with depth above the AVG(value) of temperature readings sharing the same ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_041598 | train |
v3 | Sensor network script:
Node: snow_depth | code: hub | fields: unit, qc, ts, type
Sensor: pressure | fields: depth, level, lon, unit
Task: Retrieve reading from snow_depth with value above the SUM(value) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_041599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.