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: visibility | code: prt | fields: depth, value, lon, qc
Sensor: dew_point | fields: value, unit, lat, lon
Task: Fetch reading from visibility that have at least one corresponding dew_point measurement for the same ts.
Script: | readings = fetch(
node=Node("visibility", code="prt"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052300 | train |
v1 | Sensor network script:
Node: sunlight | code: prt | fields: qc, ts, reading, depth
Sensor: cloud_cover | fields: depth, reading, type, ts
Task: Fetch level from sunlight where ts exists in cloud_cover sensor data for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=set_member(
field="ts",
source=Probe("cloud_cover", code="nbl"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "prt",
"inner_alias": "nbl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052301 | train |
v2 | Sensor network script:
Node: turbidity | code: hub | fields: depth, reading, qc, value
Sensor: humidity | fields: qc, type, reading, unit
Task: Retrieve reading from turbidity that have at least one matching reading in humidity sharing the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052302 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: type, lat, lon, unit
Sensor: turbidity | fields: qc, lon, value, ts
Task: Retrieve lat from rainfall with value above the MAX(reading) of turbidity readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("turbidity", code="ftu"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052303 | train |
v1 | Sensor network script:
Node: evaporation | code: clr | fields: ts, lat, type, value
Sensor: snow_depth | fields: unit, lat, qc, type
Task: Get lon from evaporation where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052304 | train |
v1 | Sensor network script:
Node: turbidity | code: gst | fields: lon, unit, ts, type
Sensor: pressure | fields: ts, lon, reading, type
Task: Get lat from turbidity where type appears in pressure readings with matching depth.
Script: | readings = fetch(
node=Node("turbidity", code="gst"),
filter=set_member(
field="type",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="lat",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052305 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: qc, level, lat, type
Sensor: snow_depth | fields: qc, ts, unit, reading
Task: Retrieve lon from temperature whose qc is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052306 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: qc, value, lon, lat
Sensor: visibility | fields: lon, type, qc, unit
Task: Retrieve depth from lightning with depth above the SUM(reading) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052307 | train |
v3 | Sensor network script:
Node: sunlight | code: hub | fields: depth, level, reading, type
Sensor: soil_moisture | fields: unit, ts, lat, value
Task: Retrieve reading from sunlight with value above the COUNT(depth) of soil_moisture readings sharing the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052308 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: ts, depth, unit, level
Sensor: drought_index | fields: unit, level, lat, ts
Task: Fetch depth from pressure where type exists in drought_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="type",
source=Probe("drought_index", code="drt"),
match="unit",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052309 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: ts, lat, unit, level
Sensor: pressure | fields: level, unit, lon, ts
Task: Fetch reading from humidity where reading is greater than the minimum of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052310 | train |
v2 | Sensor network script:
Node: dew_point | code: clr | fields: qc, unit, level, ts
Sensor: uv_index | fields: level, unit, ts, reading
Task: Retrieve reading from dew_point that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052311 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lon, reading, qc, level
Sensor: sunlight | fields: type, level, lon, lat
Task: Retrieve lon from temperature whose type is found in sunlight records where qc matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052312 | train |
v1 | Sensor network script:
Node: wind_speed | code: clr | fields: reading, unit, lon, type
Sensor: cloud_cover | fields: type, reading, depth, level
Task: Get lon from wind_speed where depth appears in cloud_cover readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=set_member(
field="depth",
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052313 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: level, qc, unit, depth
Sensor: temperature | fields: lat, lon, qc, reading
Task: Get lon from frost where reading exceeds the maximum value from temperature for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("temperature", code="thr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052314 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: level, value, unit, reading
Sensor: drought_index | fields: lon, value, type, lat
Task: Get lon from humidity where depth exceeds the average reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052315 | train |
v3 | Sensor network script:
Node: temperature | code: thr | fields: type, lon, lat, reading
Sensor: pressure | fields: value, level, type, reading
Task: Retrieve lat from temperature with value above the AVG(reading) of pressure readings sharing the same ts.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052316 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: depth, type, value, level
Sensor: rainfall | fields: unit, depth, qc, type
Task: Retrieve reading from lightning with depth above the MIN(depth) of rainfall readings sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052317 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: level, type, reading, value
Sensor: air_quality | fields: lat, lon, ts, level
Task: Fetch value from pressure where depth exists in air_quality sensor data for the same ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052318 | train |
v2 | Sensor network script:
Node: visibility | code: ref | fields: qc, lat, ts, lon
Sensor: drought_index | fields: lat, type, value, unit
Task: Fetch lon from visibility that have at least one corresponding drought_index measurement for the same type.
Script: | readings = fetch(
node=Node("visibility", code="ref"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="type",
),
output="lon",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "ref",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052319 | train |
v2 | Sensor network script:
Node: uv_index | code: clr | fields: ts, depth, value, qc
Sensor: wind_speed | fields: level, reading, lat, value
Task: Get lon from uv_index where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052320 | train |
v3 | Sensor network script:
Node: snow_depth | code: prt | fields: type, unit, ts, reading
Sensor: wind_speed | fields: depth, lat, unit, type
Task: Fetch depth from snow_depth where value is greater than the count of of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052321 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, value, type, lon
Sensor: temperature | fields: value, lat, type, lon
Task: Get depth from drought_index where unit appears in temperature readings with matching ts.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="unit",
source=Probe("temperature", code="thr"),
match="ts",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052322 | train |
v3 | Sensor network script:
Node: lightning | code: stn | fields: lon, value, level, lat
Sensor: dew_point | fields: ts, type, qc, reading
Task: Get value from lightning where value exceeds the count of value from dew_point for the same type.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052323 | train |
v3 | Sensor network script:
Node: temperature | code: mst | fields: unit, reading, qc, value
Sensor: dew_point | fields: reading, depth, level, qc
Task: Retrieve depth from temperature with value above the COUNT(reading) of dew_point readings sharing the same qc.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("dew_point", code="cnd"),
match="qc"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052324 | train |
v3 | Sensor network script:
Node: dew_point | code: clr | fields: unit, value, type, lon
Sensor: wind_speed | fields: value, level, reading, type
Task: Get lat from dew_point where value exceeds the total value from wind_speed for the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("wind_speed", code="gst"),
match="depth"),
),
output="lat",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052325 | train |
v3 | Sensor network script:
Node: rainfall | code: ref | fields: value, depth, level, lat
Sensor: evaporation | fields: value, qc, lat, ts
Task: Retrieve lat from rainfall with depth above the MAX(depth) of evaporation readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052326 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: lon, depth, value, reading
Sensor: temperature | fields: qc, type, unit, reading
Task: Get depth from humidity where depth appears in temperature readings with matching depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="depth",
source=Probe("temperature", code="thr"),
match="depth",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "temperature",
"outer_alias": "stn",
"inner_alias": "thr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052327 | train |
v3 | Sensor network script:
Node: humidity | code: thr | fields: depth, unit, reading, qc
Sensor: pressure | fields: ts, qc, lon, depth
Task: Fetch value from humidity where reading is greater than the minimum of reading in pressure for matching depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052328 | train |
v2 | Sensor network script:
Node: visibility | code: stn | fields: type, value, lon, ts
Sensor: drought_index | fields: level, lon, depth, unit
Task: Get reading from visibility where a corresponding entry exists in drought_index with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="qc",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052329 | train |
v3 | Sensor network script:
Node: lightning | code: hub | fields: level, lat, value, reading
Sensor: pressure | fields: unit, lat, qc, ts
Task: Get lon from lightning where depth exceeds the total reading from pressure for the same ts.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052330 | train |
v3 | Sensor network script:
Node: soil_moisture | code: ref | fields: value, level, lon, depth
Sensor: temperature | fields: ts, lat, unit, lon
Task: Get lon from soil_moisture where reading exceeds the minimum depth from temperature for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("temperature", code="thr"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052331 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: lon, value, reading, type
Sensor: soil_moisture | fields: type, qc, level, reading
Task: Get lon from wind_speed where a corresponding entry exists in soil_moisture with the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052332 | train |
v3 | Sensor network script:
Node: evaporation | code: stn | fields: type, value, qc, ts
Sensor: pressure | fields: lon, lat, type, level
Task: Get value from evaporation where reading exceeds the maximum depth from pressure for the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("pressure", code="mbl"),
match="depth"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052333 | train |
v3 | Sensor network script:
Node: drought_index | code: prt | fields: unit, lat, reading, lon
Sensor: rainfall | fields: ts, type, depth, level
Task: Get value from drought_index where reading exceeds the maximum reading from rainfall for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "rainfall",
"outer_alias": "prt",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052334 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: lon, level, type, value
Sensor: soil_moisture | fields: depth, value, ts, lat
Task: Fetch lat from frost where value is greater than the average of value in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "value",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052335 | train |
v3 | Sensor network script:
Node: temperature | code: prt | fields: qc, reading, type, value
Sensor: sunlight | fields: lat, lon, reading, unit
Task: Fetch depth from temperature where value is greater than the total of depth in sunlight for matching type.
Script: | readings = fetch(
node=Node("temperature", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("sunlight", code="brt"),
match="type"),
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052336 | train |
v1 | Sensor network script:
Node: wind_speed | code: gst | fields: type, reading, level, lat
Sensor: soil_moisture | fields: reading, unit, qc, level
Task: Retrieve lon from wind_speed whose depth is found in soil_moisture records where type matches the outer node.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052337 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: value, lat, ts, unit
Sensor: sunlight | fields: level, type, unit, value
Task: Get lat from temperature where type appears in sunlight readings with matching qc.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="qc",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052338 | train |
v1 | Sensor network script:
Node: sunlight | code: stn | fields: reading, level, type, qc
Sensor: snow_depth | fields: depth, reading, lat, type
Task: Get lat from sunlight where type appears in snow_depth readings with matching unit.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052339 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: value, qc, reading, lon
Sensor: pressure | fields: lon, type, level, qc
Task: Fetch reading from air_quality where reading is greater than the average of value in pressure for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("pressure", code="mbl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "ref",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052340 | train |
v3 | Sensor network script:
Node: rainfall | code: clr | fields: value, qc, ts, depth
Sensor: cloud_cover | fields: depth, lon, type, reading
Task: Get lon from rainfall where depth exceeds the average value from cloud_cover for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "value",
source=Probe("cloud_cover", code="nbl"),
match="type"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "clr",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052341 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: lat, lon, value, unit
Sensor: pressure | fields: depth, ts, type, lat
Task: Retrieve value from frost whose qc is found in pressure records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="qc",
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052342 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: lat, ts, lon, qc
Sensor: visibility | fields: lat, level, lon, reading
Task: Get level from evaporation where depth exceeds the average reading from visibility for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("visibility", code="clr"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052343 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: depth, level, lon, unit
Sensor: snow_depth | fields: depth, ts, reading, qc
Task: Get level from frost where depth exceeds the maximum reading from snow_depth for the same depth.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052344 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: reading, type, qc, level
Sensor: air_quality | fields: lon, level, qc, unit
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="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052345 | train |
v2 | Sensor network script:
Node: rainfall | code: mst | fields: level, depth, lon, reading
Sensor: pressure | fields: lon, type, unit, qc
Task: Get value from rainfall where a corresponding entry exists in pressure with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="depth",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052346 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: unit, value, type, lat
Sensor: evaporation | fields: unit, level, ts, type
Task: Retrieve lat from pressure whose qc is found in evaporation records where ts matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="qc",
source=Probe("evaporation", code="evp"),
match="ts",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052347 | train |
v3 | Sensor network script:
Node: visibility | code: hub | fields: value, lon, type, qc
Sensor: lightning | fields: unit, depth, value, type
Task: Get reading from visibility where depth exceeds the total value from lightning for the same type.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052348 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, reading, depth, ts
Sensor: temperature | fields: ts, lat, type, lon
Task: Fetch value from soil_moisture that have at least one corresponding temperature measurement for the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="ts",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052349 | train |
v2 | Sensor network script:
Node: temperature | code: ref | fields: depth, reading, level, lon
Sensor: lightning | fields: unit, level, reading, depth
Task: Get value from temperature where a corresponding entry exists in lightning with the same type.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="type",
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052350 | train |
v1 | Sensor network script:
Node: cloud_cover | code: thr | fields: qc, type, lat, level
Sensor: humidity | fields: unit, level, type, lon
Task: Retrieve depth from cloud_cover whose type is found in humidity records where depth matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=set_member(
field="type",
source=Probe("humidity", code="hgr"),
match="depth",
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052351 | train |
v1 | Sensor network script:
Node: temperature | code: stn | fields: depth, ts, reading, lon
Sensor: cloud_cover | fields: lat, type, depth, unit
Task: Get reading from temperature where type appears in cloud_cover readings with matching ts.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=set_member(
field="type",
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052352 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: lon, type, level, unit
Sensor: frost | fields: lon, unit, lat, type
Task: Fetch reading from air_quality where reading is greater than the minimum of depth in frost for matching type.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("frost", code="frs"),
match="type"),
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052353 | train |
v2 | Sensor network script:
Node: rainfall | code: hub | fields: qc, reading, type, depth
Sensor: temperature | fields: reading, unit, lat, depth
Task: Retrieve reading from rainfall that have at least one matching reading in temperature sharing the same qc.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="qc",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052354 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: reading, level, ts, value
Sensor: soil_moisture | fields: lat, qc, reading, lon
Task: Fetch depth from lightning where type exists in soil_moisture sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("soil_moisture", code="grvl"),
match="type",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052355 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: qc, type, depth, ts
Sensor: sunlight | fields: lat, reading, unit, type
Task: Get lat from humidity where a corresponding entry exists in sunlight with the same depth.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052356 | train |
v1 | Sensor network script:
Node: turbidity | code: clr | fields: qc, depth, unit, lat
Sensor: rainfall | fields: level, type, unit, lat
Task: Fetch lon from turbidity where qc exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052357 | train |
v2 | Sensor network script:
Node: uv_index | code: prt | fields: unit, lat, lon, qc
Sensor: wind_speed | fields: depth, level, ts, value
Task: Retrieve reading from uv_index that have at least one matching reading in wind_speed sharing the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "prt",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052358 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: type, reading, value, ts
Sensor: cloud_cover | fields: level, unit, depth, reading
Task: Get value from wind_speed where unit appears in cloud_cover readings with matching type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="unit",
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052359 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: unit, reading, level, value
Sensor: dew_point | fields: value, lat, lon, reading
Task: Retrieve lat from pressure that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052360 | train |
v1 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, type, value
Sensor: soil_moisture | fields: lon, level, lat, reading
Task: Fetch level from visibility where ts exists in soil_moisture sensor data for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=set_member(
field="ts",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "level",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052361 | train |
v2 | Sensor network script:
Node: rainfall | code: clr | fields: level, lat, value, reading
Sensor: drought_index | fields: lat, type, value, reading
Task: Get level from rainfall where a corresponding entry exists in drought_index with the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="clr"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "level",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052362 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: level, reading, ts, lat
Sensor: sunlight | fields: lon, level, value, unit
Task: Fetch value from uv_index that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052363 | train |
v1 | Sensor network script:
Node: turbidity | code: mst | fields: lat, reading, level, ts
Sensor: wind_speed | fields: unit, reading, lat, lon
Task: Retrieve value from turbidity whose type is found in wind_speed records where qc matches the outer node.
Script: | readings = fetch(
node=Node("turbidity", code="mst"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="qc",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052364 | train |
v3 | Sensor network script:
Node: lightning | code: thr | fields: level, depth, qc, unit
Sensor: rainfall | fields: value, level, ts, lon
Task: Get level from lightning where value exceeds the total depth from rainfall for the same unit.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="level",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052365 | train |
v2 | Sensor network script:
Node: sunlight | code: prt | fields: unit, qc, reading, value
Sensor: humidity | fields: level, lat, type, qc
Task: Retrieve reading from sunlight that have at least one matching reading in humidity sharing the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="prt"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052366 | train |
v3 | Sensor network script:
Node: turbidity | code: clr | fields: qc, unit, depth, lat
Sensor: rainfall | fields: level, lat, reading, lon
Task: Fetch reading from turbidity where reading is greater than the average of reading in rainfall for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "reading",
source=Probe("rainfall", code="rnfl"),
match="unit"),
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "rainfall",
"outer_alias": "clr",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052367 | train |
v3 | Sensor network script:
Node: drought_index | code: ref | fields: unit, reading, lon, value
Sensor: frost | fields: reading, depth, ts, value
Task: Get lon from drought_index where value exceeds the total depth from frost for the same qc.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "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": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052368 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: value, depth, reading, level
Sensor: wind_speed | fields: value, qc, ts, reading
Task: Fetch reading from soil_moisture where value is greater than the count of of depth in wind_speed for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052369 | train |
v3 | Sensor network script:
Node: wind_speed | code: gst | fields: type, value, depth, lon
Sensor: temperature | fields: unit, qc, reading, value
Task: Retrieve value from wind_speed with value above the COUNT(depth) of temperature readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("temperature", code="thr"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "gst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052370 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, reading, unit, depth
Sensor: snow_depth | fields: lon, depth, qc, reading
Task: Retrieve value from wind_speed that have at least one matching reading in snow_depth sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052371 | train |
v2 | Sensor network script:
Node: soil_moisture | code: clr | fields: lat, qc, ts, lon
Sensor: air_quality | fields: lat, type, qc, value
Task: Retrieve reading from soil_moisture that have at least one matching reading in air_quality sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052372 | train |
v3 | Sensor network script:
Node: sunlight | code: clr | fields: type, lat, qc, level
Sensor: drought_index | fields: value, depth, unit, level
Task: Fetch lon from sunlight where value is greater than the count of of value in drought_index for matching ts.
Script: | readings = fetch(
node=Node("sunlight", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052373 | train |
v3 | Sensor network script:
Node: lightning | code: prt | fields: type, lon, reading, unit
Sensor: snow_depth | fields: depth, lat, reading, ts
Task: Fetch depth from lightning where value is greater than the count of of reading in snow_depth for matching qc.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("snow_depth", code="snw"),
match="qc"),
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052374 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: level, qc, value, depth
Sensor: soil_moisture | fields: lon, lat, ts, value
Task: Fetch lon from wind_speed where value is greater than the average of depth in soil_moisture for matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="depth"),
),
output="lon",
) | {
"outer_table": "wind_speed",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052375 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: reading, level, depth, unit
Sensor: rainfall | fields: level, value, lon, ts
Task: Retrieve lon from air_quality that have at least one matching reading in rainfall sharing the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052376 | train |
v1 | Sensor network script:
Node: soil_moisture | code: gst | fields: type, level, depth, unit
Sensor: drought_index | fields: depth, lon, level, lat
Task: Get lon from soil_moisture where qc appears in drought_index readings with matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=set_member(
field="qc",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052377 | train |
v3 | Sensor network script:
Node: wind_speed | code: thr | fields: type, lat, unit, depth
Sensor: evaporation | fields: unit, depth, reading, value
Task: Get depth from wind_speed where depth exceeds the average reading from evaporation for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052378 | train |
v2 | Sensor network script:
Node: dew_point | code: stn | fields: value, lon, type, qc
Sensor: wind_speed | fields: reading, ts, value, depth
Task: Fetch lon from dew_point that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052379 | train |
v3 | Sensor network script:
Node: sunlight | code: stn | fields: type, reading, lat, level
Sensor: dew_point | fields: qc, ts, type, lon
Task: Retrieve lon from sunlight with depth above the MIN(value) of dew_point readings sharing the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("dew_point", code="cnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052380 | train |
v3 | Sensor network script:
Node: soil_moisture | code: prt | fields: level, ts, value, type
Sensor: evaporation | fields: unit, reading, ts, lat
Task: Fetch lat from soil_moisture where reading is greater than the minimum of reading in evaporation for matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052381 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: ts, depth, type, unit
Sensor: dew_point | fields: qc, ts, type, value
Task: Fetch reading from evaporation where ts exists in dew_point sensor data for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="ts",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052382 | train |
v1 | Sensor network script:
Node: evaporation | code: gst | fields: lon, type, reading, value
Sensor: rainfall | fields: qc, level, lon, unit
Task: Fetch depth from evaporation where depth exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="gst"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="depth",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "gst",
"inner_alias": "rnfl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052383 | train |
v3 | Sensor network script:
Node: sunlight | code: gst | fields: value, unit, qc, type
Sensor: cloud_cover | fields: reading, depth, ts, type
Task: Get reading from sunlight where depth exceeds the average reading from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052384 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: depth, unit, ts, level
Sensor: wind_speed | fields: value, depth, type, qc
Task: Get depth from pressure where unit appears in wind_speed readings with matching depth.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="unit",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052385 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: value, unit, lat, level
Sensor: uv_index | fields: lat, reading, unit, level
Task: Retrieve lat from temperature whose depth is found in uv_index records where type matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="type",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052386 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: value, level, reading, type
Sensor: rainfall | fields: value, unit, lat, depth
Task: Fetch value from pressure that have at least one corresponding rainfall measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052387 | train |
v2 | Sensor network script:
Node: wind_speed | code: prt | fields: depth, type, qc, value
Sensor: temperature | fields: type, lat, lon, unit
Task: Fetch reading from wind_speed that have at least one corresponding temperature measurement for the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="unit",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052388 | train |
v2 | Sensor network script:
Node: wind_speed | code: ref | fields: reading, qc, unit, level
Sensor: sunlight | fields: depth, level, lat, qc
Task: Get reading from wind_speed where a corresponding entry exists in sunlight with the same qc.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052389 | train |
v2 | Sensor network script:
Node: drought_index | code: thr | fields: level, unit, type, ts
Sensor: evaporation | fields: value, reading, level, unit
Task: Fetch reading from drought_index that have at least one corresponding evaporation measurement for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="thr"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052390 | train |
v1 | Sensor network script:
Node: turbidity | code: prt | fields: value, unit, ts, level
Sensor: humidity | fields: level, lon, type, qc
Task: Fetch depth from turbidity where depth exists in humidity sensor data for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="prt"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="type",
),
output="depth",
) | {
"outer_table": "turbidity",
"inner_table": "humidity",
"outer_alias": "prt",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052391 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: unit, value, lat, depth
Sensor: snow_depth | fields: depth, lat, lon, reading
Task: Get value from air_quality where depth exceeds the maximum value from snow_depth for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="ts"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "clr",
"inner_alias": "snw",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052392 | train |
v2 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, reading, lon, level
Sensor: air_quality | fields: qc, ts, type, lat
Task: Fetch lon from cloud_cover that have at least one corresponding air_quality measurement for the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="qc",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_052393 | train |
v3 | Sensor network script:
Node: wind_speed | code: ref | fields: lon, level, reading, type
Sensor: sunlight | fields: depth, qc, ts, reading
Task: Get value from wind_speed where reading exceeds the count of depth from sunlight for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("sunlight", code="brt"),
match="ts"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052394 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: qc, value, depth, lon
Sensor: dew_point | fields: unit, type, qc, lon
Task: Fetch lon from soil_moisture that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "dew_point",
"outer_alias": "hub",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052395 | train |
v1 | Sensor network script:
Node: dew_point | code: ref | fields: level, lon, unit, value
Sensor: rainfall | fields: depth, unit, type, qc
Task: Fetch reading from dew_point where depth exists in rainfall sensor data for the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=set_member(
field="depth",
source=Probe("rainfall", code="rnfl"),
match="unit",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052396 | train |
v1 | Sensor network script:
Node: snow_depth | code: thr | fields: level, type, lat, unit
Sensor: humidity | fields: lon, level, value, qc
Task: Get lon from snow_depth where qc appears in humidity readings with matching type.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=set_member(
field="qc",
source=Probe("humidity", code="hgr"),
match="type",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "humidity",
"outer_alias": "thr",
"inner_alias": "hgr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052397 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: qc, value, ts, level
Sensor: drought_index | fields: value, ts, level, lat
Task: Fetch reading from uv_index where value is greater than the minimum of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "drought_index",
"outer_alias": "stn",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052398 | train |
v3 | Sensor network script:
Node: drought_index | code: stn | fields: value, lon, ts, qc
Sensor: turbidity | fields: level, ts, depth, value
Task: Fetch lon from drought_index where depth is greater than the total of depth in turbidity for matching unit.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("turbidity", code="ftu"),
match="unit"),
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "turbidity",
"outer_alias": "stn",
"inner_alias": "ftu",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_052399 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.