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: wind_speed | code: stn | fields: ts, type, lon, reading
Sensor: lightning | fields: lon, unit, level, reading
Task: Get lat from wind_speed where reading exceeds the count of value from lightning for the same type.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "value",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011900 | train |
v2 | Sensor network script:
Node: air_quality | code: hub | fields: unit, qc, depth, level
Sensor: lightning | fields: ts, level, depth, value
Task: Get depth from air_quality where a corresponding entry exists in lightning with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="hub"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "hub",
"inner_alias": "tnd",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011901 | train |
v3 | Sensor network script:
Node: soil_moisture | code: clr | fields: ts, type, unit, value
Sensor: evaporation | fields: depth, type, ts, unit
Task: Fetch depth from soil_moisture where value is greater than the maximum of depth in evaporation for matching ts.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("evaporation", code="evp"),
match="ts"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011902 | train |
v2 | Sensor network script:
Node: evaporation | code: thr | fields: depth, value, type, level
Sensor: dew_point | fields: depth, value, unit, qc
Task: Fetch lat from evaporation that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "thr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011903 | train |
v3 | Sensor network script:
Node: turbidity | code: thr | fields: value, reading, type, lat
Sensor: lightning | fields: qc, lon, level, type
Task: Fetch lon from turbidity where depth is greater than the minimum of reading in lightning for matching type.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "reading",
source=Probe("lightning", code="tnd"),
match="type"),
),
output="lon",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "thr",
"inner_alias": "tnd",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011904 | train |
v1 | Sensor network script:
Node: drought_index | code: stn | fields: lat, type, value, lon
Sensor: uv_index | fields: lat, ts, unit, depth
Task: Retrieve level from drought_index whose type is found in uv_index records where ts matches the outer node.
Script: | readings = fetch(
node=Node("drought_index", code="stn"),
filter=set_member(
field="type",
source=Probe("uv_index", code="flx"),
match="ts",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "level",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011905 | train |
v1 | Sensor network script:
Node: turbidity | code: thr | fields: unit, value, ts, type
Sensor: air_quality | fields: ts, reading, level, qc
Task: Fetch level from turbidity where depth exists in air_quality sensor data for the same qc.
Script: | readings = fetch(
node=Node("turbidity", code="thr"),
filter=set_member(
field="depth",
source=Probe("air_quality", code="prt"),
match="qc",
),
output="level",
) | {
"outer_table": "turbidity",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "depth",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011906 | train |
v2 | Sensor network script:
Node: snow_depth | code: gst | fields: ts, level, unit, lon
Sensor: visibility | fields: type, reading, level, lat
Task: Fetch depth from snow_depth that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("snow_depth", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "snow_depth",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011907 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: value, ts, lon, type
Sensor: soil_moisture | fields: reading, depth, qc, type
Task: Get lat from humidity where reading exceeds the average depth from soil_moisture for the same type.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "depth",
source=Probe("soil_moisture", code="grvl"),
match="type"),
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "stn.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011908 | train |
v3 | Sensor network script:
Node: frost | code: stn | fields: lat, ts, reading, level
Sensor: snow_depth | fields: level, lon, unit, lat
Task: Fetch level from frost where reading is greater than the maximum of value in snow_depth for matching unit.
Script: | readings = fetch(
node=Node("frost", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "value",
source=Probe("snow_depth", code="snw"),
match="unit"),
),
output="level",
) | {
"outer_table": "frost",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011909 | train |
v1 | Sensor network script:
Node: drought_index | code: hub | fields: type, level, value, lon
Sensor: frost | fields: qc, value, type, reading
Task: Fetch level from drought_index where unit exists in frost sensor data for the same unit.
Script: | readings = fetch(
node=Node("drought_index", code="hub"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="unit",
),
output="level",
) | {
"outer_table": "drought_index",
"inner_table": "frost",
"outer_alias": "hub",
"inner_alias": "frs",
"proj_col": "level",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011910 | train |
v2 | Sensor network script:
Node: evaporation | code: mst | fields: depth, level, type, lat
Sensor: uv_index | fields: lon, unit, depth, qc
Task: Get value from evaporation where a corresponding entry exists in uv_index with the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=has_match(
source=Probe("uv_index", code="flx"),
match="qc",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "uv_index",
"outer_alias": "mst",
"inner_alias": "flx",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011911 | train |
v3 | Sensor network script:
Node: sunlight | code: mst | fields: level, type, value, depth
Sensor: dew_point | fields: lat, lon, type, depth
Task: Get lat from sunlight where depth exceeds the minimum depth from dew_point for the same ts.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("dew_point", code="cnd"),
match="ts"),
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "dew_point",
"outer_alias": "mst",
"inner_alias": "cnd",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011912 | train |
v3 | Sensor network script:
Node: soil_moisture | code: hub | fields: depth, value, type, lon
Sensor: pressure | fields: ts, type, reading, depth
Task: Get reading from soil_moisture where depth exceeds the average reading from pressure for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011913 | train |
v3 | Sensor network script:
Node: air_quality | code: ref | fields: lon, lat, reading, type
Sensor: frost | fields: lat, reading, ts, type
Task: Get lat from air_quality where reading exceeds the count of reading from frost for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("frost", code="frs"),
match="depth"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "lat",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011914 | train |
v1 | Sensor network script:
Node: turbidity | code: stn | fields: depth, ts, level, qc
Sensor: lightning | fields: type, qc, depth, value
Task: Get reading from turbidity where qc appears in lightning readings with matching qc.
Script: | readings = fetch(
node=Node("turbidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("lightning", code="tnd"),
match="qc",
),
output="reading",
) | {
"outer_table": "turbidity",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011915 | train |
v1 | Sensor network script:
Node: air_quality | code: clr | fields: reading, ts, value, level
Sensor: uv_index | fields: lon, value, unit, ts
Task: Fetch depth from air_quality where depth exists in uv_index sensor data for the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="clr"),
filter=set_member(
field="depth",
source=Probe("uv_index", code="flx"),
match="unit",
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "uv_index",
"outer_alias": "clr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011916 | train |
v3 | Sensor network script:
Node: soil_moisture | code: stn | fields: value, lat, type, reading
Sensor: uv_index | fields: depth, type, ts, qc
Task: Retrieve lon from soil_moisture with value above the MAX(value) of uv_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "value",
source=Probe("uv_index", code="flx"),
match="unit"),
),
output="lon",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011917 | train |
v3 | Sensor network script:
Node: soil_moisture | code: thr | fields: ts, type, reading, depth
Sensor: uv_index | fields: reading, lon, unit, value
Task: Get depth from soil_moisture where depth exceeds the minimum depth from uv_index for the same depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011918 | train |
v3 | Sensor network script:
Node: air_quality | code: mst | fields: reading, ts, qc, level
Sensor: temperature | fields: type, ts, lon, value
Task: Get value from air_quality where reading exceeds the average value from temperature for the same qc.
Script: | readings = fetch(
node=Node("air_quality", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("AVG", "value",
source=Probe("temperature", code="thr"),
match="qc"),
),
output="value",
) | {
"outer_table": "air_quality",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011919 | train |
v2 | Sensor network script:
Node: evaporation | code: clr | fields: depth, unit, lat, reading
Sensor: dew_point | fields: value, depth, lon, ts
Task: Get lat from evaporation where a corresponding entry exists in dew_point with the same depth.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="lat",
) | {
"outer_table": "evaporation",
"inner_table": "dew_point",
"outer_alias": "clr",
"inner_alias": "cnd",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011920 | train |
v3 | Sensor network script:
Node: frost | code: thr | fields: unit, ts, lon, depth
Sensor: uv_index | fields: level, ts, value, lat
Task: Retrieve depth from frost with depth above the SUM(value) of uv_index readings sharing the same type.
Script: | readings = fetch(
node=Node("frost", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("uv_index", code="flx"),
match="type"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "uv_index",
"outer_alias": "thr",
"inner_alias": "flx",
"proj_col": "depth",
"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_011921 | train |
v3 | Sensor network script:
Node: air_quality | code: thr | fields: qc, lon, reading, depth
Sensor: visibility | fields: lon, type, unit, reading
Task: Retrieve depth from air_quality with depth above the AVG(depth) of visibility readings sharing the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="thr"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("visibility", code="clr"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011922 | train |
v3 | Sensor network script:
Node: evaporation | code: thr | fields: ts, lat, reading, qc
Sensor: air_quality | fields: qc, level, depth, unit
Task: Fetch level from evaporation where reading is greater than the total of reading in air_quality for matching qc.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "reading",
source=Probe("air_quality", code="prt"),
match="qc"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "air_quality",
"outer_alias": "thr",
"inner_alias": "prt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "thr.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011923 | train |
v2 | Sensor network script:
Node: dew_point | code: hub | fields: ts, reading, lon, value
Sensor: humidity | fields: unit, value, qc, level
Task: Get lon from dew_point where a corresponding entry exists in humidity with the same depth.
Script: | readings = fetch(
node=Node("dew_point", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="depth",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011924 | train |
v1 | Sensor network script:
Node: sunlight | code: hub | fields: lon, lat, depth, unit
Sensor: snow_depth | fields: level, reading, value, lat
Task: Retrieve lat from sunlight whose ts is found in snow_depth records where qc matches the outer node.
Script: | readings = fetch(
node=Node("sunlight", code="hub"),
filter=set_member(
field="ts",
source=Probe("snow_depth", code="snw"),
match="qc",
),
output="lat",
) | {
"outer_table": "sunlight",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011925 | train |
v2 | Sensor network script:
Node: pressure | code: stn | fields: lat, reading, ts, value
Sensor: air_quality | fields: unit, lat, value, depth
Task: Retrieve reading from pressure that have at least one matching reading in air_quality sharing the same ts.
Script: | readings = fetch(
node=Node("pressure", code="stn"),
filter=has_match(
source=Probe("air_quality", code="prt"),
match="ts",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "air_quality",
"outer_alias": "stn",
"inner_alias": "prt",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011926 | train |
v1 | Sensor network script:
Node: humidity | code: stn | fields: value, depth, qc, ts
Sensor: rainfall | fields: value, level, unit, type
Task: Get lon from humidity where qc appears in rainfall readings with matching qc.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=set_member(
field="qc",
source=Probe("rainfall", code="rnfl"),
match="qc",
),
output="lon",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "stn",
"inner_alias": "rnfl",
"proj_col": "lon",
"filter_col": "qc",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011927 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: lat, ts, unit, reading
Sensor: drought_index | fields: value, qc, level, type
Task: Get lon from air_quality where a corresponding entry exists in drought_index with the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="ts",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011928 | train |
v2 | Sensor network script:
Node: humidity | code: hub | fields: value, depth, ts, lon
Sensor: snow_depth | fields: ts, depth, level, lat
Task: Retrieve reading from humidity that have at least one matching reading in snow_depth sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "hub",
"inner_alias": "snw",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "hub.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011929 | train |
v1 | Sensor network script:
Node: lightning | code: prt | fields: value, type, ts, lat
Sensor: dew_point | fields: lat, reading, type, lon
Task: Retrieve value from lightning whose type is found in dew_point records where qc matches the outer node.
Script: | readings = fetch(
node=Node("lightning", code="prt"),
filter=set_member(
field="type",
source=Probe("dew_point", code="cnd"),
match="qc",
),
output="value",
) | {
"outer_table": "lightning",
"inner_table": "dew_point",
"outer_alias": "prt",
"inner_alias": "cnd",
"proj_col": "value",
"filter_col": "type",
"join_col": "qc",
"correlated_ref": "prt.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011930 | train |
v1 | Sensor network script:
Node: wind_speed | code: stn | fields: depth, reading, level, ts
Sensor: lightning | fields: unit, value, reading, type
Task: Get reading from wind_speed where depth appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="reading",
) | {
"outer_table": "wind_speed",
"inner_table": "lightning",
"outer_alias": "stn",
"inner_alias": "tnd",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011931 | train |
v3 | Sensor network script:
Node: air_quality | code: stn | fields: value, unit, ts, depth
Sensor: evaporation | fields: level, value, ts, type
Task: Fetch lat from air_quality where depth is greater than the average of reading in evaporation for matching unit.
Script: | readings = fetch(
node=Node("air_quality", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("evaporation", code="evp"),
match="unit"),
),
output="lat",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011932 | train |
v2 | Sensor network script:
Node: air_quality | code: gst | fields: type, depth, unit, lon
Sensor: lightning | fields: lon, value, level, reading
Task: Fetch reading from air_quality that have at least one corresponding lightning measurement for the same ts.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=has_match(
source=Probe("lightning", code="tnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "air_quality",
"inner_table": "lightning",
"outer_alias": "gst",
"inner_alias": "tnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "gst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011933 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: type, unit, ts, lat
Sensor: lightning | fields: lat, depth, unit, qc
Task: Fetch level from evaporation where depth is greater than the total of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "ref",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011934 | train |
v2 | Sensor network script:
Node: soil_moisture | code: stn | fields: reading, level, unit, lat
Sensor: sunlight | fields: ts, value, level, lat
Task: Fetch reading from soil_moisture that have at least one corresponding sunlight measurement for the same qc.
Script: | readings = fetch(
node=Node("soil_moisture", code="stn"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="qc",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "sunlight",
"outer_alias": "stn",
"inner_alias": "brt",
"proj_col": "reading",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011935 | train |
v3 | Sensor network script:
Node: uv_index | code: stn | fields: depth, reading, lon, qc
Sensor: cloud_cover | fields: lat, ts, value, level
Task: Retrieve value from uv_index with depth above the SUM(depth) of cloud_cover readings sharing the same qc.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "depth",
source=Probe("cloud_cover", code="nbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "cloud_cover",
"outer_alias": "stn",
"inner_alias": "nbl",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011936 | train |
v1 | Sensor network script:
Node: soil_moisture | code: clr | fields: depth, reading, lat, ts
Sensor: lightning | fields: value, ts, level, unit
Task: Get depth from soil_moisture where depth appears in lightning readings with matching depth.
Script: | readings = fetch(
node=Node("soil_moisture", code="clr"),
filter=set_member(
field="depth",
source=Probe("lightning", code="tnd"),
match="depth",
),
output="depth",
) | {
"outer_table": "soil_moisture",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "depth",
"correlated_ref": "clr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011937 | train |
v2 | Sensor network script:
Node: soil_moisture | code: hub | fields: lat, lon, type, qc
Sensor: humidity | fields: reading, unit, lon, level
Task: Get value from soil_moisture where a corresponding entry exists in humidity with the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="hub"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="type",
),
output="value",
) | {
"outer_table": "soil_moisture",
"inner_table": "humidity",
"outer_alias": "hub",
"inner_alias": "hgr",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011938 | train |
v1 | Sensor network script:
Node: pressure | code: thr | fields: depth, qc, unit, ts
Sensor: visibility | fields: type, ts, depth, unit
Task: Get lat from pressure where depth appears in visibility readings with matching type.
Script: | readings = fetch(
node=Node("pressure", code="thr"),
filter=set_member(
field="depth",
source=Probe("visibility", code="clr"),
match="type",
),
output="lat",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "thr.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011939 | train |
v3 | Sensor network script:
Node: evaporation | code: ref | fields: qc, lon, reading, level
Sensor: frost | fields: lon, lat, ts, value
Task: Retrieve value from evaporation with value above the AVG(reading) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=exceeds(
field="value",
threshold=aggregate("AVG", "reading",
source=Probe("frost", code="frs"),
match="qc"),
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "ref",
"inner_alias": "frs",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "ref.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011940 | train |
v1 | Sensor network script:
Node: frost | code: hub | fields: qc, lon, value, type
Sensor: wind_speed | fields: qc, lat, depth, reading
Task: Fetch depth from frost where type exists in wind_speed sensor data for the same depth.
Script: | readings = fetch(
node=Node("frost", code="hub"),
filter=set_member(
field="type",
source=Probe("wind_speed", code="gst"),
match="depth",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "wind_speed",
"outer_alias": "hub",
"inner_alias": "gst",
"proj_col": "depth",
"filter_col": "type",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011941 | train |
v2 | Sensor network script:
Node: humidity | code: ref | fields: lon, depth, level, value
Sensor: rainfall | fields: depth, level, unit, lat
Task: Get depth from humidity where a corresponding entry exists in rainfall with the same ts.
Script: | readings = fetch(
node=Node("humidity", code="ref"),
filter=has_match(
source=Probe("rainfall", code="rnfl"),
match="ts",
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "rainfall",
"outer_alias": "ref",
"inner_alias": "rnfl",
"proj_col": "depth",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011942 | train |
v3 | Sensor network script:
Node: temperature | code: hub | fields: level, lat, unit, depth
Sensor: air_quality | fields: depth, type, lon, ts
Task: Get value from temperature where reading exceeds the count of reading from air_quality for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
source=Probe("air_quality", code="prt"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "hub",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "depth",
"correlated_ref": "hub.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011943 | train |
v3 | Sensor network script:
Node: frost | code: prt | fields: depth, ts, value, level
Sensor: soil_moisture | fields: qc, lon, level, depth
Task: Retrieve depth from frost with reading above the MIN(depth) of soil_moisture readings sharing the same ts.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=exceeds(
field="reading",
threshold=aggregate("MIN", "depth",
source=Probe("soil_moisture", code="grvl"),
match="ts"),
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "soil_moisture",
"outer_alias": "prt",
"inner_alias": "grvl",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011944 | train |
v2 | Sensor network script:
Node: turbidity | code: ref | fields: lat, unit, value, reading
Sensor: dew_point | fields: lon, level, lat, unit
Task: Retrieve value from turbidity that have at least one matching reading in dew_point sharing the same depth.
Script: | readings = fetch(
node=Node("turbidity", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="depth",
),
output="value",
) | {
"outer_table": "turbidity",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "value",
"join_col": "depth",
"correlated_ref": "ref.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011945 | train |
v2 | Sensor network script:
Node: humidity | code: thr | fields: depth, unit, lat, ts
Sensor: pressure | fields: lon, level, depth, lat
Task: Retrieve reading from humidity that have at least one matching reading in pressure sharing the same ts.
Script: | readings = fetch(
node=Node("humidity", code="thr"),
filter=has_match(
source=Probe("pressure", code="mbl"),
match="ts",
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "thr",
"inner_alias": "mbl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011946 | train |
v2 | Sensor network script:
Node: humidity | code: prt | fields: reading, unit, value, type
Sensor: visibility | fields: depth, reading, lat, level
Task: Fetch lat from humidity that have at least one corresponding visibility measurement for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="prt"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "humidity",
"inner_table": "visibility",
"outer_alias": "prt",
"inner_alias": "clr",
"proj_col": "lat",
"join_col": "ts",
"correlated_ref": "prt.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011947 | train |
v3 | Sensor network script:
Node: temperature | code: stn | fields: value, lat, type, unit
Sensor: uv_index | fields: lat, depth, value, reading
Task: Get value from temperature where depth exceeds the average reading from uv_index for the same depth.
Script: | readings = fetch(
node=Node("temperature", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "reading",
source=Probe("uv_index", code="flx"),
match="depth"),
),
output="value",
) | {
"outer_table": "temperature",
"inner_table": "uv_index",
"outer_alias": "stn",
"inner_alias": "flx",
"proj_col": "value",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "AVG",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011948 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, unit, ts, type
Sensor: cloud_cover | fields: level, unit, value, ts
Task: Retrieve lon from rainfall with value above the COUNT(value) of cloud_cover readings sharing the same ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "rainfall",
"inner_table": "cloud_cover",
"outer_alias": "mst",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011949 | train |
v2 | Sensor network script:
Node: uv_index | code: gst | fields: ts, depth, unit, value
Sensor: sunlight | fields: reading, qc, type, ts
Task: Fetch value from uv_index that have at least one corresponding sunlight measurement for the same type.
Script: | readings = fetch(
node=Node("uv_index", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "value",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011950 | train |
v3 | Sensor network script:
Node: evaporation | code: clr | fields: qc, lon, depth, reading
Sensor: lightning | fields: reading, lat, type, qc
Task: Fetch level from evaporation where value is greater than the total of depth in lightning for matching unit.
Script: | readings = fetch(
node=Node("evaporation", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("lightning", code="tnd"),
match="unit"),
),
output="level",
) | {
"outer_table": "evaporation",
"inner_table": "lightning",
"outer_alias": "clr",
"inner_alias": "tnd",
"proj_col": "level",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011951 | train |
v2 | Sensor network script:
Node: soil_moisture | code: mst | fields: lon, depth, type, value
Sensor: frost | fields: lat, level, value, depth
Task: Fetch lat from soil_moisture that have at least one corresponding frost measurement for the same type.
Script: | readings = fetch(
node=Node("soil_moisture", code="mst"),
filter=has_match(
source=Probe("frost", code="frs"),
match="type",
),
output="lat",
) | {
"outer_table": "soil_moisture",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "lat",
"join_col": "type",
"correlated_ref": "mst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011952 | train |
v1 | Sensor network script:
Node: frost | code: ref | fields: value, reading, qc, ts
Sensor: sunlight | fields: value, lat, reading, ts
Task: Retrieve lon from frost whose type is found in sunlight records where type matches the outer node.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="type",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "sunlight",
"outer_alias": "ref",
"inner_alias": "brt",
"proj_col": "lon",
"filter_col": "type",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011953 | train |
v3 | Sensor network script:
Node: sunlight | code: ref | fields: ts, level, depth, type
Sensor: temperature | fields: ts, lat, value, qc
Task: Retrieve reading from sunlight with reading above the SUM(value) of temperature readings sharing the same type.
Script: | readings = fetch(
node=Node("sunlight", code="ref"),
filter=exceeds(
field="reading",
threshold=aggregate("SUM", "value",
source=Probe("temperature", code="thr"),
match="type"),
),
output="reading",
) | {
"outer_table": "sunlight",
"inner_table": "temperature",
"outer_alias": "ref",
"inner_alias": "thr",
"proj_col": "reading",
"filter_col": "reading",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011954 | train |
v1 | Sensor network script:
Node: rainfall | code: thr | fields: depth, reading, lat, type
Sensor: frost | fields: type, unit, value, ts
Task: Get reading from rainfall where unit appears in frost readings with matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="thr"),
filter=set_member(
field="unit",
source=Probe("frost", code="frs"),
match="ts",
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "frost",
"outer_alias": "thr",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011955 | train |
v2 | Sensor network script:
Node: evaporation | code: ref | fields: qc, level, value, ts
Sensor: soil_moisture | fields: unit, depth, type, lat
Task: Retrieve reading from evaporation that have at least one matching reading in soil_moisture sharing the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="ref"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "ref",
"inner_alias": "grvl",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011956 | train |
v2 | Sensor network script:
Node: uv_index | code: hub | fields: qc, value, ts, reading
Sensor: temperature | fields: ts, unit, level, qc
Task: Retrieve reading from uv_index that have at least one matching reading in temperature sharing the same type.
Script: | readings = fetch(
node=Node("uv_index", code="hub"),
filter=has_match(
source=Probe("temperature", code="thr"),
match="type",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "temperature",
"outer_alias": "hub",
"inner_alias": "thr",
"proj_col": "reading",
"join_col": "type",
"correlated_ref": "hub.type",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011957 | train |
v3 | Sensor network script:
Node: pressure | code: clr | fields: value, reading, qc, type
Sensor: drought_index | fields: type, ts, lon, reading
Task: Retrieve reading from pressure with value above the COUNT(value) of drought_index readings sharing the same type.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("drought_index", code="drt"),
match="type"),
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "drought_index",
"outer_alias": "clr",
"inner_alias": "drt",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011958 | train |
v1 | Sensor network script:
Node: temperature | code: ref | fields: lat, reading, value, depth
Sensor: air_quality | fields: qc, depth, ts, lon
Task: Retrieve depth from temperature whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="ref"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "air_quality",
"outer_alias": "ref",
"inner_alias": "prt",
"proj_col": "depth",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011959 | train |
v2 | Sensor network script:
Node: dew_point | code: prt | fields: value, unit, qc, type
Sensor: drought_index | fields: type, level, ts, qc
Task: Get lon from dew_point where a corresponding entry exists in drought_index with the same unit.
Script: | readings = fetch(
node=Node("dew_point", code="prt"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="unit",
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011960 | train |
v2 | Sensor network script:
Node: evaporation | code: stn | fields: value, lon, depth, type
Sensor: soil_moisture | fields: lon, type, qc, level
Task: Fetch lon from evaporation that have at least one corresponding soil_moisture measurement for the same qc.
Script: | readings = fetch(
node=Node("evaporation", code="stn"),
filter=has_match(
source=Probe("soil_moisture", code="grvl"),
match="qc",
),
output="lon",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "stn",
"inner_alias": "grvl",
"proj_col": "lon",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011961 | train |
v2 | Sensor network script:
Node: sunlight | code: mst | fields: unit, value, qc, lat
Sensor: humidity | fields: ts, qc, value, lat
Task: Get depth from sunlight where a corresponding entry exists in humidity with the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="mst"),
filter=has_match(
source=Probe("humidity", code="hgr"),
match="qc",
),
output="depth",
) | {
"outer_table": "sunlight",
"inner_table": "humidity",
"outer_alias": "mst",
"inner_alias": "hgr",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011962 | train |
v1 | Sensor network script:
Node: temperature | code: mst | fields: ts, unit, reading, depth
Sensor: snow_depth | fields: unit, level, reading, lat
Task: Retrieve lat from temperature whose type is found in snow_depth records where ts matches the outer node.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=set_member(
field="type",
source=Probe("snow_depth", code="snw"),
match="ts",
),
output="lat",
) | {
"outer_table": "temperature",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "lat",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011963 | train |
v1 | Sensor network script:
Node: wind_speed | code: thr | fields: qc, lat, unit, type
Sensor: sunlight | fields: depth, type, ts, lon
Task: Get value from wind_speed where ts appears in sunlight readings with matching depth.
Script: | readings = fetch(
node=Node("wind_speed", code="thr"),
filter=set_member(
field="ts",
source=Probe("sunlight", code="brt"),
match="depth",
),
output="value",
) | {
"outer_table": "wind_speed",
"inner_table": "sunlight",
"outer_alias": "thr",
"inner_alias": "brt",
"proj_col": "value",
"filter_col": "ts",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011964 | train |
v2 | Sensor network script:
Node: temperature | code: mst | fields: value, qc, reading, ts
Sensor: sunlight | fields: lat, type, reading, level
Task: Retrieve lon from temperature that have at least one matching reading in sunlight sharing the same depth.
Script: | readings = fetch(
node=Node("temperature", code="mst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="depth",
),
output="lon",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "mst",
"inner_alias": "brt",
"proj_col": "lon",
"join_col": "depth",
"correlated_ref": "mst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011965 | train |
v1 | Sensor network script:
Node: soil_moisture | code: thr | fields: lat, ts, type, level
Sensor: wind_speed | fields: value, qc, lat, level
Task: Fetch reading from soil_moisture where depth exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("soil_moisture", code="thr"),
filter=set_member(
field="depth",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="reading",
) | {
"outer_table": "soil_moisture",
"inner_table": "wind_speed",
"outer_alias": "thr",
"inner_alias": "gst",
"proj_col": "reading",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "thr.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011966 | train |
v2 | Sensor network script:
Node: wind_speed | code: gst | fields: type, value, lat, depth
Sensor: drought_index | fields: type, lat, value, qc
Task: Fetch lat from wind_speed that have at least one corresponding drought_index measurement for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="gst"),
filter=has_match(
source=Probe("drought_index", code="drt"),
match="depth",
),
output="lat",
) | {
"outer_table": "wind_speed",
"inner_table": "drought_index",
"outer_alias": "gst",
"inner_alias": "drt",
"proj_col": "lat",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011967 | train |
v3 | Sensor network script:
Node: humidity | code: stn | fields: value, reading, unit, qc
Sensor: snow_depth | fields: qc, lon, depth, value
Task: Retrieve reading from humidity with depth above the MAX(reading) of snow_depth readings sharing the same depth.
Script: | readings = fetch(
node=Node("humidity", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "reading",
source=Probe("snow_depth", code="snw"),
match="depth"),
),
output="reading",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "stn",
"inner_alias": "snw",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011968 | train |
v1 | Sensor network script:
Node: frost | code: prt | fields: lat, lon, type, depth
Sensor: drought_index | fields: lat, depth, qc, reading
Task: Fetch depth from frost where depth exists in drought_index sensor data for the same type.
Script: | readings = fetch(
node=Node("frost", code="prt"),
filter=set_member(
field="depth",
source=Probe("drought_index", code="drt"),
match="type",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "drought_index",
"outer_alias": "prt",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "prt.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011969 | train |
v2 | Sensor network script:
Node: air_quality | code: prt | fields: unit, lat, type, qc
Sensor: evaporation | fields: value, depth, level, reading
Task: Get lon from air_quality where a corresponding entry exists in evaporation with the same unit.
Script: | readings = fetch(
node=Node("air_quality", code="prt"),
filter=has_match(
source=Probe("evaporation", code="evp"),
match="unit",
),
output="lon",
) | {
"outer_table": "air_quality",
"inner_table": "evaporation",
"outer_alias": "prt",
"inner_alias": "evp",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "prt.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011970 | train |
v2 | Sensor network script:
Node: uv_index | code: stn | fields: level, lat, depth, lon
Sensor: dew_point | fields: type, unit, depth, lat
Task: Get reading from uv_index where a corresponding entry exists in dew_point with the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="ts",
),
output="reading",
) | {
"outer_table": "uv_index",
"inner_table": "dew_point",
"outer_alias": "stn",
"inner_alias": "cnd",
"proj_col": "reading",
"join_col": "ts",
"correlated_ref": "stn.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011971 | train |
v2 | Sensor network script:
Node: frost | code: mst | fields: lat, value, depth, lon
Sensor: turbidity | fields: ts, unit, lon, value
Task: Retrieve depth from frost that have at least one matching reading in turbidity sharing the same qc.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=has_match(
source=Probe("turbidity", code="ftu"),
match="qc",
),
output="depth",
) | {
"outer_table": "frost",
"inner_table": "turbidity",
"outer_alias": "mst",
"inner_alias": "ftu",
"proj_col": "depth",
"join_col": "qc",
"correlated_ref": "mst.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011972 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: depth, unit, qc, reading
Sensor: sunlight | fields: lon, ts, value, unit
Task: Fetch depth from uv_index where type exists in sunlight sensor data for the same ts.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="type",
source=Probe("sunlight", code="brt"),
match="ts",
),
output="depth",
) | {
"outer_table": "uv_index",
"inner_table": "sunlight",
"outer_alias": "clr",
"inner_alias": "brt",
"proj_col": "depth",
"filter_col": "type",
"join_col": "ts",
"correlated_ref": "clr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011973 | train |
v3 | Sensor network script:
Node: rainfall | code: mst | fields: depth, lat, qc, unit
Sensor: pressure | fields: lon, reading, qc, type
Task: Fetch reading from rainfall where depth is greater than the minimum of depth in pressure for matching ts.
Script: | readings = fetch(
node=Node("rainfall", code="mst"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "depth",
source=Probe("pressure", code="mbl"),
match="ts"),
),
output="reading",
) | {
"outer_table": "rainfall",
"inner_table": "pressure",
"outer_alias": "mst",
"inner_alias": "mbl",
"proj_col": "reading",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "MIN",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011974 | train |
v1 | Sensor network script:
Node: uv_index | code: stn | fields: level, lat, type, ts
Sensor: wind_speed | fields: reading, value, ts, unit
Task: Fetch value from uv_index where ts exists in wind_speed sensor data for the same unit.
Script: | readings = fetch(
node=Node("uv_index", code="stn"),
filter=set_member(
field="ts",
source=Probe("wind_speed", code="gst"),
match="unit",
),
output="value",
) | {
"outer_table": "uv_index",
"inner_table": "wind_speed",
"outer_alias": "stn",
"inner_alias": "gst",
"proj_col": "value",
"filter_col": "ts",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011975 | train |
v3 | Sensor network script:
Node: wind_speed | code: stn | fields: type, qc, level, lat
Sensor: evaporation | fields: qc, level, lon, type
Task: Get depth from wind_speed where depth exceeds the total reading from evaporation for the same depth.
Script: | readings = fetch(
node=Node("wind_speed", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "reading",
source=Probe("evaporation", code="evp"),
match="depth"),
),
output="depth",
) | {
"outer_table": "wind_speed",
"inner_table": "evaporation",
"outer_alias": "stn",
"inner_alias": "evp",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "reading",
"agg_fn": "SUM",
"join_col": "depth",
"correlated_ref": "stn.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011976 | train |
v1 | Sensor network script:
Node: uv_index | code: clr | fields: reading, type, ts, unit
Sensor: soil_moisture | fields: unit, lon, value, reading
Task: Get lat from uv_index where depth appears in soil_moisture readings with matching unit.
Script: | readings = fetch(
node=Node("uv_index", code="clr"),
filter=set_member(
field="depth",
source=Probe("soil_moisture", code="grvl"),
match="unit",
),
output="lat",
) | {
"outer_table": "uv_index",
"inner_table": "soil_moisture",
"outer_alias": "clr",
"inner_alias": "grvl",
"proj_col": "lat",
"filter_col": "depth",
"join_col": "unit",
"correlated_ref": "clr.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011977 | train |
v1 | Sensor network script:
Node: lightning | code: mst | fields: lon, lat, qc, type
Sensor: visibility | fields: qc, ts, depth, reading
Task: Get lat from lightning where ts appears in visibility readings with matching ts.
Script: | readings = fetch(
node=Node("lightning", code="mst"),
filter=set_member(
field="ts",
source=Probe("visibility", code="clr"),
match="ts",
),
output="lat",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "mst",
"inner_alias": "clr",
"proj_col": "lat",
"filter_col": "ts",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011978 | train |
v1 | Sensor network script:
Node: pressure | code: clr | fields: type, ts, level, qc
Sensor: evaporation | fields: qc, unit, lon, level
Task: Retrieve level from pressure whose depth is found in evaporation records where type matches the outer node.
Script: | readings = fetch(
node=Node("pressure", code="clr"),
filter=set_member(
field="depth",
source=Probe("evaporation", code="evp"),
match="type",
),
output="level",
) | {
"outer_table": "pressure",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "level",
"filter_col": "depth",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011979 | train |
v2 | Sensor network script:
Node: pressure | code: ref | fields: lat, lon, type, unit
Sensor: visibility | fields: lat, reading, qc, level
Task: Fetch reading from pressure that have at least one corresponding visibility measurement for the same unit.
Script: | readings = fetch(
node=Node("pressure", code="ref"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="unit",
),
output="reading",
) | {
"outer_table": "pressure",
"inner_table": "visibility",
"outer_alias": "ref",
"inner_alias": "clr",
"proj_col": "reading",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011980 | train |
v3 | Sensor network script:
Node: cloud_cover | code: stn | fields: level, type, lat, qc
Sensor: frost | fields: ts, lon, level, type
Task: Retrieve depth from cloud_cover with depth above the AVG(depth) of frost readings sharing the same qc.
Script: | readings = fetch(
node=Node("cloud_cover", code="stn"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("frost", code="frs"),
match="qc"),
),
output="depth",
) | {
"outer_table": "cloud_cover",
"inner_table": "frost",
"outer_alias": "stn",
"inner_alias": "frs",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "qc",
"correlated_ref": "stn.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011981 | train |
v3 | Sensor network script:
Node: humidity | code: mst | fields: reading, lon, type, qc
Sensor: drought_index | fields: unit, lon, reading, depth
Task: Get level from humidity where reading exceeds the maximum reading from drought_index for the same ts.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "reading",
source=Probe("drought_index", code="drt"),
match="ts"),
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "mst",
"inner_alias": "drt",
"proj_col": "level",
"filter_col": "reading",
"agg_col": "reading",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011982 | train |
v3 | Sensor network script:
Node: wind_speed | code: hub | fields: reading, lon, ts, level
Sensor: visibility | fields: value, depth, type, qc
Task: Retrieve level from wind_speed with depth above the MIN(value) of visibility readings sharing the same unit.
Script: | readings = fetch(
node=Node("wind_speed", code="hub"),
filter=exceeds(
field="depth",
threshold=aggregate("MIN", "value",
source=Probe("visibility", code="clr"),
match="unit"),
),
output="level",
) | {
"outer_table": "wind_speed",
"inner_table": "visibility",
"outer_alias": "hub",
"inner_alias": "clr",
"proj_col": "level",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MIN",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011983 | train |
v3 | Sensor network script:
Node: air_quality | code: gst | fields: reading, ts, type, qc
Sensor: cloud_cover | fields: lon, qc, type, unit
Task: Get depth from air_quality where depth exceeds the maximum value from cloud_cover for the same depth.
Script: | readings = fetch(
node=Node("air_quality", code="gst"),
filter=exceeds(
field="depth",
threshold=aggregate("MAX", "value",
source=Probe("cloud_cover", code="nbl"),
match="depth"),
),
output="depth",
) | {
"outer_table": "air_quality",
"inner_table": "cloud_cover",
"outer_alias": "gst",
"inner_alias": "nbl",
"proj_col": "depth",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "MAX",
"join_col": "depth",
"correlated_ref": "gst.depth",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011984 | train |
v3 | Sensor network script:
Node: cloud_cover | code: ref | fields: qc, type, lat, reading
Sensor: evaporation | fields: lat, level, value, depth
Task: Fetch lat from cloud_cover where depth is greater than the average of depth in evaporation for matching type.
Script: | readings = fetch(
node=Node("cloud_cover", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("AVG", "depth",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="lat",
) | {
"outer_table": "cloud_cover",
"inner_table": "evaporation",
"outer_alias": "ref",
"inner_alias": "evp",
"proj_col": "lat",
"filter_col": "depth",
"agg_col": "depth",
"agg_fn": "AVG",
"join_col": "type",
"correlated_ref": "ref.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011985 | train |
v3 | Sensor network script:
Node: frost | code: mst | fields: reading, unit, depth, lat
Sensor: temperature | fields: qc, unit, value, reading
Task: Fetch lat from frost where value is greater than the total of depth in temperature for matching ts.
Script: | readings = fetch(
node=Node("frost", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("SUM", "depth",
source=Probe("temperature", code="thr"),
match="ts"),
),
output="lat",
) | {
"outer_table": "frost",
"inner_table": "temperature",
"outer_alias": "mst",
"inner_alias": "thr",
"proj_col": "lat",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011986 | train |
v2 | Sensor network script:
Node: lightning | code: thr | fields: unit, level, qc, ts
Sensor: visibility | fields: lat, type, unit, qc
Task: Fetch depth from lightning that have at least one corresponding visibility measurement for the same depth.
Script: | readings = fetch(
node=Node("lightning", code="thr"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="depth",
),
output="depth",
) | {
"outer_table": "lightning",
"inner_table": "visibility",
"outer_alias": "thr",
"inner_alias": "clr",
"proj_col": "depth",
"join_col": "depth",
"correlated_ref": "thr.depth",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011987 | train |
v2 | Sensor network script:
Node: frost | code: ref | fields: unit, depth, qc, type
Sensor: dew_point | fields: ts, qc, unit, lon
Task: Fetch lon from frost that have at least one corresponding dew_point measurement for the same unit.
Script: | readings = fetch(
node=Node("frost", code="ref"),
filter=has_match(
source=Probe("dew_point", code="cnd"),
match="unit",
),
output="lon",
) | {
"outer_table": "frost",
"inner_table": "dew_point",
"outer_alias": "ref",
"inner_alias": "cnd",
"proj_col": "lon",
"join_col": "unit",
"correlated_ref": "ref.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011988 | train |
v2 | Sensor network script:
Node: sunlight | code: gst | fields: type, reading, lon, level
Sensor: visibility | fields: type, lat, qc, unit
Task: Fetch value from sunlight that have at least one corresponding visibility measurement for the same qc.
Script: | readings = fetch(
node=Node("sunlight", code="gst"),
filter=has_match(
source=Probe("visibility", code="clr"),
match="qc",
),
output="value",
) | {
"outer_table": "sunlight",
"inner_table": "visibility",
"outer_alias": "gst",
"inner_alias": "clr",
"proj_col": "value",
"join_col": "qc",
"correlated_ref": "gst.qc",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011989 | train |
v3 | Sensor network script:
Node: evaporation | code: mst | fields: unit, lon, qc, ts
Sensor: frost | fields: lat, value, type, qc
Task: Get reading from evaporation where value exceeds the maximum depth from frost for the same ts.
Script: | readings = fetch(
node=Node("evaporation", code="mst"),
filter=exceeds(
field="value",
threshold=aggregate("MAX", "depth",
source=Probe("frost", code="frs"),
match="ts"),
),
output="reading",
) | {
"outer_table": "evaporation",
"inner_table": "frost",
"outer_alias": "mst",
"inner_alias": "frs",
"proj_col": "reading",
"filter_col": "value",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "ts",
"correlated_ref": "mst.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011990 | train |
v3 | Sensor network script:
Node: visibility | code: stn | fields: reading, depth, unit, lon
Sensor: soil_moisture | fields: lon, reading, depth, qc
Task: Retrieve level from visibility with reading above the COUNT(reading) of soil_moisture readings sharing the same unit.
Script: | readings = fetch(
node=Node("visibility", code="stn"),
filter=exceeds(
field="reading",
threshold=aggregate("COUNT", "reading",
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": "reading",
"agg_col": "reading",
"agg_fn": "COUNT",
"join_col": "unit",
"correlated_ref": "stn.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011991 | train |
v2 | Sensor network script:
Node: humidity | code: mst | fields: lon, value, unit, level
Sensor: snow_depth | fields: ts, lat, reading, type
Task: Get level from humidity where a corresponding entry exists in snow_depth with the same unit.
Script: | readings = fetch(
node=Node("humidity", code="mst"),
filter=has_match(
source=Probe("snow_depth", code="snw"),
match="unit",
),
output="level",
) | {
"outer_table": "humidity",
"inner_table": "snow_depth",
"outer_alias": "mst",
"inner_alias": "snw",
"proj_col": "level",
"join_col": "unit",
"correlated_ref": "mst.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011992 | train |
v2 | Sensor network script:
Node: temperature | code: gst | fields: unit, value, lon, ts
Sensor: sunlight | fields: value, unit, type, level
Task: Retrieve depth from temperature that have at least one matching reading in sunlight sharing the same type.
Script: | readings = fetch(
node=Node("temperature", code="gst"),
filter=has_match(
source=Probe("sunlight", code="brt"),
match="type",
),
output="depth",
) | {
"outer_table": "temperature",
"inner_table": "sunlight",
"outer_alias": "gst",
"inner_alias": "brt",
"proj_col": "depth",
"join_col": "type",
"correlated_ref": "gst.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011993 | train |
v3 | Sensor network script:
Node: dew_point | code: ref | fields: reading, type, qc, depth
Sensor: cloud_cover | fields: qc, lon, ts, level
Task: Get lon from dew_point where depth exceeds the total value from cloud_cover for the same ts.
Script: | readings = fetch(
node=Node("dew_point", code="ref"),
filter=exceeds(
field="depth",
threshold=aggregate("SUM", "value",
source=Probe("cloud_cover", code="nbl"),
match="ts"),
),
output="lon",
) | {
"outer_table": "dew_point",
"inner_table": "cloud_cover",
"outer_alias": "ref",
"inner_alias": "nbl",
"proj_col": "lon",
"filter_col": "depth",
"agg_col": "value",
"agg_fn": "SUM",
"join_col": "ts",
"correlated_ref": "ref.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011994 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: ts, level, type, lat
Sensor: pressure | fields: qc, level, ts, unit
Task: Fetch value from humidity where value is greater than the count of of value in pressure for matching qc.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="value",
threshold=aggregate("COUNT", "value",
source=Probe("pressure", code="mbl"),
match="qc"),
),
output="value",
) | {
"outer_table": "humidity",
"inner_table": "pressure",
"outer_alias": "hub",
"inner_alias": "mbl",
"proj_col": "value",
"filter_col": "value",
"agg_col": "value",
"agg_fn": "COUNT",
"join_col": "qc",
"correlated_ref": "hub.qc",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011995 | train |
v1 | Sensor network script:
Node: cloud_cover | code: gst | fields: level, value, qc, lat
Sensor: air_quality | fields: value, type, lat, ts
Task: Retrieve value from cloud_cover whose unit is found in air_quality records where unit matches the outer node.
Script: | readings = fetch(
node=Node("cloud_cover", code="gst"),
filter=set_member(
field="unit",
source=Probe("air_quality", code="prt"),
match="unit",
),
output="value",
) | {
"outer_table": "cloud_cover",
"inner_table": "air_quality",
"outer_alias": "gst",
"inner_alias": "prt",
"proj_col": "value",
"filter_col": "unit",
"join_col": "unit",
"correlated_ref": "gst.unit",
"token_group": "T1",
"fan_out": 1
} | sensor_fixed_v1_train_011996 | train |
v1 | Sensor network script:
Node: evaporation | code: thr | fields: type, reading, unit, level
Sensor: soil_moisture | fields: lat, depth, ts, reading
Task: Retrieve value from evaporation whose unit is found in soil_moisture records where ts matches the outer node.
Script: | readings = fetch(
node=Node("evaporation", code="thr"),
filter=set_member(
field="unit",
source=Probe("soil_moisture", code="grvl"),
match="ts",
),
output="value",
) | {
"outer_table": "evaporation",
"inner_table": "soil_moisture",
"outer_alias": "thr",
"inner_alias": "grvl",
"proj_col": "value",
"filter_col": "unit",
"join_col": "ts",
"correlated_ref": "thr.ts",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011997 | train |
v3 | Sensor network script:
Node: humidity | code: hub | fields: type, value, lat, reading
Sensor: drought_index | fields: unit, value, ts, reading
Task: Retrieve depth from humidity with reading above the MAX(depth) of drought_index readings sharing the same unit.
Script: | readings = fetch(
node=Node("humidity", code="hub"),
filter=exceeds(
field="reading",
threshold=aggregate("MAX", "depth",
source=Probe("drought_index", code="drt"),
match="unit"),
),
output="depth",
) | {
"outer_table": "humidity",
"inner_table": "drought_index",
"outer_alias": "hub",
"inner_alias": "drt",
"proj_col": "depth",
"filter_col": "reading",
"agg_col": "depth",
"agg_fn": "MAX",
"join_col": "unit",
"correlated_ref": "hub.unit",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011998 | train |
v3 | Sensor network script:
Node: drought_index | code: clr | fields: value, lon, level, depth
Sensor: evaporation | fields: reading, lat, type, depth
Task: Get value from drought_index where value exceeds the minimum reading from evaporation for the same type.
Script: | readings = fetch(
node=Node("drought_index", code="clr"),
filter=exceeds(
field="value",
threshold=aggregate("MIN", "reading",
source=Probe("evaporation", code="evp"),
match="type"),
),
output="value",
) | {
"outer_table": "drought_index",
"inner_table": "evaporation",
"outer_alias": "clr",
"inner_alias": "evp",
"proj_col": "value",
"filter_col": "value",
"agg_col": "reading",
"agg_fn": "MIN",
"join_col": "type",
"correlated_ref": "clr.type",
"token_group": "T2",
"fan_out": null
} | sensor_fixed_v1_train_011999 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.