variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v2 | Sensor network script:
Node: uv_index | code: ref | fields: lon, depth, lat, ts
Sensor: rainfall | fields: reading, level, lon, depth
Task: Retrieve lat from uv_index that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001500 | train |
v1 | Sensor network script:
Node: dew_point | code: prt | fields: reading, ts, unit, value
Sensor: soil_moisture | fields: level, lon, ts, reading
Task: Retrieve reading from dew_point whose ts is found in soil_moisture records where qc matches the outer node.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001501 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: unit, level, ts, lat
Sensor: lightning | fields: type, unit, lat, lon
Task: Fetch reading from soil_moisture where type exists in lightning sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001502 | train |
v1 | Sensor network script:
Node: dew_point | code: mst | fields: lon, unit, qc, depth
Sensor: rainfall | fields: unit, depth, value, lon
Task: Fetch level from dew_point where unit exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001503 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: lat, value, unit, lon
Sensor: temperature | fields: unit, reading, type, level
Task: Fetch lon from visibility where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001504 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: level, ts, lon, reading
Sensor: wind_speed | fields: unit, lat, depth, value
Task: Retrieve lon from turbidity whose depth is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001505 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, qc, ts, unit
Sensor: drought_index | fields: type, level, lon, qc
Task: Fetch lat from rainfall that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001506 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lon, ts, unit, reading
Sensor: temperature | fields: depth, lat, value, unit
Task: Retrieve reading from drought_index whose type is found in temperature records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("temperature", code="thr"),
match="ts",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001507 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, ts, lon, depth
Sensor: rainfall | fields: value, unit, type, level
Task: Fetch value from drought_index where value is greater than the minimum of depth in rainfall for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001508 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: level, lat, qc, ts
Sensor: sunlight | fields: lon, qc, lat, type
Task: Retrieve depth from rainfall with depth above the SUM(reading) of sunlight readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001509 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: ts, lat, unit, level
Sensor: evaporation | fields: level, lat, reading, lon
Task: Retrieve depth from pressure whose unit is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="unit",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001510 | train |
v3 | Sensor network script:
Node: pressure | code: mst | fields: unit, type, lat, level
Sensor: dew_point | fields: level, ts, lon, qc
Task: Retrieve lon from pressure with reading above the AVG(reading) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001511 | train |
v3 | Sensor network script:
Node: visibility | code: ref | fields: level, reading, depth, lon
Sensor: snow_depth | fields: reading, lon, level, depth
Task: Fetch reading from visibility where reading is greater than the maximum of depth in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001512 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: level, type, depth, unit
Sensor: rainfall | fields: ts, unit, level, lat
Task: Get lat from uv_index where a corresponding entry exists in rainfall with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001513 | train |
v3 | Sensor network script:
Node: uv_index | code: gst | fields: type, level, depth, lat
Sensor: frost | fields: type, lat, level, qc
Task: Fetch reading from uv_index where value is greater than the minimum of depth in frost for matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001514 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: lat, qc, type, depth
Sensor: turbidity | fields: lon, reading, level, qc
Task: Retrieve value from air_quality whose type is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="type",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001515 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: unit, depth, lat, reading
Sensor: rainfall | fields: type, reading, ts, level
Task: Get depth from dew_point where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001516 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: value, level, qc, depth
Sensor: visibility | fields: lat, lon, unit, level
Task: Retrieve lon from drought_index that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001517 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, ts, reading, lat
Sensor: soil_moisture | fields: qc, value, level, ts
Task: Get value from sunlight where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001518 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: type, ts, value, lon
Sensor: rainfall | fields: ts, level, lon, lat
Task: Retrieve depth from uv_index that have at least one matching reading in rainfall sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001519 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: ts, qc, type, value
Sensor: visibility | fields: type, value, ts, depth
Task: Retrieve depth from wind_speed that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001520 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: lon, reading, depth, lat
Sensor: soil_moisture | fields: reading, value, type, lon
Task: Get lat from visibility where qc appears in soil_moisture readings with matching depth.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001521 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: type, ts, qc, lon
Sensor: evaporation | fields: lat, depth, unit, ts
Task: Get depth from wind_speed where a corresponding entry exists in evaporation with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001522 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: value, lat, unit, level
Sensor: dew_point | fields: lat, reading, unit, level
Task: Get depth from pressure where type appears in dew_point readings with matching qc.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001523 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: reading, type, lat, level
Sensor: humidity | fields: lat, level, reading, lon
Task: Get depth from cloud_cover where ts appears in humidity readings with matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001524 | train |
v1 | Sensor network script:
Node: evaporation | code: hub | fields: value, lon, type, qc
Sensor: humidity | fields: lon, value, depth, qc
Task: Fetch level from evaporation where type exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001525 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, qc, type, value
Sensor: lightning | fields: reading, ts, lon, unit
Task: Get reading from cloud_cover where value exceeds the total value from lightning for the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="ts"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001526 | train |
v3 | Sensor network script:
Node: drought_index | code: thr | fields: reading, type, ts, level
Sensor: soil_moisture | fields: ts, type, lon, reading
Task: Fetch reading from drought_index where reading is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001527 | train |
v3 | Sensor network script:
Node: turbidity | code: gst | fields: unit, lon, lat, type
Sensor: temperature | fields: ts, qc, reading, value
Task: Retrieve lon from turbidity with reading above the SUM(value) of temperature readings sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001528 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: value, type, lat, depth
Sensor: snow_depth | fields: type, level, value, reading
Task: Fetch lat from evaporation where depth exists in snow_depth sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001529 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, depth, level, qc
Sensor: visibility | fields: lon, reading, depth, ts
Task: Fetch reading from dew_point where depth is greater than the count of of value in visibility for matching ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("visibility", code="clr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001530 | train |
v2 | Sensor network script:
Node: turbidity | code: gst | fields: qc, ts, type, value
Sensor: frost | fields: value, depth, lat, unit
Task: Get lon from turbidity where a corresponding entry exists in frost with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001531 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: type, reading, level, qc
Sensor: uv_index | fields: unit, qc, lat, reading
Task: Retrieve reading from sunlight with depth above the MAX(value) of uv_index readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="ts"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "gst",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001532 | train |
v1 | Sensor network script:
Node: rainfall | code: gst | fields: type, depth, reading, unit
Sensor: snow_depth | fields: level, type, ts, unit
Task: Retrieve value from rainfall whose type is found in snow_depth records where unit matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="gst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001533 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lon, lat, level, reading
Sensor: air_quality | fields: qc, lat, type, level
Task: Retrieve value from rainfall that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001534 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lon, reading, value, unit
Sensor: lightning | fields: unit, ts, level, qc
Task: Retrieve depth from sunlight that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001535 | train |
v2 | Sensor network script:
Node: turbidity | code: mst | fields: lat, level, lon, depth
Sensor: visibility | fields: depth, reading, unit, lat
Task: Retrieve level from turbidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001536 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: unit, value, reading, ts
Sensor: uv_index | fields: lon, qc, ts, type
Task: Retrieve lat from cloud_cover with depth above the MIN(reading) of uv_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001537 | train |
v2 | Sensor network script:
Node: frost | code: gst | fields: lat, qc, value, type
Sensor: drought_index | fields: lon, reading, type, depth
Task: Retrieve value from frost that have at least one matching reading in drought_index sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001538 | train |
v1 | Sensor network script:
Node: evaporation | code: prt | fields: value, reading, level, lat
Sensor: temperature | fields: type, value, unit, level
Task: Fetch lon from evaporation where qc exists in temperature sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="prt"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001539 | train |
v2 | Sensor network script:
Node: humidity | code: gst | fields: level, reading, depth, qc
Sensor: pressure | fields: value, ts, type, level
Task: Get level from humidity where a corresponding entry exists in pressure with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001540 | train |
v2 | Sensor network script:
Node: soil_moisture | code: ref | fields: lon, type, ts, level
Sensor: evaporation | fields: level, depth, qc, type
Task: Fetch lat from soil_moisture that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001541 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lat, ts, type, depth
Sensor: pressure | fields: ts, level, value, depth
Task: Get depth from frost where depth appears in pressure readings with matching unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001542 | train |
v3 | Sensor network script:
Node: visibility | code: mst | fields: qc, depth, unit, ts
Sensor: rainfall | fields: ts, reading, level, value
Task: Fetch lon from visibility where depth is greater than the maximum of value in rainfall for matching qc.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001543 | train |
v2 | Sensor network script:
Node: evaporation | code: hub | fields: unit, ts, reading, lat
Sensor: cloud_cover | fields: value, ts, lon, type
Task: Fetch lat from evaporation that have at least one corresponding cloud_cover measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001544 | train |
v1 | Sensor network script:
Node: frost | code: stn | fields: ts, lon, lat, unit
Sensor: air_quality | fields: type, ts, lat, qc
Task: Retrieve lon from frost whose ts is found in air_quality records where ts matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001545 | train |
v3 | Sensor network script:
Node: lightning | code: mst | fields: qc, lat, type, ts
Sensor: visibility | fields: unit, lat, ts, lon
Task: Fetch lon from lightning where value is greater than the average of reading in visibility for matching type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001546 | train |
v2 | Sensor network script:
Node: cloud_cover | code: prt | fields: depth, unit, value, lat
Sensor: turbidity | fields: value, depth, reading, qc
Task: Fetch value from cloud_cover that have at least one corresponding turbidity measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001547 | train |
v3 | Sensor network script:
Node: snow_depth | code: clr | fields: qc, reading, ts, type
Sensor: frost | fields: type, depth, ts, lon
Task: Fetch level from snow_depth where depth is greater than the count of of value in frost for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("frost", code="frs"),
match="type"),
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001548 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: depth, type, value, ts
Sensor: wind_speed | fields: type, level, qc, value
Task: Retrieve lat from sunlight whose unit is found in wind_speed records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001549 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: unit, ts, lat, reading
Sensor: dew_point | fields: lat, lon, level, ts
Task: Retrieve value from visibility with value above the MAX(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001550 | train |
v3 | Sensor network script:
Node: rainfall | code: stn | fields: qc, unit, type, level
Sensor: pressure | fields: qc, lat, reading, type
Task: Retrieve level from rainfall with depth above the MIN(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001551 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: reading, unit, type, ts
Sensor: humidity | fields: reading, qc, depth, lat
Task: Retrieve value from sunlight that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001552 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: type, reading, ts, unit
Sensor: lightning | fields: reading, value, lon, type
Task: Retrieve depth from uv_index whose depth is found in lightning records where ts matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001553 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, lon, level, type
Sensor: frost | fields: lon, lat, value, type
Task: Retrieve lat from rainfall whose ts is found in frost records where ts matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001554 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: reading, level, lat, value
Sensor: snow_depth | fields: value, type, unit, qc
Task: Retrieve depth from air_quality that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001555 | train |
v1 | Sensor network script:
Node: snow_depth | code: clr | fields: lat, lon, reading, value
Sensor: dew_point | fields: ts, level, unit, type
Task: Retrieve reading from snow_depth whose qc is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001556 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: value, level, type, unit
Sensor: evaporation | fields: lon, ts, qc, unit
Task: Get level from sunlight where type appears in evaporation readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001557 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, reading, type, lat
Sensor: drought_index | fields: qc, level, lat, value
Task: Fetch level from cloud_cover where depth exists in drought_index sensor data for the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001558 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: ts, qc, lon, lat
Sensor: sunlight | fields: depth, level, lon, ts
Task: Retrieve depth from wind_speed whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001559 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: type, level, reading, depth
Sensor: humidity | fields: qc, reading, lon, unit
Task: Get level from frost where ts appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001560 | train |
v2 | Sensor network script:
Node: temperature | code: prt | fields: depth, type, lon, reading
Sensor: frost | fields: type, lon, depth, value
Task: Retrieve depth from temperature that have at least one matching reading in frost sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001561 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: lat, ts, reading, unit
Sensor: cloud_cover | fields: value, reading, lon, depth
Task: Get reading from sunlight where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001562 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: lon, value, lat, ts
Sensor: snow_depth | fields: ts, level, lat, reading
Task: Fetch lat from turbidity that have at least one corresponding snow_depth measurement for the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001563 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: lat, type, reading, value
Sensor: soil_moisture | fields: qc, level, lon, reading
Task: Fetch reading from air_quality where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001564 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: depth, reading, lat, lon
Sensor: uv_index | fields: qc, depth, lon, ts
Task: Get reading from temperature where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001565 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: level, ts, qc, lat
Sensor: temperature | fields: ts, lon, value, unit
Task: Retrieve lon from sunlight whose depth is found in temperature records where unit matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001566 | train |
v3 | Sensor network script:
Node: humidity | code: clr | fields: level, lon, lat, unit
Sensor: air_quality | fields: lat, type, value, reading
Task: Fetch lon from humidity where reading is greater than the count of of depth in air_quality for matching type.
Script: | readings = fetch(
node=Node("humidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="type"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001567 | train |
v3 | Sensor network script:
Node: snow_depth | code: ref | fields: ts, depth, qc, type
Sensor: visibility | fields: ts, unit, type, reading
Task: Retrieve lon from snow_depth with reading above the MAX(value) of visibility readings sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("visibility", code="clr"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001568 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: unit, type, qc, level
Sensor: turbidity | fields: level, qc, unit, reading
Task: Fetch lon from rainfall where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001569 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: unit, depth, level, ts
Sensor: pressure | fields: type, level, ts, reading
Task: Retrieve depth from soil_moisture with depth above the AVG(reading) of pressure readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001570 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: unit, type, ts, level
Sensor: air_quality | fields: reading, depth, ts, qc
Task: Fetch lon from humidity where qc exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001571 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: value, depth, level, ts
Sensor: uv_index | fields: qc, reading, lat, depth
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001572 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: type, ts, lat, unit
Sensor: drought_index | fields: lat, type, reading, level
Task: Retrieve lon from air_quality with reading above the AVG(reading) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001573 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: lon, level, depth, value
Sensor: turbidity | fields: lon, depth, qc, ts
Task: Fetch reading from soil_moisture where depth exists in turbidity sensor data for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001574 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: lat, lon, qc, type
Sensor: visibility | fields: depth, unit, ts, lat
Task: Get depth from uv_index where depth appears in visibility readings with matching depth.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001575 | train |
v1 | Sensor network script:
Node: temperature | code: clr | fields: qc, depth, ts, level
Sensor: dew_point | fields: qc, lat, depth, type
Task: Retrieve value from temperature whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="clr"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001576 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: value, reading, lon, type
Sensor: air_quality | fields: value, ts, lat, reading
Task: Get lon from turbidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001577 | train |
v2 | Sensor network script:
Node: snow_depth | code: stn | fields: reading, unit, qc, level
Sensor: lightning | fields: value, ts, lon, type
Task: Fetch lat from snow_depth that have at least one corresponding lightning measurement for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001578 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: depth, lon, ts, qc
Sensor: rainfall | fields: ts, qc, unit, level
Task: Fetch level from lightning where ts exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="ts",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001579 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: reading, lon, unit, level
Sensor: evaporation | fields: value, qc, reading, unit
Task: Fetch value from dew_point that have at least one corresponding evaporation measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="ts",
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001580 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: qc, reading, lon, depth
Sensor: rainfall | fields: lat, lon, ts, qc
Task: Retrieve depth from dew_point that have at least one matching reading in rainfall sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001581 | train |
v1 | Sensor network script:
Node: drought_index | code: clr | fields: depth, level, value, unit
Sensor: soil_moisture | fields: lat, value, level, depth
Task: Retrieve value from drought_index whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001582 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: value, level, qc, reading
Sensor: soil_moisture | fields: qc, level, type, lat
Task: Fetch lon from visibility where ts exists in soil_moisture sensor data for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001583 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: type, value, unit, lat
Sensor: evaporation | fields: unit, depth, lon, lat
Task: Retrieve lon from sunlight whose ts is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001584 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: depth, qc, unit, level
Sensor: dew_point | fields: reading, unit, type, value
Task: Get lon from humidity where depth exceeds the total value from dew_point for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001585 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: lat, value, reading, depth
Sensor: uv_index | fields: type, lat, ts, reading
Task: Fetch lat from frost that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001586 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: reading, qc, ts, unit
Sensor: wind_speed | fields: level, depth, qc, ts
Task: Retrieve lon from visibility whose unit is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_001587 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, unit, reading, qc
Sensor: pressure | fields: reading, lon, ts, qc
Task: Get lat from turbidity where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001588 | train |
v1 | Sensor network script:
Node: rainfall | code: stn | fields: type, depth, qc, reading
Sensor: dew_point | fields: value, lat, reading, ts
Task: Get lat from rainfall where type appears in dew_point readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001589 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: value, reading, type, unit
Sensor: frost | fields: lon, reading, value, type
Task: Retrieve level from temperature with value above the AVG(value) of frost readings sharing the same unit.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("frost", code="frs"),
match="unit"),
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001590 | train |
v1 | Sensor network script:
Node: air_quality | code: hub | fields: qc, level, depth, reading
Sensor: turbidity | fields: reading, lon, qc, type
Task: Retrieve value from air_quality whose ts is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=set_member(
field="ts",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "hub",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001591 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: depth, reading, level, type
Sensor: uv_index | fields: level, ts, qc, reading
Task: Fetch value from cloud_cover that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001592 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: qc, lat, ts, value
Sensor: sunlight | fields: qc, level, lon, type
Task: Retrieve depth from visibility that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001593 | train |
v2 | Sensor network script:
Node: cloud_cover | code: hub | fields: value, qc, type, lat
Sensor: evaporation | fields: depth, lat, lon, ts
Task: Fetch value from cloud_cover that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001594 | train |
v1 | Sensor network script:
Node: soil_moisture | code: mst | fields: lat, level, depth, value
Sensor: snow_depth | fields: qc, lon, level, unit
Task: Retrieve level from soil_moisture whose unit is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001595 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lon, depth, qc, reading
Sensor: snow_depth | fields: qc, value, ts, level
Task: Fetch value from lightning that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001596 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: value, level, ts, unit
Sensor: drought_index | fields: level, ts, qc, type
Task: Fetch lat from humidity that have at least one corresponding drought_index measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001597 | train |
v1 | Sensor network script:
Node: wind_speed | code: mst | fields: type, unit, ts, lon
Sensor: turbidity | fields: lat, level, reading, qc
Task: Retrieve depth from wind_speed whose unit is found in turbidity records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001598 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: lat, depth, qc, unit
Sensor: cloud_cover | fields: ts, type, value, reading
Task: Retrieve lon from evaporation with reading above the SUM(reading) of cloud_cover readings sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_001599 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.