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: cloud_cover | code: prt | fields: level, reading, unit, ts
Sensor: visibility | fields: lat, level, depth, qc
Task: Retrieve level from cloud_cover that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059100 | train |
v1 | Sensor network script:
Node: uv_index | code: gst | fields: value, reading, qc, ts
Sensor: humidity | fields: lat, lon, qc, ts
Task: Get level from uv_index where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059101 | train |
v3 | Sensor network script:
Node: air_quality | code: prt | fields: type, lon, depth, level
Sensor: rainfall | fields: reading, ts, unit, lon
Task: Fetch reading from air_quality where value is greater than the average of depth in rainfall for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059102 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: qc, level, unit, ts
Sensor: wind_speed | fields: type, value, unit, ts
Task: Get depth from temperature where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059103 | train |
v1 | Sensor network script:
Node: rainfall | code: mst | fields: type, level, qc, lon
Sensor: sunlight | fields: depth, ts, value, lat
Task: Get depth from rainfall where depth appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=set_member(
field="depth",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="depth",
) | {
"outer_table": "rainfall",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059104 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: type, level, lat, value
Sensor: soil_moisture | fields: value, type, level, qc
Task: Fetch reading from pressure where reading is greater than the average of reading in soil_moisture for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059105 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, unit, lon, value
Sensor: sunlight | fields: unit, ts, level, depth
Task: Fetch depth from wind_speed where reading is greater than the count of of depth in sunlight for matching unit.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059106 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, unit, value, qc
Sensor: turbidity | fields: ts, value, lon, reading
Task: Get lon from soil_moisture where depth exceeds the average depth from turbidity for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "lon",
"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_059107 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: lat, value, level, type
Sensor: snow_depth | fields: unit, level, value, lat
Task: Fetch lon from cloud_cover where depth exists in snow_depth sensor data for the same type.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="type",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059108 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: value, depth, lon, ts
Sensor: pressure | fields: lon, lat, qc, ts
Task: Retrieve reading from snow_depth whose ts is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="ts",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="reading",
) | {
"outer_table": "snow_depth",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059109 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: ts, level, unit, depth
Sensor: visibility | fields: lon, level, lat, type
Task: Get level from evaporation where depth appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="ts",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059110 | train |
v2 | Sensor network script:
Node: visibility | code: thr | fields: type, reading, level, value
Sensor: snow_depth | fields: lat, value, ts, type
Task: Retrieve reading from visibility that have at least one matching reading in snow_depth sharing the same type.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059111 | train |
v2 | Sensor network script:
Node: snow_depth | code: mst | fields: unit, depth, value, type
Sensor: wind_speed | fields: unit, lon, reading, lat
Task: Get lon from snow_depth where a corresponding entry exists in wind_speed with the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059112 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: value, type, reading, depth
Sensor: dew_point | fields: unit, value, lon, level
Task: Retrieve lon from soil_moisture whose depth is found in dew_point records where type matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="depth",
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059113 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: unit, type, lat, value
Sensor: rainfall | fields: value, type, qc, depth
Task: Fetch lat from visibility that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059114 | train |
v3 | Sensor network script:
Node: snow_depth | code: mst | fields: ts, value, level, type
Sensor: soil_moisture | fields: depth, lat, unit, reading
Task: Get lon from snow_depth where reading exceeds the minimum reading from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "soil_moisture",
"outer_alias": "mst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059115 | train |
v2 | Sensor network script:
Node: rainfall | code: stn | fields: type, qc, unit, depth
Sensor: lightning | fields: qc, value, depth, level
Task: Fetch level from rainfall that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059116 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, lat, ts, unit
Sensor: drought_index | fields: qc, unit, depth, reading
Task: Retrieve level from sunlight whose depth is found in drought_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059117 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, type, lon, level
Sensor: evaporation | fields: ts, type, lat, value
Task: Get level from humidity where reading exceeds the total reading from evaporation for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059118 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: lon, value, ts, reading
Sensor: sunlight | fields: level, ts, depth, reading
Task: Retrieve lat from evaporation that have at least one matching reading in sunlight sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059119 | train |
v1 | Sensor network script:
Node: visibility | code: thr | fields: ts, level, lon, qc
Sensor: turbidity | fields: unit, lon, qc, lat
Task: Get reading from visibility where unit appears in turbidity readings with matching qc.
Script: | readings = fetch(
node=Node("visibility", code="thr"),
filter=set_member(
field="unit",
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "turbidity",
"outer_alias": "thr",
"inner_alias": "ftu",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059120 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: lon, ts, lat, value
Sensor: snow_depth | fields: reading, ts, value, lon
Task: Get lon from evaporation where depth appears in snow_depth readings with matching ts.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="depth",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059121 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: ts, level, lat, lon
Sensor: frost | fields: reading, type, qc, depth
Task: Get lon from drought_index where depth appears in frost readings with matching qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="qc",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059122 | train |
v1 | Sensor network script:
Node: humidity | code: thr | fields: level, lat, depth, reading
Sensor: lightning | fields: lat, level, lon, value
Task: Retrieve lon from humidity whose type is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059123 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: ts, unit, qc, type
Sensor: evaporation | fields: lon, unit, value, ts
Task: Retrieve level from pressure that have at least one matching reading in evaporation sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059124 | train |
v2 | Sensor network script:
Node: visibility | code: prt | fields: type, depth, level, unit
Sensor: rainfall | fields: lat, unit, value, qc
Task: Fetch value from visibility that have at least one corresponding rainfall measurement for the same depth.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="depth",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059125 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: qc, depth, lat, ts
Sensor: rainfall | fields: reading, lat, unit, ts
Task: Retrieve value from sunlight with value above the SUM(reading) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "reading",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "rainfall",
"outer_alias": "mst",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059126 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: lat, lon, depth, reading
Sensor: sunlight | fields: lon, reading, value, ts
Task: Get depth from drought_index where depth exceeds the average depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059127 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: type, value, depth, lon
Sensor: visibility | fields: lat, value, depth, reading
Task: Fetch value from drought_index that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059128 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: unit, lat, value, level
Sensor: soil_moisture | fields: reading, type, unit, level
Task: Get reading from lightning where a corresponding entry exists in soil_moisture with the same unit.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059129 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, ts, lon, value
Sensor: drought_index | fields: depth, unit, ts, lat
Task: Get reading from dew_point where unit appears in drought_index readings with matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="depth",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059130 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: type, unit, lon, depth
Sensor: wind_speed | fields: reading, ts, level, unit
Task: Fetch depth from dew_point where reading is greater than the minimum of value in wind_speed for matching depth.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059131 | train |
v3 | Sensor network script:
Node: pressure | code: ref | fields: lat, level, qc, reading
Sensor: dew_point | fields: lat, level, qc, lon
Task: Retrieve value from pressure with value above the MAX(depth) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"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_059132 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, reading, type, ts
Sensor: humidity | fields: qc, value, level, ts
Task: Fetch lat from visibility where reading is greater than the total of reading in humidity for matching ts.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("humidity", code="hgr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059133 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: ts, lat, reading, level
Sensor: uv_index | fields: qc, type, depth, unit
Task: Fetch reading from turbidity where depth is greater than the count of of depth in uv_index for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059134 | train |
v1 | Sensor network script:
Node: cloud_cover | code: prt | fields: qc, type, depth, unit
Sensor: pressure | fields: lat, ts, lon, unit
Task: Retrieve lat from cloud_cover whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="prt"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059135 | train |
v2 | Sensor network script:
Node: frost | code: prt | fields: depth, reading, lat, ts
Sensor: drought_index | fields: unit, level, lat, reading
Task: Retrieve lat from frost that have at least one matching reading in drought_index sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059136 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: ts, lon, depth, lat
Sensor: dew_point | fields: lon, ts, qc, lat
Task: Fetch lon from wind_speed that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059137 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: qc, ts, unit, lat
Sensor: sunlight | fields: lat, ts, unit, type
Task: Retrieve depth from humidity whose unit is found in sunlight records where ts matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="unit",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059138 | train |
v1 | Sensor network script:
Node: rainfall | code: clr | fields: depth, qc, lon, reading
Sensor: drought_index | fields: lat, reading, lon, value
Task: Get reading from rainfall where unit appears in drought_index readings with matching type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=set_member(
field="unit",
source=Probe("drought_index", code="drt"),
match="type",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059139 | train |
v2 | Sensor network script:
Node: snow_depth | code: hub | fields: value, lat, ts, unit
Sensor: drought_index | fields: value, lon, lat, qc
Task: Get lat from snow_depth where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="hub"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="lat",
) | {
"outer_table": "snow_depth",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059140 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: unit, lat, type, ts
Sensor: evaporation | fields: lat, value, unit, reading
Task: Fetch depth from temperature where depth is greater than the minimum of reading in evaporation for matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059141 | train |
v1 | Sensor network script:
Node: sunlight | code: ref | fields: unit, qc, lon, value
Sensor: turbidity | fields: ts, depth, reading, lat
Task: Retrieve level from sunlight whose depth is found in turbidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059142 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: reading, level, qc, value
Sensor: humidity | fields: lat, depth, reading, type
Task: Retrieve level from frost with value above the MIN(value) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "level",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059143 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: lon, depth, unit, level
Sensor: soil_moisture | fields: ts, lon, reading, unit
Task: Get lat from pressure where value exceeds the minimum depth from soil_moisture for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059144 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: value, level, lat, qc
Sensor: drought_index | fields: level, reading, depth, value
Task: Fetch lat from frost where depth is greater than the maximum of value in drought_index for matching unit.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059145 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: type, depth, reading, qc
Sensor: snow_depth | fields: level, unit, ts, lon
Task: Fetch level from pressure where depth is greater than the count of of reading in snow_depth for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059146 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, value, reading, depth
Sensor: frost | fields: reading, ts, qc, lat
Task: Fetch lon from pressure where qc exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="unit",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059147 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: type, level, lon, qc
Sensor: wind_speed | fields: level, qc, depth, value
Task: Fetch depth from drought_index that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059148 | train |
v2 | Sensor network script:
Node: rainfall | code: prt | fields: type, unit, qc, level
Sensor: dew_point | fields: value, type, lon, lat
Task: Retrieve lat from rainfall that have at least one matching reading in dew_point sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059149 | train |
v1 | Sensor network script:
Node: pressure | code: gst | fields: lon, level, value, qc
Sensor: lightning | fields: qc, unit, lon, lat
Task: Get depth from pressure where ts appears in lightning readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=set_member(
field="ts",
source=Probe("lightning", code="tnd"),
match="type",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059150 | train |
v2 | Sensor network script:
Node: wind_speed | code: thr | fields: ts, type, lat, qc
Sensor: rainfall | fields: type, reading, level, unit
Task: Fetch level from wind_speed that have at least one corresponding rainfall measurement for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059151 | train |
v2 | Sensor network script:
Node: drought_index | code: clr | fields: depth, unit, ts, value
Sensor: turbidity | fields: qc, value, reading, ts
Task: Fetch level from drought_index that have at least one corresponding turbidity measurement for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059152 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: ts, qc, depth, unit
Sensor: wind_speed | fields: type, lon, level, depth
Task: Get lat from lightning where depth appears in wind_speed readings with matching qc.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059153 | train |
v1 | Sensor network script:
Node: pressure | code: prt | fields: level, ts, lon, type
Sensor: wind_speed | fields: qc, level, value, unit
Task: Retrieve value from pressure whose ts is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="prt"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059154 | train |
v3 | Sensor network script:
Node: frost | code: gst | fields: reading, depth, type, value
Sensor: sunlight | fields: lon, lat, type, ts
Task: Fetch lon from frost where reading is greater than the total of value in sunlight for matching unit.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059155 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: level, ts, lat, type
Sensor: rainfall | fields: reading, value, type, unit
Task: Retrieve reading from frost that have at least one matching reading in rainfall sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059156 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: lat, lon, unit, qc
Sensor: visibility | fields: lat, ts, lon, unit
Task: Get value from snow_depth where qc appears in visibility readings with matching qc.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059157 | train |
v1 | Sensor network script:
Node: humidity | code: ref | fields: depth, lon, value, type
Sensor: turbidity | fields: lon, ts, qc, value
Task: Retrieve depth from humidity whose qc is found in turbidity records where type matches the outer node.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=set_member(
field="qc",
source=Probe("turbidity", code="ftu"),
match="type",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "ref",
"inner_alias": "ftu",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059158 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: level, qc, value, ts
Sensor: drought_index | fields: level, reading, lon, depth
Task: Fetch lon from soil_moisture that have at least one corresponding drought_index measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059159 | train |
v2 | Sensor network script:
Node: drought_index | code: prt | fields: reading, qc, depth, ts
Sensor: pressure | fields: qc, lon, lat, reading
Task: Get lon from drought_index where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "pressure",
"outer_alias": "prt",
"inner_alias": "mbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059160 | train |
v1 | Sensor network script:
Node: drought_index | code: prt | fields: depth, ts, unit, type
Sensor: frost | fields: ts, lat, qc, level
Task: Retrieve reading from drought_index whose depth is found in frost records where depth matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "prt",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059161 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: unit, level, lon, ts
Sensor: cloud_cover | fields: lat, depth, unit, level
Task: Get depth from evaporation where a corresponding entry exists in cloud_cover with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059162 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: lat, unit, level, qc
Sensor: visibility | fields: depth, unit, lat, reading
Task: Fetch lat from wind_speed where ts exists in visibility sensor data for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059163 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: type, level, lon, reading
Sensor: visibility | fields: qc, value, level, depth
Task: Retrieve reading from humidity that have at least one matching reading in visibility sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059164 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, ts, lat, value
Sensor: drought_index | fields: ts, depth, unit, level
Task: Get lat from temperature where depth exceeds the maximum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059165 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: value, depth, qc, ts
Sensor: cloud_cover | fields: qc, ts, reading, unit
Task: Retrieve level from evaporation with value above the MAX(depth) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059166 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, reading, type, lon
Sensor: snow_depth | fields: qc, unit, depth, value
Task: Retrieve level from humidity with reading above the AVG(depth) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059167 | train |
v2 | Sensor network script:
Node: pressure | code: thr | fields: level, lon, qc, ts
Sensor: uv_index | fields: reading, unit, lat, type
Task: Get lon from pressure where a corresponding entry exists in uv_index with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059168 | train |
v2 | Sensor network script:
Node: cloud_cover | code: stn | fields: lat, type, lon, depth
Sensor: lightning | fields: depth, lat, value, type
Task: Retrieve level from cloud_cover that have at least one matching reading in lightning sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="level",
) | {
"outer_table": "cloud_cover",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059169 | train |
v2 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, reading, depth, qc
Sensor: humidity | fields: lat, lon, ts, depth
Task: Retrieve level from soil_moisture that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059170 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, lon, level, value
Sensor: turbidity | fields: value, unit, level, qc
Task: Get level from wind_speed where depth exceeds the minimum depth from turbidity for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059171 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: depth, lon, type, lat
Sensor: evaporation | fields: depth, ts, lat, level
Task: Get value from soil_moisture where depth appears in evaporation readings with matching qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059172 | train |
v2 | Sensor network script:
Node: lightning | code: mst | fields: type, lon, depth, lat
Sensor: snow_depth | fields: level, depth, unit, reading
Task: Get value from lightning where a corresponding entry exists in snow_depth with the same type.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059173 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: type, unit, value, lat
Sensor: evaporation | fields: level, qc, reading, ts
Task: Fetch level from soil_moisture where reading is greater than the average of reading in evaporation for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059174 | train |
v1 | Sensor network script:
Node: pressure | code: hub | fields: qc, unit, level, depth
Sensor: humidity | fields: qc, ts, reading, type
Task: Fetch value from pressure where qc exists in humidity sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059175 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: unit, type, ts, reading
Sensor: evaporation | fields: lon, level, unit, value
Task: Fetch level from air_quality where type exists in evaporation sensor data for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="qc",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059176 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: type, level, depth, lon
Sensor: soil_moisture | fields: reading, unit, depth, lon
Task: Fetch depth from pressure where depth is greater than the count of of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059177 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: level, unit, value, reading
Sensor: snow_depth | fields: lat, depth, type, ts
Task: Get lon from dew_point where depth exceeds the maximum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059178 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lon, ts, lat, unit
Sensor: lightning | fields: level, reading, lat, depth
Task: Get lon from soil_moisture where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059179 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, unit, ts, level
Sensor: snow_depth | fields: lon, level, ts, reading
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="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059180 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: depth, level, value, lon
Sensor: wind_speed | fields: level, ts, unit, lon
Task: Fetch reading from pressure that have at least one corresponding wind_speed measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059181 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: lat, qc, depth, lon
Sensor: air_quality | fields: level, type, lat, reading
Task: Retrieve level from turbidity whose type is found in air_quality records where depth matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="depth",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059182 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: qc, lat, level, unit
Sensor: temperature | fields: reading, lon, qc, type
Task: Fetch level from air_quality that have at least one corresponding temperature measurement for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="depth",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059183 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: depth, type, lon, ts
Sensor: visibility | fields: level, ts, lat, depth
Task: Retrieve level from uv_index whose ts is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059184 | train |
v1 | Sensor network script:
Node: uv_index | code: thr | fields: unit, depth, qc, value
Sensor: frost | fields: lon, unit, reading, depth
Task: Retrieve depth from uv_index whose depth is found in frost records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="thr"),
filter=set_member(
field="depth",
source=Probe("frost", code="frs"),
match="type",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059185 | train |
v3 | Sensor network script:
Node: dew_point | code: gst | fields: level, type, qc, unit
Sensor: snow_depth | fields: qc, reading, lat, unit
Task: Fetch depth from dew_point where reading is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("dew_point", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="depth",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059186 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: qc, lat, lon, level
Sensor: turbidity | fields: value, lon, level, type
Task: Retrieve level from soil_moisture with depth above the AVG(value) of turbidity readings sharing the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("turbidity", code="ftu"),
match="qc"),
),
output="level",
) | {
"outer_table": "soil_moisture",
"inner_table": "turbidity",
"outer_alias": "gst",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059187 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: reading, level, unit, ts
Sensor: dew_point | fields: ts, unit, depth, level
Task: Retrieve level from rainfall that have at least one matching reading in dew_point sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059188 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: qc, unit, lat, reading
Sensor: turbidity | fields: lon, depth, level, qc
Task: Fetch level from humidity that have at least one corresponding turbidity measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="ts",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059189 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lon, ts, value, type
Sensor: dew_point | fields: lon, depth, unit, type
Task: Get depth from lightning where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059190 | train |
v2 | Sensor network script:
Node: pressure | code: gst | fields: ts, level, lat, depth
Sensor: dew_point | fields: reading, type, depth, lat
Task: Fetch reading from pressure that have at least one corresponding dew_point measurement for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "gst",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059191 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: qc, lon, value, unit
Sensor: uv_index | fields: lon, reading, unit, ts
Task: Fetch depth from sunlight that have at least one corresponding uv_index measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059192 | train |
v3 | Sensor network script:
Node: evaporation | code: gst | fields: lon, value, reading, depth
Sensor: humidity | fields: value, depth, reading, type
Task: Retrieve reading from evaporation with reading above the SUM(depth) of humidity readings sharing the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059193 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: lat, value, unit, reading
Sensor: lightning | fields: depth, ts, unit, value
Task: Retrieve lon from wind_speed whose qc is found in lightning records where qc matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059194 | train |
v3 | Sensor network script:
Node: soil_moisture | code: mst | fields: ts, lat, value, unit
Sensor: snow_depth | fields: ts, depth, reading, qc
Task: Retrieve lon from soil_moisture with value above the COUNT(reading) of snow_depth readings sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059195 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: lon, reading, type, ts
Sensor: rainfall | fields: lon, ts, depth, qc
Task: Get level from frost where type appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059196 | train |
v1 | Sensor network script:
Node: soil_moisture | code: ref | fields: unit, depth, qc, type
Sensor: temperature | fields: reading, unit, ts, value
Task: Fetch value from soil_moisture where unit exists in temperature sensor data for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059197 | train |
v3 | Sensor network script:
Node: pressure | code: thr | fields: unit, type, value, ts
Sensor: lightning | fields: type, level, reading, qc
Task: Fetch reading from pressure where reading is greater than the count of of depth in lightning for matching depth.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_059198 | train |
v1 | Sensor network script:
Node: air_quality | code: prt | fields: value, type, qc, level
Sensor: visibility | fields: level, depth, lat, qc
Task: Get level from air_quality where qc appears in visibility readings with matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="unit",
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "qc",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_059199 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.