variant stringclasses 3
values | prompt stringlengths 216 286 | query stringlengths 168 299 | metadata unknown | id stringlengths 28 28 | split stringclasses 1
value |
|---|---|---|---|---|---|
v3 | Sensor network script:
Node: humidity | code: thr | fields: value, depth, lon, lat
Sensor: evaporation | fields: value, level, reading, ts
Task: Retrieve level from humidity with depth above the SUM(value) of evaporation readings sharing the same type.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "evaporation",
"outer_alias": "thr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051400 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, ts, depth, unit
Sensor: air_quality | fields: lon, level, depth, type
Task: Retrieve level from frost whose type is found in air_quality records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="type",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051401 | train |
v2 | Sensor network script:
Node: drought_index | code: mst | fields: type, lon, level, lat
Sensor: evaporation | fields: lat, unit, ts, value
Task: Fetch reading from drought_index that have at least one corresponding evaporation measurement for the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="mst"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="depth",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "mst",
"inner_alias": "evp",
"proj_col": "reading",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051402 | train |
v1 | Sensor network script:
Node: frost | code: thr | fields: value, level, ts, reading
Sensor: lightning | fields: unit, level, value, qc
Task: Get depth from frost where type appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051403 | train |
v1 | Sensor network script:
Node: frost | code: clr | fields: type, value, lat, qc
Sensor: pressure | fields: value, reading, ts, level
Task: Get depth from frost where unit appears in pressure readings with matching type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=set_member(
field="unit",
source=Probe("pressure", code="mbl"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "pressure",
"outer_alias": "clr",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051404 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: unit, qc, reading, depth
Sensor: rainfall | fields: level, lon, reading, unit
Task: Get lat from evaporation where value exceeds the minimum depth from rainfall for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "depth",
source=Probe("rainfall", code="rnfl"),
match="qc"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "rainfall",
"outer_alias": "hub",
"inner_alias": "rnfl",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051405 | train |
v3 | Sensor network script:
Node: frost | code: clr | fields: lon, ts, type, unit
Sensor: evaporation | fields: type, unit, level, depth
Task: Get level from frost where depth exceeds the total reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051406 | train |
v2 | Sensor network script:
Node: snow_depth | code: ref | fields: value, lon, unit, depth
Sensor: uv_index | fields: qc, level, ts, lat
Task: Retrieve level from snow_depth that have at least one matching reading in uv_index sharing the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="level",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051407 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: value, unit, lon, depth
Sensor: cloud_cover | fields: lon, unit, value, lat
Task: Fetch depth from humidity that have at least one corresponding cloud_cover measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051408 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: qc, depth, level, type
Sensor: visibility | fields: ts, depth, qc, type
Task: Retrieve reading from drought_index whose type is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="type",
source=Probe("visibility", code="clr"),
match="type",
),
output="reading",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051409 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: lat, type, reading, unit
Sensor: dew_point | fields: lat, ts, depth, qc
Task: Get level from sunlight where reading exceeds the maximum value from dew_point for the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("dew_point", code="cnd"),
match="type"),
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051410 | train |
v2 | Sensor network script:
Node: visibility | code: clr | fields: lon, level, value, ts
Sensor: humidity | fields: lat, lon, qc, reading
Task: Get level from visibility where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="level",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051411 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: depth, lat, level, type
Sensor: visibility | fields: qc, depth, value, reading
Task: Fetch lat from uv_index where ts exists in visibility sensor data for the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051412 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: unit, lat, value, qc
Sensor: pressure | fields: lon, unit, ts, lat
Task: Fetch value from turbidity where depth is greater than the maximum of reading in pressure for matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051413 | train |
v2 | Sensor network script:
Node: air_quality | code: stn | fields: reading, type, lon, depth
Sensor: pressure | fields: type, lat, unit, ts
Task: Fetch value from air_quality that have at least one corresponding pressure measurement for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="qc",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "pressure",
"outer_alias": "stn",
"inner_alias": "mbl",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051414 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lon, value, type, depth
Sensor: cloud_cover | fields: value, unit, level, type
Task: Retrieve lon from pressure that have at least one matching reading in cloud_cover sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="ts",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051415 | train |
v3 | Sensor network script:
Node: pressure | code: gst | fields: reading, level, type, ts
Sensor: soil_moisture | fields: type, unit, value, ts
Task: Retrieve value from pressure with reading above the MIN(value) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("pressure", code="gst"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("soil_moisture", code="grvl"),
match="unit"),
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "gst",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051416 | train |
v1 | Sensor network script:
Node: evaporation | code: ref | fields: qc, depth, value, reading
Sensor: visibility | fields: lon, ts, qc, lat
Task: Retrieve level from evaporation whose unit is found in visibility records where type matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=set_member(
field="unit",
source=Probe("visibility", code="clr"),
match="type",
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051417 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: qc, level, depth, value
Sensor: sunlight | fields: lat, value, unit, ts
Task: Fetch value from frost that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "clr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051418 | train |
v3 | Sensor network script:
Node: humidity | code: prt | fields: qc, lon, value, ts
Sensor: visibility | fields: lon, depth, ts, qc
Task: Fetch lon from humidity where value is greater than the count of of depth in visibility for matching unit.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051419 | train |
v2 | Sensor network script:
Node: dew_point | code: ref | fields: type, unit, level, lon
Sensor: snow_depth | fields: type, reading, qc, ts
Task: Retrieve reading from dew_point that have at least one matching reading in snow_depth sharing the same qc.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="reading",
) | {
"outer_table": "dew_point",
"inner_table": "snow_depth",
"outer_alias": "ref",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051420 | train |
v1 | Sensor network script:
Node: soil_moisture | code: prt | fields: lon, lat, level, unit
Sensor: temperature | fields: level, value, qc, type
Task: Retrieve lat from soil_moisture whose ts is found in temperature records where qc matches the outer node.
Script: | readings = fetch(
node=Node("soil_moisture", code="prt"),
filter=set_member(
field="ts",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "temperature",
"outer_alias": "prt",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051421 | train |
v2 | Sensor network script:
Node: lightning | code: hub | fields: qc, lon, reading, level
Sensor: uv_index | fields: reading, level, type, qc
Task: Fetch reading from lightning that have at least one corresponding uv_index measurement for the same type.
Script: | readings = fetch(
node=Node("lightning", code="hub"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="type",
),
output="reading",
) | {
"outer_table": "lightning",
"inner_table": "uv_index",
"outer_alias": "hub",
"inner_alias": "flx",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051422 | train |
v3 | Sensor network script:
Node: air_quality | code: hub | fields: qc, reading, type, value
Sensor: evaporation | fields: depth, type, lon, value
Task: Fetch value from air_quality where depth is greater than the minimum of value in evaporation for matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("evaporation", code="evp"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051423 | train |
v3 | Sensor network script:
Node: uv_index | code: prt | fields: qc, lat, lon, reading
Sensor: sunlight | fields: value, lon, lat, ts
Task: Retrieve lat from uv_index with depth above the SUM(reading) of sunlight readings sharing the same depth.
Script: | readings = fetch(
node=Node("uv_index", code="prt"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("sunlight", code="brt"),
match="depth"),
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051424 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: unit, depth, ts, level
Sensor: snow_depth | fields: reading, value, level, unit
Task: Fetch lon from soil_moisture where depth is greater than the count of of value in snow_depth for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "value",
source=Probe("snow_depth", code="snw"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051425 | train |
v1 | Sensor network script:
Node: air_quality | code: mst | fields: ts, lat, value, unit
Sensor: humidity | fields: depth, value, unit, type
Task: Retrieve value from air_quality whose ts is found in humidity records where ts matches the outer node.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=set_member(
field="ts",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051426 | train |
v1 | Sensor network script:
Node: drought_index | code: ref | fields: lat, type, level, reading
Sensor: visibility | fields: unit, lat, type, value
Task: Fetch value from drought_index where ts exists in visibility sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="ref"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="unit",
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051427 | train |
v1 | Sensor network script:
Node: uv_index | code: mst | fields: type, ts, level, qc
Sensor: temperature | fields: depth, ts, unit, lon
Task: Get lon from uv_index where qc appears in temperature readings with matching qc.
Script: | readings = fetch(
node=Node("uv_index", code="mst"),
filter=set_member(
field="qc",
source=Probe("temperature", code="thr"),
match="qc",
),
output="lon",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051428 | train |
v2 | Sensor network script:
Node: visibility | code: hub | fields: type, lat, qc, unit
Sensor: frost | fields: ts, depth, reading, level
Task: Fetch lat from visibility that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="hub"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="lat",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051429 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, unit, ts, lon
Sensor: lightning | fields: ts, reading, lat, type
Task: Get value from turbidity where value exceeds the total value from lightning for the same type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051430 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: lat, unit, type, value
Sensor: pressure | fields: value, depth, reading, type
Task: Retrieve depth from temperature whose depth is found in pressure records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="depth",
source=Probe("pressure", code="mbl"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "pressure",
"outer_alias": "gst",
"inner_alias": "mbl",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051431 | train |
v2 | Sensor network script:
Node: temperature | code: hub | fields: lat, value, qc, lon
Sensor: humidity | fields: lon, reading, ts, qc
Task: Get level from temperature where a corresponding entry exists in humidity with the same ts.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="ts",
),
output="level",
) | {
"outer_table": "temperature",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051432 | train |
v3 | Sensor network script:
Node: drought_index | code: hub | fields: depth, qc, level, ts
Sensor: sunlight | fields: type, level, unit, depth
Task: Retrieve value from drought_index with reading above the MIN(depth) of sunlight readings sharing the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("sunlight", code="brt"),
match="unit"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "sunlight",
"outer_alias": "hub",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051433 | train |
v1 | Sensor network script:
Node: evaporation | code: mst | fields: depth, value, lon, qc
Sensor: drought_index | fields: lat, qc, type, value
Task: Fetch lon from evaporation where ts exists in drought_index sensor data for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=set_member(
field="ts",
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "lon",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051434 | train |
v2 | Sensor network script:
Node: drought_index | code: hub | fields: lat, ts, unit, reading
Sensor: snow_depth | fields: lat, lon, type, depth
Task: Retrieve lon from drought_index that have at least one matching reading in snow_depth sharing the same depth.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lon",
) | {
"outer_table": "drought_index",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051435 | train |
v3 | Sensor network script:
Node: snow_depth | code: thr | fields: depth, unit, lat, qc
Sensor: lightning | fields: qc, depth, level, lat
Task: Retrieve lon from snow_depth with reading above the AVG(depth) of lightning readings sharing the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("lightning", code="tnd"),
match="depth"),
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051436 | train |
v2 | Sensor network script:
Node: lightning | code: gst | fields: lat, depth, level, lon
Sensor: humidity | fields: ts, reading, unit, lat
Task: Fetch lon from lightning that have at least one corresponding humidity measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="gst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "humidity",
"outer_alias": "gst",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051437 | train |
v2 | Sensor network script:
Node: wind_speed | code: mst | fields: reading, depth, level, ts
Sensor: visibility | fields: lat, depth, reading, unit
Task: Retrieve value from wind_speed that have at least one matching reading in visibility sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="mst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051438 | train |
v2 | Sensor network script:
Node: sunlight | code: hub | fields: level, reading, qc, lon
Sensor: temperature | fields: type, level, lon, depth
Task: Retrieve depth from sunlight that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051439 | train |
v1 | Sensor network script:
Node: air_quality | code: stn | fields: unit, value, lat, reading
Sensor: snow_depth | fields: unit, lon, lat, reading
Task: Get depth from air_quality where qc appears in snow_depth readings with matching qc.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=set_member(
field="qc",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051440 | train |
v2 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, type, value, ts
Sensor: frost | fields: lat, qc, unit, ts
Task: Retrieve value from soil_moisture that have at least one matching reading in frost sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "gst",
"inner_alias": "frs",
"proj_col": "value",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051441 | train |
v3 | Sensor network script:
Node: uv_index | code: hub | fields: type, ts, unit, value
Sensor: humidity | fields: unit, lat, qc, depth
Task: Get depth from uv_index where value exceeds the count of depth from humidity for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("humidity", code="hgr"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051442 | train |
v2 | Sensor network script:
Node: frost | code: clr | fields: unit, value, level, ts
Sensor: lightning | fields: value, depth, ts, unit
Task: Get value from frost where a corresponding entry exists in lightning with the same depth.
Script: | readings = fetch(
node=Node("frost", code="clr"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051443 | train |
v3 | Sensor network script:
Node: turbidity | code: hub | fields: lat, type, unit, ts
Sensor: drought_index | fields: depth, qc, ts, lon
Task: Fetch value from turbidity where reading is greater than the maximum of reading in drought_index for matching unit.
Script: | readings = fetch(
node=Node("turbidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051444 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: lon, value, depth, ts
Sensor: lightning | fields: lon, lat, reading, qc
Task: Retrieve reading from uv_index whose type is found in lightning records where type matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051445 | train |
v2 | Sensor network script:
Node: frost | code: thr | fields: lon, ts, reading, depth
Sensor: sunlight | fields: value, qc, lat, depth
Task: Fetch reading from frost that have at least one corresponding sunlight measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="unit",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051446 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: lat, lon, type, reading
Sensor: humidity | fields: unit, qc, level, lon
Task: Retrieve level from rainfall that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="level",
) | {
"outer_table": "rainfall",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051447 | train |
v1 | Sensor network script:
Node: wind_speed | code: prt | fields: qc, value, unit, reading
Sensor: turbidity | fields: qc, reading, depth, lat
Task: Get lat from wind_speed where depth appears in turbidity readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="prt"),
filter=set_member(
field="depth",
source=Probe("turbidity", code="ftu"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "prt",
"inner_alias": "ftu",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051448 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, depth, value, lon
Sensor: wind_speed | fields: ts, reading, value, type
Task: Get level from pressure where a corresponding entry exists in wind_speed with the same ts.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "level",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051449 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, reading, qc, ts
Sensor: drought_index | fields: ts, lat, type, qc
Task: Retrieve value from humidity with value above the COUNT(depth) of drought_index readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "value",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051450 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, level, lon, type
Sensor: snow_depth | fields: reading, ts, lon, value
Task: Retrieve reading from frost whose type is found in snow_depth records where depth matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "prt",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "prt.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051451 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: level, qc, unit, reading
Sensor: uv_index | fields: level, type, reading, qc
Task: Get lon from turbidity where value exceeds the count of reading from uv_index for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "reading",
source=Probe("uv_index", code="flx"),
match="qc"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051452 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: unit, qc, lat, value
Sensor: air_quality | fields: type, value, ts, depth
Task: Fetch level from sunlight that have at least one corresponding air_quality measurement for the same unit.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="unit",
),
output="level",
) | {
"outer_table": "sunlight",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051453 | train |
v1 | Sensor network script:
Node: visibility | code: clr | fields: depth, reading, value, qc
Sensor: humidity | fields: lon, type, value, lat
Task: Get value from visibility where depth appears in humidity readings with matching ts.
Script: | readings = fetch(
node=Node("visibility", code="clr"),
filter=set_member(
field="depth",
source=Probe("humidity", code="hgr"),
match="ts",
),
output="value",
) | {
"outer_table": "visibility",
"inner_table": "humidity",
"outer_alias": "clr",
"inner_alias": "hgr",
"proj_col": "value",
"filter_col": "depth",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051454 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: lon, lat, depth, value
Sensor: wind_speed | fields: depth, ts, qc, lat
Task: Get reading from evaporation where a corresponding entry exists in wind_speed with the same type.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051455 | train |
v3 | Sensor network script:
Node: evaporation | code: hub | fields: qc, type, value, level
Sensor: lightning | fields: value, reading, unit, qc
Task: Get lat from evaporation where depth exceeds the count of depth from lightning for the same type.
Script: | readings = fetch(
node=Node("evaporation", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051456 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: lon, ts, depth, unit
Sensor: snow_depth | fields: lon, depth, lat, reading
Task: Get lat from sunlight where a corresponding entry exists in snow_depth with the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "gst",
"inner_alias": "snw",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051457 | train |
v3 | Sensor network script:
Node: air_quality | code: clr | fields: type, reading, qc, unit
Sensor: turbidity | fields: lat, depth, lon, type
Task: Retrieve level from air_quality with reading above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="level",
) | {
"outer_table": "air_quality",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051458 | train |
v2 | Sensor network script:
Node: visibility | code: mst | fields: lat, level, reading, lon
Sensor: frost | fields: lon, depth, ts, level
Task: Fetch reading from visibility that have at least one corresponding frost measurement for the same unit.
Script: | readings = fetch(
node=Node("visibility", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="unit",
),
output="reading",
) | {
"outer_table": "visibility",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051459 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: value, lon, reading, qc
Sensor: drought_index | fields: level, value, depth, unit
Task: Get reading from frost where reading exceeds the total depth from drought_index for the same depth.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "depth",
source=Probe("drought_index", code="drt"),
match="depth"),
),
output="reading",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "thr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051460 | train |
v2 | Sensor network script:
Node: rainfall | code: ref | fields: type, unit, ts, reading
Sensor: wind_speed | fields: qc, reading, lon, value
Task: Fetch value from rainfall that have at least one corresponding wind_speed measurement for the same type.
Script: | readings = fetch(
node=Node("rainfall", code="ref"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="value",
) | {
"outer_table": "rainfall",
"inner_table": "wind_speed",
"outer_alias": "ref",
"inner_alias": "gst",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051461 | train |
v1 | Sensor network script:
Node: rainfall | code: hub | fields: lat, depth, type, reading
Sensor: snow_depth | fields: lat, lon, unit, value
Task: Get lat from rainfall where unit appears in snow_depth readings with matching depth.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=set_member(
field="unit",
source=Probe("snow_depth", code="snw"),
match="depth",
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "unit",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051462 | train |
v3 | Sensor network script:
Node: cloud_cover | code: mst | fields: type, lon, value, lat
Sensor: humidity | fields: unit, reading, depth, type
Task: Fetch depth from cloud_cover where value is greater than the maximum of reading in humidity for matching depth.
Script: | readings = fetch(
node=Node("cloud_cover", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "reading",
source=Probe("humidity", code="hgr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051463 | train |
v2 | Sensor network script:
Node: pressure | code: hub | fields: type, reading, depth, value
Sensor: soil_moisture | fields: reading, depth, lon, lat
Task: Fetch lon from pressure that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("pressure", code="hub"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "soil_moisture",
"outer_alias": "hub",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051464 | train |
v2 | Sensor network script:
Node: humidity | code: stn | fields: unit, reading, lon, type
Sensor: dew_point | fields: value, ts, lon, level
Task: Fetch lat from humidity that have at least one corresponding dew_point measurement for the same qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051465 | train |
v2 | Sensor network script:
Node: snow_depth | code: clr | fields: reading, depth, ts, lon
Sensor: wind_speed | fields: type, lat, lon, unit
Task: Retrieve depth from snow_depth that have at least one matching reading in wind_speed sharing the same type.
Script: | readings = fetch(
node=Node("snow_depth", code="clr"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="type",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "wind_speed",
"outer_alias": "clr",
"inner_alias": "gst",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051466 | train |
v2 | Sensor network script:
Node: frost | code: hub | fields: unit, qc, type, value
Sensor: cloud_cover | fields: qc, depth, level, ts
Task: Get lon from frost where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051467 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: value, reading, depth, ts
Sensor: frost | fields: unit, reading, depth, type
Task: Fetch lon from rainfall where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051468 | train |
v3 | Sensor network script:
Node: humidity | code: ref | fields: qc, value, reading, type
Sensor: lightning | fields: qc, value, depth, lon
Task: Get lon from humidity where value exceeds the count of depth from lightning for the same unit.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051469 | train |
v2 | Sensor network script:
Node: cloud_cover | code: thr | fields: unit, ts, level, value
Sensor: snow_depth | fields: lon, unit, lat, ts
Task: Retrieve lon from cloud_cover that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("cloud_cover", code="thr"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lon",
) | {
"outer_table": "cloud_cover",
"inner_table": "snow_depth",
"outer_alias": "thr",
"inner_alias": "snw",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051470 | train |
v1 | Sensor network script:
Node: uv_index | code: hub | fields: unit, level, value, reading
Sensor: evaporation | fields: reading, depth, unit, ts
Task: Fetch depth from uv_index where type exists in evaporation sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051471 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: level, lat, depth, type
Sensor: air_quality | fields: reading, depth, unit, lon
Task: Fetch lon from pressure where reading is greater than the average of depth in air_quality for matching ts.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lon",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "lon",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051472 | train |
v3 | Sensor network script:
Node: frost | code: ref | fields: type, reading, level, value
Sensor: humidity | fields: lat, qc, level, value
Task: Fetch depth from frost where reading is greater than the total of value in humidity for matching unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("humidity", code="hgr"),
match="unit"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "humidity",
"outer_alias": "ref",
"inner_alias": "hgr",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051473 | train |
v3 | Sensor network script:
Node: uv_index | code: ref | fields: ts, qc, value, lon
Sensor: soil_moisture | fields: level, depth, type, qc
Task: Fetch depth from uv_index where reading is greater than the count of of depth in soil_moisture for matching type.
Script: | readings = fetch(
node=Node("uv_index", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051474 | train |
v2 | Sensor network script:
Node: turbidity | code: clr | fields: unit, type, depth, qc
Sensor: air_quality | fields: lat, qc, unit, lon
Task: Get value from turbidity where a corresponding entry exists in air_quality with the same ts.
Script: | readings = fetch(
node=Node("turbidity", code="clr"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "clr",
"inner_alias": "prt",
"proj_col": "value",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051475 | train |
v2 | Sensor network script:
Node: pressure | code: mst | fields: lat, lon, unit, reading
Sensor: humidity | fields: type, level, value, lon
Task: Get value from pressure where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("pressure", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "pressure",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051476 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: lon, ts, type, value
Sensor: humidity | fields: lat, qc, type, lon
Task: Retrieve reading from soil_moisture that have at least one matching reading in humidity sharing the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "stn",
"inner_alias": "hgr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051477 | train |
v1 | Sensor network script:
Node: pressure | code: stn | fields: value, type, depth, qc
Sensor: frost | fields: ts, unit, type, lon
Task: Fetch depth from pressure where qc exists in frost sensor data for the same depth.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=set_member(
field="qc",
source=Probe("frost", code="frs"),
match="depth",
),
output="depth",
) | {
"outer_table": "pressure",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "qc",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051478 | train |
v1 | Sensor network script:
Node: lightning | code: thr | fields: level, type, depth, unit
Sensor: rainfall | fields: lat, depth, type, value
Task: Fetch value from lightning where unit exists in rainfall sensor data for the same type.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=set_member(
field="unit",
source=Probe("rainfall", code="rnfl"),
match="type",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "rainfall",
"outer_alias": "thr",
"inner_alias": "rnfl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051479 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, ts, type, unit
Sensor: temperature | fields: lon, ts, level, value
Task: Get reading from wind_speed where depth exceeds the total depth from temperature for the same ts.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051480 | train |
v1 | Sensor network script:
Node: snow_depth | code: ref | fields: type, unit, value, qc
Sensor: uv_index | fields: depth, lon, qc, ts
Task: Fetch lon from snow_depth where depth exists in uv_index sensor data for the same qc.
Script: | readings = fetch(
node=Node("snow_depth", code="ref"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="qc",
),
output="lon",
) | {
"outer_table": "snow_depth",
"inner_table": "uv_index",
"outer_alias": "ref",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051481 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: unit, qc, reading, level
Sensor: cloud_cover | fields: level, unit, value, reading
Task: Retrieve level from uv_index that have at least one matching reading in cloud_cover sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="type",
),
output="level",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "hub",
"inner_alias": "nbl",
"proj_col": "level",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051482 | train |
v1 | Sensor network script:
Node: sunlight | code: thr | fields: lon, level, unit, type
Sensor: lightning | fields: value, lon, unit, lat
Task: Fetch value from sunlight where type exists in lightning sensor data for the same depth.
Script: | readings = fetch(
node=Node("sunlight", code="thr"),
filter=set_member(
field="type",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051483 | train |
v2 | Sensor network script:
Node: lightning | code: stn | fields: lon, type, level, depth
Sensor: dew_point | fields: level, value, lon, reading
Task: Retrieve lon from lightning that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("lightning", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lon",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051484 | train |
v1 | Sensor network script:
Node: temperature | code: gst | fields: ts, value, reading, depth
Sensor: evaporation | fields: depth, ts, value, level
Task: Retrieve depth from temperature whose ts is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=set_member(
field="ts",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "evaporation",
"outer_alias": "gst",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051485 | train |
v1 | Sensor network script:
Node: frost | code: gst | fields: lat, ts, value, level
Sensor: cloud_cover | fields: value, type, reading, unit
Task: Retrieve value from frost whose qc is found in cloud_cover records where qc matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="gst"),
filter=set_member(
field="qc",
source=Probe("cloud_cover", code="nbl"),
match="qc",
),
output="value",
) | {
"outer_table": "frost",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051486 | train |
v2 | Sensor network script:
Node: temperature | code: thr | fields: level, type, qc, lat
Sensor: cloud_cover | fields: level, value, lon, depth
Task: Get lon from temperature where a corresponding entry exists in cloud_cover with the same depth.
Script: | readings = fetch(
node=Node("temperature", code="thr"),
filter=has_match(
source=Probe("cloud_cover", code="nbl"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "cloud_cover",
"outer_alias": "thr",
"inner_alias": "nbl",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051487 | train |
v1 | Sensor network script:
Node: evaporation | code: stn | fields: reading, lon, lat, qc
Sensor: visibility | fields: qc, lat, type, reading
Task: Retrieve lat from evaporation whose qc is found in visibility records where qc matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=set_member(
field="qc",
source=Probe("visibility", code="clr"),
match="qc",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "visibility",
"outer_alias": "stn",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051488 | train |
v3 | Sensor network script:
Node: dew_point | code: thr | fields: reading, lat, value, lon
Sensor: wind_speed | fields: unit, value, type, lat
Task: Get value from dew_point where value exceeds the maximum value from wind_speed for the same type.
Script: | readings = fetch(
node=Node("dew_point", code="thr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("wind_speed", code="gst"),
match="type"),
),
output="value",
) | {
"outer_table": "dew_point",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051489 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: unit, value, lat, reading
Sensor: evaporation | fields: lat, reading, qc, type
Task: Retrieve value from uv_index whose type is found in evaporation records where unit matches the outer node.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("evaporation", code="evp"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "type",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051490 | train |
v1 | Sensor network script:
Node: humidity | code: gst | fields: type, lat, value, level
Sensor: air_quality | fields: ts, reading, lat, qc
Task: Get reading from humidity where ts appears in air_quality readings with matching ts.
Script: | readings = fetch(
node=Node("humidity", code="gst"),
filter=set_member(
field="ts",
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "reading",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051491 | train |
v3 | Sensor network script:
Node: wind_speed | code: clr | fields: level, qc, unit, depth
Sensor: turbidity | fields: ts, level, lat, qc
Task: Retrieve value from wind_speed with value above the MIN(value) of turbidity readings sharing the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "value",
source=Probe("turbidity", code="ftu"),
match="depth"),
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "turbidity",
"outer_alias": "clr",
"inner_alias": "ftu",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051492 | train |
v3 | Sensor network script:
Node: soil_moisture | code: gst | fields: unit, type, lon, reading
Sensor: lightning | fields: type, lat, depth, level
Task: Fetch lon from soil_moisture where depth is greater than the minimum of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("soil_moisture", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051493 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: depth, ts, lon, type
Sensor: evaporation | fields: level, ts, type, value
Task: Retrieve lat from air_quality that have at least one matching reading in evaporation sharing the same type.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="type",
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "hub",
"inner_alias": "evp",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051494 | train |
v2 | Sensor network script:
Node: drought_index | code: stn | fields: level, ts, lon, lat
Sensor: dew_point | fields: depth, lon, reading, lat
Task: Get depth from drought_index where a corresponding entry exists in dew_point with the same type.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="type",
),
output="depth",
) | {
"outer_table": "drought_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051495 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, ts, unit, qc
Sensor: sunlight | fields: type, reading, depth, lat
Task: Get reading from soil_moisture where a corresponding entry exists in sunlight with the same ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051496 | train |
v2 | Sensor network script:
Node: lightning | code: prt | fields: lon, level, type, ts
Sensor: sunlight | fields: qc, depth, level, reading
Task: Retrieve lat from lightning that have at least one matching reading in sunlight sharing the same ts.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "sunlight",
"outer_alias": "prt",
"inner_alias": "brt",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_051497 | train |
v3 | Sensor network script:
Node: rainfall | code: hub | fields: level, qc, unit, lat
Sensor: air_quality | fields: lat, ts, reading, level
Task: Retrieve lat from rainfall with reading above the COUNT(depth) of air_quality readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "depth",
source=Probe("air_quality", code="prt"),
match="ts"),
),
output="lat",
) | {
"outer_table": "rainfall",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051498 | train |
v2 | Sensor network script:
Node: air_quality | code: mst | fields: lon, unit, reading, level
Sensor: wind_speed | fields: qc, reading, type, lon
Task: Fetch lon from air_quality that have at least one corresponding wind_speed measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=has_match(
source=Probe("wind_speed", code="gst"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "wind_speed",
"outer_alias": "mst",
"inner_alias": "gst",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_051499 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.