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: rainfall | code: stn | fields: unit, ts, type, depth
Sensor: turbidity | fields: lat, value, lon, depth
Task: Fetch lat from rainfall that have at least one corresponding turbidity measurement for the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000100 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: lat, value, level, depth
Sensor: air_quality | fields: lon, depth, type, qc
Task: Get level from dew_point where reading exceeds the average reading from air_quality for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000101 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: lat, depth, qc, ts
Sensor: soil_moisture | fields: level, lat, value, ts
Task: Fetch lon from temperature where depth is greater than the total of depth in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000102 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: value, qc, depth, level
Sensor: frost | fields: reading, ts, level, lon
Task: Fetch lon from uv_index that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000103 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: value, lon, qc, unit
Sensor: temperature | fields: reading, type, unit, value
Task: Retrieve level from dew_point that have at least one matching reading in temperature sharing the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "clr",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000104 | train |
v3 | Sensor network script:
Node: pressure | code: prt | fields: level, unit, lat, reading
Sensor: humidity | fields: lon, unit, ts, reading
Task: Fetch lon from pressure where reading is greater than the maximum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000105 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lon, lat, value
Sensor: wind_speed | fields: qc, ts, lat, reading
Task: Retrieve level from soil_moisture with depth above the AVG(depth) of wind_speed readings sharing the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("wind_speed", code="gst"),
match="ts"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000106 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lon, type, lat
Sensor: snow_depth | fields: value, lon, type, depth
Task: Fetch value from turbidity that have at least one corresponding snow_depth measurement for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000107 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: lon, depth, level, lat
Sensor: dew_point | fields: reading, depth, level, lon
Task: Fetch reading from humidity where value is greater than the total of reading in dew_point for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000108 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: value, qc, lat, ts
Sensor: lightning | fields: lat, level, ts, qc
Task: Retrieve lat from sunlight that have at least one matching reading in lightning sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000109 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: lat, qc, level, lon
Sensor: snow_depth | fields: lon, lat, qc, ts
Task: Get lat from uv_index where a corresponding entry exists in snow_depth with the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000110 | train |
v2 | Sensor network script:
Node: uv_index | code: mst | fields: level, unit, reading, qc
Sensor: rainfall | fields: type, lon, ts, unit
Task: Get lat from uv_index where a corresponding entry exists in rainfall with the same type.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000111 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: value, depth, level, type
Sensor: turbidity | fields: lat, lon, depth, value
Task: Retrieve level from uv_index that have at least one matching reading in turbidity sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000112 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: unit, ts, depth, lon
Sensor: frost | fields: depth, unit, lat, level
Task: Retrieve value from evaporation whose depth is found in frost records where unit matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000113 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, type, value, level
Sensor: temperature | fields: level, depth, lat, ts
Task: Fetch lon from frost where reading is greater than the minimum of depth in temperature for matching unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000114 | train |
v2 | Sensor network script:
Node: rainfall | code: thr | fields: level, reading, ts, value
Sensor: air_quality | fields: type, reading, depth, level
Task: Get level from rainfall where a corresponding entry exists in air_quality with the same unit.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000115 | train |
v3 | Sensor network script:
Node: humidity | code: gst | fields: ts, level, unit, value
Sensor: temperature | fields: reading, lon, unit, level
Task: Get level from humidity where reading exceeds the minimum value from temperature for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000116 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: lon, depth, qc, ts
Sensor: air_quality | fields: qc, lon, value, lat
Task: Fetch lon from drought_index that have at least one corresponding air_quality measurement for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000117 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: type, lat, ts, qc
Sensor: air_quality | fields: level, ts, reading, lon
Task: Get reading from soil_moisture where reading exceeds the maximum value from air_quality for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000118 | train |
v2 | Sensor network script:
Node: air_quality | code: ref | fields: level, ts, value, unit
Sensor: wind_speed | fields: depth, level, unit, reading
Task: Get reading from air_quality where a corresponding entry exists in wind_speed with the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000119 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: reading, level, unit, ts
Sensor: pressure | fields: lon, unit, reading, depth
Task: Retrieve level from wind_speed with reading above the SUM(depth) of pressure readings sharing the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("pressure", code="mbl"),
match="type"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000120 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: value, unit, lat, lon
Sensor: humidity | fields: ts, lon, reading, lat
Task: Retrieve lon from rainfall that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000121 | train |
v2 | Sensor network script:
Node: dew_point | code: thr | fields: qc, value, lat, type
Sensor: uv_index | fields: unit, level, ts, reading
Task: Retrieve lon from dew_point that have at least one matching reading in uv_index sharing the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000122 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: value, lon, ts, type
Sensor: humidity | fields: ts, qc, value, unit
Task: Retrieve lon from cloud_cover with reading above the AVG(reading) of humidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000123 | train |
v2 | Sensor network script:
Node: uv_index | code: ref | fields: reading, lon, depth, unit
Sensor: snow_depth | fields: reading, value, ts, unit
Task: Get level from uv_index where a corresponding entry exists in snow_depth with the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000124 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: unit, value, reading, lon
Sensor: uv_index | fields: unit, type, level, lat
Task: Get value from sunlight where type appears in uv_index readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000125 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: lat, depth, lon, ts
Sensor: soil_moisture | fields: value, depth, level, qc
Task: Retrieve lat from air_quality whose qc is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000126 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: value, level, depth, reading
Sensor: rainfall | fields: unit, qc, level, type
Task: Retrieve level from frost whose unit is found in rainfall records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000127 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: unit, depth, lat, lon
Sensor: soil_moisture | fields: reading, level, value, unit
Task: Fetch level from visibility where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000128 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, level, value, reading
Sensor: sunlight | fields: value, qc, reading, unit
Task: Fetch level from uv_index where depth exists in sunlight sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000129 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: unit, depth, ts, type
Sensor: frost | fields: level, value, unit, depth
Task: Retrieve depth from humidity whose ts is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000130 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: ts, lat, type, reading
Sensor: uv_index | fields: ts, reading, level, lon
Task: Fetch lat from frost where reading is greater than the average of depth in uv_index for matching qc.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "prt",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000131 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: unit, lat, reading, value
Sensor: visibility | fields: qc, value, ts, reading
Task: Retrieve reading from turbidity whose depth is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000132 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: reading, unit, type, qc
Sensor: lightning | fields: unit, lon, value, depth
Task: Retrieve reading from air_quality with value above the AVG(value) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000133 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: ts, qc, lon, depth
Sensor: uv_index | fields: lon, depth, type, unit
Task: Fetch value from visibility that have at least one corresponding uv_index measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"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_000134 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: reading, level, unit, lat
Sensor: frost | fields: value, lat, type, lon
Task: Retrieve reading from uv_index that have at least one matching reading in frost sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000135 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, value, reading, lat
Sensor: humidity | fields: level, ts, reading, qc
Task: Retrieve level from evaporation that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000136 | train |
v2 | Sensor network script:
Node: frost | code: stn | fields: qc, reading, ts, type
Sensor: evaporation | fields: reading, lat, ts, type
Task: Retrieve lon from frost that have at least one matching reading in evaporation sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="qc",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000137 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, value, lat, reading
Sensor: snow_depth | fields: type, unit, lat, level
Task: Retrieve level from rainfall that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000138 | train |
v3 | Sensor network script:
Node: rainfall | code: prt | fields: value, depth, lat, level
Sensor: cloud_cover | fields: lon, unit, value, level
Task: Fetch depth from rainfall where depth is greater than the average of value in cloud_cover for matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000139 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: qc, value, depth, lat
Sensor: lightning | fields: qc, type, lat, lon
Task: Get lon from sunlight where type appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000140 | train |
v1 | Sensor network script:
Node: lightning | code: stn | fields: reading, lon, unit, qc
Sensor: rainfall | fields: reading, depth, qc, value
Task: Retrieve lon from lightning whose unit is found in rainfall records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000141 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: lon, lat, value, reading
Sensor: sunlight | fields: unit, value, depth, qc
Task: Fetch lon from air_quality where depth is greater than the minimum of reading in sunlight for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000142 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: lon, type, lat, ts
Sensor: wind_speed | fields: lon, reading, depth, unit
Task: Get level from uv_index where qc appears in wind_speed readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000143 | train |
v3 | Sensor network script:
Node: wind_speed | code: prt | fields: lat, qc, lon, depth
Sensor: humidity | fields: reading, level, type, qc
Task: Fetch value from wind_speed where value is greater than the average of reading in humidity for matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000144 | train |
v3 | Sensor network script:
Node: cloud_cover | code: thr | fields: level, qc, type, lon
Sensor: rainfall | fields: unit, type, ts, depth
Task: Retrieve reading from cloud_cover with depth above the COUNT(depth) of rainfall readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "cloud_cover",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000145 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, ts, type, lon
Sensor: dew_point | fields: type, lon, reading, unit
Task: Retrieve depth from snow_depth whose unit is found in dew_point records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="unit",
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000146 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: level, type, lon, reading
Sensor: drought_index | fields: type, value, reading, lon
Task: Get lon from lightning where a corresponding entry exists in drought_index with the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000147 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: type, qc, level, ts
Sensor: sunlight | fields: reading, ts, unit, qc
Task: Get depth from humidity where value exceeds the average depth from sunlight for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000148 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: value, qc, lon, type
Sensor: wind_speed | fields: type, lon, unit, level
Task: Get value from dew_point where depth exceeds the average reading from wind_speed for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("wind_speed", code="gst"),
match="unit"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000149 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: lon, level, unit, depth
Sensor: dew_point | fields: type, level, ts, lat
Task: Fetch lat from sunlight where depth is greater than the average of depth in dew_point for matching qc.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000150 | train |
v2 | Sensor network script:
Node: lightning | code: clr | fields: unit, lon, reading, value
Sensor: turbidity | fields: ts, level, lon, qc
Task: Get value from lightning where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000151 | train |
v2 | Sensor network script:
Node: uv_index | code: thr | fields: reading, level, depth, type
Sensor: dew_point | fields: lon, reading, unit, value
Task: Retrieve reading from uv_index that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000152 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: reading, depth, ts, level
Sensor: rainfall | fields: unit, type, value, lat
Task: Fetch lat from frost where depth is greater than the count of of reading in rainfall for matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000153 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: value, lon, unit, lat
Sensor: temperature | fields: ts, lon, level, type
Task: Get level from drought_index where ts appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000154 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: reading, ts, depth, lat
Sensor: uv_index | fields: qc, type, value, ts
Task: Retrieve value from lightning that have at least one matching reading in uv_index sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="depth",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000155 | train |
v1 | Sensor network script:
Node: air_quality | code: ref | fields: depth, unit, qc, level
Sensor: cloud_cover | fields: ts, qc, value, level
Task: Retrieve reading from air_quality whose depth is found in cloud_cover records where unit matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000156 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: ts, level, value, reading
Sensor: evaporation | fields: unit, ts, type, depth
Task: Get lon from soil_moisture where depth exceeds the maximum value from evaporation for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000157 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: value, lon, lat, level
Sensor: turbidity | fields: type, level, lon, qc
Task: Get depth from air_quality where unit appears in turbidity readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000158 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, unit, lat, ts
Sensor: soil_moisture | fields: unit, value, type, reading
Task: Fetch depth from cloud_cover where depth exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000159 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: reading, type, value, ts
Sensor: lightning | fields: unit, qc, lat, value
Task: Fetch lat from turbidity where ts exists in lightning sensor data for the same unit.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000160 | train |
v1 | Sensor network script:
Node: visibility | code: ref | fields: level, ts, lat, unit
Sensor: dew_point | fields: lon, ts, reading, type
Task: Retrieve depth from visibility whose qc is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=set_member(
field="qc",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="depth",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000161 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: lat, type, lon, unit
Sensor: cloud_cover | fields: unit, type, lat, level
Task: Get lon from temperature where type appears in cloud_cover readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000162 | train |
v1 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, level, qc, type
Sensor: temperature | fields: reading, unit, ts, lat
Task: Retrieve lat from soil_moisture whose qc is found in temperature records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000163 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: value, ts, qc, type
Sensor: visibility | fields: qc, unit, ts, reading
Task: Fetch value from pressure where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000164 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: qc, depth, lat, ts
Sensor: frost | fields: reading, ts, type, unit
Task: Fetch reading from pressure where type exists in frost sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="type",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000165 | train |
v2 | Sensor network script:
Node: sunlight | code: thr | fields: level, value, depth, type
Sensor: frost | fields: depth, qc, ts, level
Task: Retrieve lon from sunlight that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000166 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lon, unit, ts, qc
Sensor: sunlight | fields: unit, lon, level, type
Task: Get reading from lightning where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000167 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: level, type, value, reading
Sensor: turbidity | fields: unit, lat, type, depth
Task: Get lat from frost where a corresponding entry exists in turbidity with the same unit.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="unit",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000168 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: qc, reading, level, unit
Sensor: sunlight | fields: value, qc, level, reading
Task: Retrieve lon from dew_point that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000169 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lon, ts, reading, unit
Sensor: snow_depth | fields: unit, depth, level, lon
Task: Retrieve lon from pressure that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000170 | train |
v1 | Sensor network script:
Node: temperature | code: thr | fields: qc, lat, type, lon
Sensor: humidity | fields: reading, qc, unit, ts
Task: Retrieve lat from temperature whose unit is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=set_member(
field="unit",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000171 | train |
v2 | Sensor network script:
Node: drought_index | code: ref | fields: value, lat, reading, unit
Sensor: snow_depth | fields: depth, level, value, qc
Task: Retrieve lon from drought_index that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000172 | train |
v1 | Sensor network script:
Node: cloud_cover | code: mst | fields: value, qc, lon, lat
Sensor: air_quality | fields: qc, ts, unit, depth
Task: Get level from cloud_cover where qc appears in air_quality readings with matching qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=set_member(
field="qc",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000173 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: qc, unit, depth, ts
Sensor: frost | fields: depth, lon, level, type
Task: Retrieve value from drought_index with reading above the MAX(value) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000174 | train |
v3 | Sensor network script:
Node: temperature | code: gst | fields: lat, type, reading, level
Sensor: air_quality | fields: unit, depth, qc, level
Task: Retrieve reading from temperature with value above the AVG(reading) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000175 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: reading, level, depth, lon
Sensor: air_quality | fields: lat, value, unit, reading
Task: Fetch lat from cloud_cover where reading is greater than the count of of value in air_quality for matching unit.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("air_quality", code="prt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000176 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: value, qc, level, depth
Sensor: air_quality | fields: type, level, depth, reading
Task: Fetch lat from lightning that have at least one corresponding air_quality measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="depth",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000177 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, lat, level, value
Sensor: visibility | fields: depth, unit, value, qc
Task: Fetch level from soil_moisture that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000178 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: level, value, ts, lat
Sensor: lightning | fields: lat, type, value, lon
Task: Get depth from pressure where value exceeds the maximum depth from lightning for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000179 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: reading, level, lat, value
Sensor: humidity | fields: type, ts, depth, lon
Task: Get lat from evaporation where type appears in humidity readings with matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000180 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: depth, qc, level, lat
Sensor: lightning | fields: value, qc, unit, level
Task: Retrieve value from humidity that have at least one matching reading in lightning sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000181 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: unit, type, lat, depth
Sensor: soil_moisture | fields: value, unit, lat, type
Task: Retrieve value from visibility that have at least one matching reading in soil_moisture sharing the same depth.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000182 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: lon, level, reading, type
Sensor: frost | fields: type, qc, lon, reading
Task: Retrieve reading from evaporation that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "clr",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000183 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: reading, ts, lon, lat
Sensor: rainfall | fields: unit, ts, lon, level
Task: Fetch lon from uv_index where value is greater than the total of value in rainfall for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("rainfall", code="rnfl"),
match="type"),
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000184 | train |
v1 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, lon, type
Sensor: soil_moisture | fields: type, qc, lon, ts
Task: Get lat from uv_index where type appears in soil_moisture readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000185 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: depth, ts, level, lat
Sensor: cloud_cover | fields: unit, depth, ts, qc
Task: Get lon from dew_point where value exceeds the minimum depth from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000186 | train |
v3 | Sensor network script:
Node: dew_point | code: mst | fields: value, qc, unit, type
Sensor: temperature | fields: depth, value, lon, level
Task: Get reading from dew_point where value exceeds the maximum depth from temperature for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000187 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: ts, lon, lat, qc
Sensor: sunlight | fields: ts, lat, reading, lon
Task: Fetch value from frost that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000188 | train |
v1 | Sensor network script:
Node: visibility | code: mst | fields: lat, unit, ts, value
Sensor: evaporation | fields: lat, unit, ts, type
Task: Retrieve lon from visibility whose depth is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000189 | train |
v1 | Sensor network script:
Node: humidity | code: hub | fields: lat, reading, type, qc
Sensor: evaporation | fields: qc, lat, level, lon
Task: Fetch reading from humidity where type exists in evaporation sensor data for the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000190 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: unit, lon, qc, type
Sensor: sunlight | fields: depth, level, lon, type
Task: Retrieve lon from rainfall whose depth is found in sunlight records where depth matches the outer node.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000191 | train |
v2 | Sensor network script:
Node: dew_point | code: gst | fields: lon, depth, value, level
Sensor: soil_moisture | fields: depth, level, unit, lat
Task: Retrieve reading from dew_point that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000192 | train |
v2 | Sensor network script:
Node: wind_speed | code: stn | fields: value, qc, level, lat
Sensor: humidity | fields: unit, lon, qc, ts
Task: Retrieve lon from wind_speed that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000193 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: value, level, depth, reading
Sensor: air_quality | fields: qc, depth, unit, ts
Task: Retrieve depth from pressure that have at least one matching reading in air_quality sharing the same qc.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "mst",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000194 | train |
v1 | Sensor network script:
Node: turbidity | code: ref | fields: depth, lat, level, qc
Sensor: visibility | fields: lon, reading, ts, type
Task: Fetch lat from turbidity where depth exists in visibility sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000195 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lat, reading, ts
Sensor: soil_moisture | fields: reading, type, level, lat
Task: Retrieve level from turbidity that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000196 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: ts, level, reading, lon
Sensor: temperature | fields: type, level, ts, value
Task: Fetch depth from humidity that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_000197 | train |
v3 | Sensor network script:
Node: lightning | code: ref | fields: lon, value, qc, type
Sensor: humidity | fields: unit, value, depth, level
Task: Retrieve level from lightning with reading above the COUNT(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000198 | train |
v1 | Sensor network script:
Node: cloud_cover | code: clr | fields: reading, lon, type, depth
Sensor: lightning | fields: depth, lat, type, level
Task: Retrieve level from cloud_cover whose ts is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="clr"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_000199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.